@charset "utf-8";
@import url('https://fonts.cdnfonts.com/css/gotham');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&family=Work+Sans:wght@100;200&display=swap');

*:where(:not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)) {
    all: unset;
    display: revert;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

button {
    cursor: revert;
}

ol,
ul,
menu {
    list-style: none;
}

img {
    max-inline-size: 100%;
    max-block-size: 100%;
}

table {
    border-collapse: collapse;
}

input,
textarea {
    -webkit-user-select: auto;
    user-select: auto;
}

textarea {
    white-space: revert;
}

meter {
    -webkit-appearance: revert;
    appearance: revert;
}

:where(pre) {
    all: revert;
}

::placeholder {
    color: #9b9b9b;
}

::marker {
    content: initial;
}

:where([hidden]) {
    display: none;
}

:where([contenteditable]:not([contenteditable="false"])) {
    -moz-user-modify: read-write;
    -webkit-user-modify: read-write;
    overflow-wrap: break-word;
    -webkit-line-break: after-white-space;
    line-break: after-white-space;
    -webkit-user-select: auto;
    user-select: auto;
}

:where([draggable="true"]) {
    -webkit-user-drag: element;
}

:where(dialog:modal) {
    all: revert;
    display: none;
}
:root {
    --blue: #166bc5;
    --blue-dark: #274689;
    --dark: #000000;
    --white: #ffffff;
    --muted: #888889;
    --max-width: 130rem;
    --font-poppins: 'Poppins', sans-serif;
    --font-montserrat: 'Montserrat', sans-serif;
    --font-gotham: 'Gotham', sans-serif;
}

html {
    font-size: 10px;
    scroll-behavior: smooth;
}

body {
    font-size: 1.4rem;
    line-height: 1;
    color: var(--dark);
    font-family: var(--font-montserrat), var(--font-gotham), var(--font-poppins);
    font-weight: 300;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100%;
}

a,
button {
    cursor: revert;
}

a {
    color: var(--dark);
    text-decoration: none;
}

a:hover,
a:focus {
    color: var(--dark);
    text-decoration: none;
    outline: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.1;
    font-family: var(--font-montserrat);
    font-weight: normal;
}

strong,
b {
    font-weight: bold;
}

p:last-child {
    margin-bottom: 0 !important;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header: topbar + navbar */
.topbar {
    background: var(--white);
    border-bottom: 1px solid #f0f0f0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.logo-mark {
    width: 30rem;
    height: 7.5rem;
    flex: 0 0 30rem;
}

.logo-mark img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 3rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    color: var(--muted);
}

.contact-info .icon {
    width: 4.8rem;
    height: 4.8rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f6f9fc;
    border: 1px solid #eef4fb;
    font-size: 1.8rem;
}

.contact-info .icon img {
    width: 2.8rem;
    height: 2.8rem;
    display: block;
}

.contact-info .info {
    display: flex;
    flex-direction: column;
    font-size: 2rem;
}

/* show multiple location spans side-by-side */
.contact-info .info .locations {
    display: inline-flex;
    flex-direction: row;
    gap: 1.8rem;
    align-items: center;
    margin-top: 0.4rem;
}

@media (max-width: 760px) {
    .contact-info .info .locations { flex-direction: column; gap: 6px; }
}

.contact-info .info strong {
    font-family: var(--font-montserrat);
    font-size: 1.4rem;
    color: var(--dark);
    font-weight: 600;
}

.contact-info .info span {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--muted);
    margin-top: 0.2rem;
}

/* Header: make contact links muted color */
.topbar .contact-info a {
    color: var(--muted);
    text-decoration: none;
}
.topbar .contact-info a:hover,
.topbar .contact-info a:focus {
    color: var(--dark);
    text-decoration: none;
}

/* Footer: make links white for contrast on dark footer */
.site-footer a {
    color: var(--white);
    text-decoration: none;
}
.site-footer a:hover,
.site-footer a:focus {
    color: var(--white);
    opacity: 0.92;
    text-decoration: none;
}

/* Alinear iconos y contenidos del header al inicio (arriba) */
.topbar .contact-info {
    align-items: flex-start;
}
.topbar .contact-info li {
    align-items: flex-start;
}
.topbar .contact-info .icon {
    align-self: flex-start;
    margin-top: 4px;
}
.topbar .contact-info .info {
    align-items: flex-start;
}

/* Footer: on mobile hide the large left location image and show
   the placeholder before each address line so both have identical icons */
@media (max-width: 760px) {
    .footer-top .footer-contact ul li:first-child > img { display: none !important; }

    .footer-top .footer-contact .contact-lines > div {
        display: block;
        position: relative;
        padding-left: 36px;
        margin-bottom: 6px;
        color: var(--white);
        font-size: 1.6rem;
    }

    .footer-top .footer-contact .contact-lines > div::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 26px;
        height: 26px;
        background-image: url("../images/placeholder.png");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
}

.navbar {
    background: var(--blue);
    height: 7rem;
}

.nav-inner {
    height: 7rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2.6rem;
    list-style: none;
    margin: 0;
    padding: 1.4rem 0;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.6px;
    padding: 0.8rem 0.6rem;
}

.nav-links a:hover {
    opacity: 0.92;
}

/* Hero */
.hero {
    padding: 6.4rem 0 8rem;
    background: var(--white);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 48rem;
    gap: 4.8rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 5rem;
    line-height: 1.2;
    margin: 0 0 1.8rem;
    color: var(--dark);
    font-weight: 700;
    text-align: center;
}

.hero-content .lead {
    color: var(--muted);
    font-size: 2.2rem;
    line-height: 1.2;
    max-width: 56rem;
    margin: 0 0 6rem 10rem;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.8rem;
}

.btn {
    display: inline-block;
    padding: 2rem  6rem;
    border-radius: none ;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
}

.btn-primary {
    background: var(--blue);
    color: #fff;
}

/* Agendar Valoración: hover/focus use blue-dark background and white text */
.btn-primary {
    transition: background-color 160ms ease, color 160ms ease, opacity 160ms ease;
}
.btn-primary:hover,
.btn-primary:focus {
    background: var(--blue-dark);
    color: var(--white);
    text-decoration: none;
    opacity: 1;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--blue);
    color: var(--blue);
}

.hero-note {
    text-align: center;
    color: var(--blue);
    font-weight: 600;
    margin-top: 1rem;
    font-size: 2rem;
}

.hero-image {
    display: flex;
    justify-content: flex-end;
}

.hero-image-card {
    width: 57rem;
    height: 65rem;
    background: var(--white);
    border-radius: none;
    box-shadow: 0 6px 22px rgba(11, 115, 201, 0.12);
    overflow: hidden;
}

.hero-image-card img {
    display: block;
    width: 100%;
    height: 100%;
}

@media (max-width: 1000px) {
    .hero-inner {
        grid-template-columns: 1fr 360px;
        gap: 32px;
    }

    .hero-content h1 {
        font-size: 48px;
    }
}

@media (max-width: 760px) {
    .hero {
        padding: 40px 0;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .hero-image {
        order: 2;
        justify-content: center;
    }

    .hero-image-card {
        width: 320px;
    }

    .hero-note {
        text-align: center;
        padding-top: 8px;
    }

    .hero-content h1 {
        font-size: 36px;
        text-align: center;
    }

    .hero-content .lead {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-ctas {
        justify-content: center;
        text-align: center;
    }
}

/* About / Profile section */
.about-doctor {
    padding: 8rem 0;
    background: #fafafa;
}

.intro-grid {
    display: grid;
    /* Match the profile grid column sizing so the two sections align vertically */
    grid-template-columns: 480px 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 3.6rem;
}

.intro-left h2 {
    font-size: 3.6rem;
    margin: 0;
    color: var(--dark);
    font-weight: 700;
}

.intro-right .intro-text {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.intro-right .bar {
    display: inline-block;
    width: 0.4rem;
    height: 6.8rem;
    background: var(--blue);
    margin-right: 1.8rem;
    border-radius: 0.2rem;
}

.intro-right p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
    font-size: 1.8rem;
    font-weight: 500;
}

.profile-grid {
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 60px;
    align-items: start;
}

.profile-image img {
    width: 100%;
    display: block;
    border-radius: 4px;
}

.profile-info h2 {
    margin: 0;
    font-size: 3.6rem;
    font-weight: 700;
    color: var(--dark);
}

.doc-name {
    color: var(--blue);
    font-size: 3.6rem;
    margin: 0.6rem 0 0.6rem;
    font-weight: 700;
}

.doc-specialty {
    color: var(--blue-dark);
    margin: 0 0 2rem;
    font-size: 3.6rem;
    font-weight: 400;
}

.doc-desc {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--muted);
    line-height: 1.6;
}

.features {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.features li {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    color: var(--blue);
    font-size: 1.8rem;
    font-weight: 600;
}

/* Inline check image used in HTML. Keep visual sizing here. */
.check-img {
    width: 3.6rem;
    height: 3.6rem;
    flex: 0 0 3.6rem;
    display: inline-block;
    margin-right: 1.5rem;
}

.features .check {
    flex: 0 0 3.6rem;
    margin-top: 0.2rem;
}

/* Alinear texto de listas con icono: las líneas envueltas quedan alineadas
   con el inicio del texto (no bajo el icono). Aplicado a las listas usadas
   en la web: .features, .treat-list, .trauma-features. */
.features li,
.treat-list li,
.trauma-features li {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.features li .check-img,
.treat-list li .check-img,
.trauma-features li .check-img {
    width: 2.6rem;
    height: auto;
    flex: 0 0 2.6rem;
    display: block;
    margin-top: 0.2rem;
}

/* Mantener línea legible cuando el texto se envuelve */
.features li,
.treat-list li,
.trauma-features li {
    line-height: 1.45;
}

@media (max-width: 1000px) {
    .profile-grid {
        grid-template-columns: 42rem 1fr;
    }

    /* keep intro-grid consistent with profile-grid at this breakpoint */
    .intro-grid {
        grid-template-columns: 42rem 1fr;
    }

    .intro-left h2 {
        font-size: 26px;
    }
}

@media (max-width: 760px) {
    .about-doctor {
        padding: 4rem 0;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .intro-right .bar {
        height: 4.4rem;
        display: none !important;
    }

    .profile-grid {
        grid-template-columns: 1fr;
        gap: 2.2rem;
    }

    .profile-image img {
        width: 100%;
        max-width: 52rem;
        margin: 0 auto;
        display: block;
    }

    .intro-left h2 {
        text-align: left;
    }
}

/* Treatments section */
.treatments-section {
    position: relative;
    padding: 12rem 0;
    color: var(--white);
    overflow: hidden;
    min-height: 52rem;
}

.treatments-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/fondo.png');
    background-size: cover;
    background-position: center;
    filter: grayscale(70%) brightness(0.18);
    z-index: 0;
}

.treatments-inner {
    position: relative;
    z-index: 1;
    display: grid;
    /* Match left column width used in profile/intro grids for vertical alignment */
    grid-template-columns: 480px 1fr;
    gap: 6rem;
    align-items: start;
    min-height: 42rem;
}

.treatments-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.treatments-left h2 {
    font-size: 3.6rem;
    margin: 0 0 1.8rem;
    color: var(--white);
    font-weight: 700;
}

.treat-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.6rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem 1.8rem;
}

.treat-list li {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    color: var(--white);
    font-weight: 600;
    font-size: 2rem;
}

.treat-list svg {
    flex: 0 0 3.4rem;
}

/* force check appearance: blue circle with white tick */
.treat-list svg circle {
    fill: var(--blue) !important;
    stroke: none !important;
}

.treat-list svg path {
    stroke: #fff !important;
}

.treat-cta {
    margin-top: 2.6rem;
}

.treatments-right .gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.2rem;
    align-items: stretch;
}

.g-item {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(2, 27, 71, 0.12);
}

.g-item img {
    display: block;
    width: 100%;
    height: 20rem;
    object-fit: cover;
}

@media (max-width: 1000px) {
    .treatments-inner {
        grid-template-columns: 42rem 1fr;
        gap: 3.6rem;
    }

    .g-item img {
        height: 15rem;
    }
}

@media (max-width: 760px) {
    .treatments-section {
        padding: 5rem 0;
    }

    .treatments-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .treat-cta {
        text-align: center;
    }


    .treatments-left {
        text-align: center;
    }

    .treat-list {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .treat-list li {
        font-size: 1.8rem;
    }

    .treatments-right .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .g-item img {
        height: 12rem;
    }
}

/* Traumatología — sección con estilos propios (no depender solo de .about-doctor) */
.traumatologia {
    padding: 6rem 0;
    background: #ffffff;
}

.traumatologia-section {
    padding: 6rem 0;
    background: #ffffff;
}

.traumatologia-section .trauma-grid {
    /* Two equal columns (50% / 50%) so left/right are exactly half each */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.2rem;
    align-items: start;
}

.traumatologia-section .trauma-image img {
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(2,27,71,0.08);
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.traumatologia-section .trauma-info h2 {
    font-size: 3.6rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.traumatologia-section .doc-name,
.traumatologia-section .doc-specialty {
    font-size: 2.2rem;
}

.traumatologia-section .trauma-features li {
    color: var(--dark);
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.5;
}

@media (max-width: 760px) {
    .traumatologia-section .trauma-grid {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    .traumatologia-section .trauma-info h2 {
        text-align: center;
    }

    .traumatologia-section .trauma-features li {
        font-size: 1.8rem;
    }
}

/* small visual polish */
.site-header {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

/* Utility: center content vertically */
.nav-links li {
    list-style: none;
}

/* Types of Treatment section */
.types-section {
    padding: 6rem 0 0;
    background: var(--white);
}

.types-inner {
    position: relative;
}

/* make this section full-bleed: override container locally so grid spans viewport */
.types-section>.container {
    max-width: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.types-inner {
    padding: 3.6rem 6rem;
}

.types-title {
    font-size: 3.6rem;
    /* keep the heading contained within the site's max content width */
    max-width: var(--max-width);
    margin: 0 auto 2.6rem;
    padding: 0 2rem;
    position: relative;
    color: var(--dark);
    font-weight: 700;
}

.types-title .types-underline {
    display: inline-block;
    position: absolute;
    left: 2rem;
    bottom: -1rem;
    /* never exceed the title width */
    width: min(50rem, 100%);
    height: 0.8rem;
    background: var(--blue);
    border-radius: 0.4rem;
}

/* Ensure the same underline appears for the 'Conócenos' heading */
.know-title {
    position: relative;
    display: inline-block;
    padding: 0 2rem;
}

.know-title .types-underline {
    display: inline-block;
    position: absolute;
    left: 2rem;
    bottom: -1rem;
    width: min(50rem, 100%);
    height: 0.8rem;
    background: var(--blue);
    border-radius: 0.4rem;
}

.types-title .types-underline::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: -0.3rem;
    width: 1.4rem;
    height: 1.4rem;
    background: var(--blue-dark);
    border-radius: 50%
}

/* Add the small circular accent to the Conócenos underline as well */
.know-title .types-underline::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: -0.3rem;
    width: 1.4rem;
    height: 1.4rem;
    background: var(--blue-dark);
    border-radius: 50%;
}

.types-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 4.8rem;
    width: 100%;
}

.type-card {
    padding: 4.8rem 3.6rem;
    color: var(--white);
    min-height: 30rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center
}

.type-card h3 {
    margin: 1.9rem 1.6rem;
    font-size: 2.4rem;
    font-weight: 700;
}

.type-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--white);
}

.type-card ul li {
    margin: 0.8rem 0;
    font-weight: 600;
    font-size: 1.8rem;
    text-align: left;
}

.type-left {
    background: var(--blue)
}

.type-mid {
    background: var(--blue-dark);
}

.type-right {
    background: var(--blue);
}

.icon-wrap {
    position: relative;
    margin-bottom: 0.6rem;
}

.icon-dashed {
    display: block
}

.badge {
    position: absolute;
    right: -0.6rem;
    top: -0.8rem;
    background: var(--white);
    color: var(--blue-dark);
    border-radius: 50%;
    width: 3.4rem;
    height: 3.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700
}

@media(max-width:1000px) {
    .types-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .types-title {
        font-size: 3.2rem;
    }

    .types-title .types-underline {
        width: 36rem;
    }
}

/* Conócenos / Carousel (Swiper + video) */
.know-section {
    padding: 6.4rem 0 10rem;
    background: var(--white);
}

.know-title {
    font-size: 3.6rem;
    margin: 0 0 6rem;
    color: var(--dark);
    font-weight: 700;
    position: relative;
}

.know-title .types-underline {
    left: 0;
    bottom: -1.2rem;
    width: 50rem;
    height: 0.8rem;
}

/* Swiper container adjustments */
.know-swiper {
    position: relative;
    overflow: visible;
    padding: 8px 0;
}

.know-swiper .swiper-wrapper {
    align-items: center;
}

.know-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    box-sizing: border-box;
}

.know-swiper .video-card {
    width: 100%;
    max-width: 840px;
    flex: 0 0 100%;
}

.know-swiper img,
.know-swiper video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    background: #000;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

.video-caption {
    margin-top: 10px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    text-align: center;
}

/* Navigation buttons visible and positioned */
.know-swiper .swiper-button-prev,
.know-swiper .swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--blue, var(--blue-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(11, 115, 201, 0.12);
    z-index: 30;
}

.know-swiper .swiper-button-prev {
    left: -18px;
}

.know-swiper .swiper-button-next {
    right: -18px;
}

.know-swiper .swiper-button-prev::after,
.know-swiper .swiper-button-next::after {
    font-size: 18px;
}

.know-swiper .swiper-pagination {
    bottom: 8px;
    display: none !important;
}

@media (max-width: 1000px) {
    .know-title {
        font-size: 3.2rem;
    }

    .know-title .types-underline {
        width: 36rem;
    }

    .know-swiper .video-card {
        max-width: 64rem;
    }

    .know-swiper .swiper-button-prev {
        left: 8px;
    }

    .know-swiper .swiper-button-next {
        right: 8px;
    }
}

@media (min-width: 1000px) {

    /* when showing 2 slides, keep cards a bit smaller */
    .know-swiper .video-card {
        max-width: 56rem;
    }
}

/* Appointment section (Doctoralia widget) */
.appointment-section {
    padding: 5.6rem 0 8rem;
    background: #fafafa;
}

.appointment-title {
    font-size: 3.6rem;
    text-align: center;
    margin: 0 0 2.2rem;
    font-weight: 700;
    color: var(--dark);
}

.appointment-title .muted {
    font-weight: 600;
    color: var(--muted);
    font-size: 1.6rem;
    margin-left: 0.8rem;
}

.appointment-widget {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.2rem 2rem;
}

.widget-placeholder {
    width: 100%;
    max-width: 82rem;
    min-height: 22rem;
    background: var(--white);
    border: 1px solid #eef4fb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-weight: 600;
    box-shadow: 0 8px 30px rgba(2, 27, 71, 0.06);
}

/* Full-bleed valuation hero (100% width) */
.valuation-hero {
    width: 100%;
    background: linear-gradient(180deg, var(--blue) 0%, #064b86 100%);
}

.valuation-hero .valuation-inner {
    padding: 44px 0;
}

.valuation-hero .container {
    padding: 0 20px;
}

.valuation-title {
    color: var(--white);
    text-align: center;
    font-size: 3.2rem;
    margin: 0 0 1.2rem;
    font-weight: 700;
}

.valuation-sub {
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    max-width: 120rem;
    margin: 0 auto;
    font-size: 2.4rem;
}

@media (max-width: 1000px) {
    .valuation-title {
        font-size: 2rem;
    }

    .valuation-sub {
        font-size: 1.4rem;
    }
}


/* prevent small horizontal scroll when using full-bleed sections */
html,
body {
    overflow-x: hidden;
}

/* Footer styles */
.site-footer {
    background: #272727;
    color: var(--white);
}

.site-footer .footer-top {
    padding: 4.8rem 0 3.6rem;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.footer-contact h4 {
    color: var(--white);
    font-size: 2.2rem;
    font-weight: 500;
    margin: 0 0 1.2rem;
}

.footer-contact ul {
    list-style: none;
    margin: 0;
    padding: 0;
    color: var(--white);
}

.footer-contact ul li {
    margin: 0.8rem 0;
    font-size: 1.6rem;
    font-weight: 500;
}

/* Revert the global spacing change inside the footer contact area only */
.footer-contact {
    line-height: 1.5; /* restore compact line-height for footer content */
}
.footer-contact ul li {
    margin: 2rem 0; /* ensure original top/bottom spacing remains */
}

.footer-contact ul li {
    display: flex;
    align-items: start;
    gap: 12px;
}

.footer-contact ul li img {
    /* Use the image's intrinsic dimensions instead of forcing a size */
    width: auto;
    height: auto;
    max-width: 100%;
    object-fit: none;
    border-radius: 0;
    display: inline-block;
}

.contact-lines {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 500;
}

.footer-social {
    display: flex;
    gap: 2.4rem;
    align-items: center;
    justify-content: center;
}

.social-btn {
    width: 7.5rem;
    height: 7.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--blue);
    background: transparent;
    text-decoration: none;
}

.social-btn svg {
    width: 2.6rem;
    height: 2.6rem;
    display: block;
    color: var(--blue);
}

.social-btn:hover {
    background: rgba(22,107,197,0.05);
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
}

.logo-circle img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 14px 0;
    background: #272727;
}

.footer-bottom .copyright {
    text-align: center;
    color: var(--white);
    font-size: 1.6rem;
}

@media (max-width: 900px) {
    .footer-inner {
        flex-direction: column-reverse;
        text-align: start;
        justify-content: start;
    }

    .footer-contact h4 {
        text-align: center;
        margin-bottom: 3.6rem;
    }

    .logo-circle {
        width: 12rem;
        height: 12rem;
        margin-bottom: 1.8rem;
    }
}

/* Mobile menu: toggle button, overlay and panel */
.mobile-toggle {
    display: none;
    /* shown on small screens via media query */
    background: transparent;
    border: none;
    padding: 1rem;
    margin-left: 1rem;
    align-self: center;
}

.mobile-toggle svg rect {
    fill: var(--white);
}

/* Mobile overlay (hidden by default) */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
}

.mobile-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 220ms ease;
}

.mobile-panel {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 32rem;
    max-width: 85vw;
    background: var(--white);
    box-shadow: -10px 0 40px rgba(2, 27, 71, 0.12);
    transform: translateX(100%);
    transition: transform 260ms cubic-bezier(.2, .9, .2, 1);
    display: flex;
    flex-direction: column;
}

.mobile-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.8rem;
    border-bottom: 1px solid #f3f6fa;
}

.mobile-close {
    background: transparent;
    border: none;
    font-size: 2rem;
    line-height: 1;
    padding: 1rem;
}

.mobile-nav {
    padding: 2rem;
    overflow-y: auto;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.mobile-nav a {
    color: #0b2b45;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.6rem;
}

/* Open state */
.mobile-menu[aria-hidden="false"] {
    display: block;
}

.mobile-menu[aria-hidden="false"] .mobile-backdrop {
    opacity: 1;
}

.mobile-menu[aria-hidden="false"] .mobile-panel {
    transform: translateX(0);
}

/* Prevent body scroll when menu open */
body.menu-open {
    overflow: hidden;
}

/* Responsive: show hamburger + hide verbose contact info on small screens */
@media (max-width: 760px) {
    .mobile-toggle {
        display: inline-flex;
    }

    .nav-links {
        display: none;
    }

    .contact-info {
        display: none;
    }

    .nav-inner {
        justify-content: space-between;
        align-items: center;
        height: 7.5rem;
    }
}

/* Ensure hamburger icon is positioned to the right on small screens */
@media (max-width: 760px) {
    .nav-links { order: 1; }
    .mobile-toggle { order: 2; margin-left: auto; margin-right: 0; }
}

@media (width < 1400px) {
    html {
        font-size: 9px;
    }
}

@media (width < 1200px) {
    html {
        font-size: 9px;
    }
}

@media (width < 1024px) {
    html {
        font-size: 8.5px;
    }
}

@media (width < 992px) {
    html {
        font-size: 8px;
    }
}

@media (width < 768px) {
    html {
        font-size: 8px;
    }
}
