/* ==============================================
   Dr. Pedro Rodrigues — Website Styles
   Clean & Premium Psychiatry Practice
   ============================================== */

/* ---------------- Variables ---------------- */
:root {
    /* Colors */
    --navy:        #1B2D4F;
    --navy-hover:  #243b67;
    --navy-deep:   #0f1e36;
    --gold:        #C8A96E;
    --gold-light:  #E8D5B0;
    --gold-pale:   #F5EDD8;
    --white:       #FFFFFF;
    --off-white:   #F8F6F2;
    --section-alt: #F2EFEA;
    --text:        #1A1A1A;
    --text-muted:  #6B7280;
    --border:      #E5E0D8;
    --border-light:#EDE9E2;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing & Shape */
    --radius:    12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(27, 45, 79, 0.07);
    --shadow-md: 0 8px 32px rgba(27, 45, 79, 0.11);
    --shadow-lg: 0 20px 60px rgba(27, 45, 79, 0.14);

    /* Transition */
    --ease: 0.28s cubic-bezier(.4,0,.2,1);

    /* Layout */
    --max-w: 1160px;
    --nav-h: 76px;
}

/* ---------------- Reset & Base ---------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
}

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

.eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 600;
    line-height: 1.22;
    color: var(--navy);
    margin-bottom: 1.25rem;
}

.section-desc {
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

/* ---------------- Buttons ---------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.875rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background var(--ease), border-color var(--ease),
                color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.btn--primary {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}
.btn--primary:hover {
    background: var(--navy-hover);
    border-color: var(--navy-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}
.btn--outline:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
}

.btn--white {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}
.btn--white:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(200, 169, 110, 0.4);
}

/* ==============================================
   NAVBAR
   ============================================== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-h);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--ease), box-shadow var(--ease), height var(--ease);
}

.navbar.scrolled {
    border-bottom-color: var(--border-light);
    box-shadow: var(--shadow-sm);
    height: 68px;
}

.navbar__inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Logo */
.navbar__logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex-shrink: 0;
    margin-right: 0.5rem;
}

.logo-mark {
    color: var(--gold);
    flex-shrink: 0;
    transition: color var(--ease);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.navbar__logo:hover .logo-mark {
    color: var(--navy);
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--navy);
    transition: color var(--ease);
}

.logo-sub {
    font-size: 0.67rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

.navbar__logo:hover .logo-name {
    color: var(--gold);
}

/* Nav Links */
.navbar__links {
    display: flex;
    align-items: center;
    gap: 0.125rem;
    margin-left: auto;
}

.navbar__links a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-muted);
    padding: 0.5rem 0.875rem;
    border-radius: 50px;
    transition: color var(--ease), background var(--ease);
    position: relative;
}

.navbar__links a:hover,
.navbar__links a.active {
    color: var(--navy);
    background: var(--off-white);
}

/* Actions */
.navbar__actions {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    flex-shrink: 0;
}

.navbar__icon-link {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    transition: color var(--ease);
}

.navbar__icon-link:hover {
    color: var(--navy);
}

/* Hamburger */
.navbar__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}

.navbar__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all var(--ease);
    transform-origin: center;
}

.navbar__hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.navbar__hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.navbar__hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.navbar__links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.25rem 2rem 1.75rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 0.25rem;
}

.navbar__links.mobile-open a {
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
}


/* ==============================================
   HERO
   ============================================== */
.hero {
    min-height: 100vh;
    padding-top: var(--nav-h);
    background: var(--off-white);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding: 4rem 2rem;
    max-width: var(--max-w);
    margin: 0 auto;
}

.hero__content {
    padding-right: 1rem;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5.5vw, 5.25rem);
    font-weight: 700;
    line-height: 1.06;
    color: var(--navy);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.hero__desc {
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 460px;
    margin-bottom: 2.25rem;
    line-height: 1.75;
}

.hero__btns {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero photo */
.hero__photo {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
}

.hero__photo::before {
    content: '';
    position: absolute;
    inset: 2rem 2rem 0;
    background: var(--gold-pale);
    border-radius: var(--radius-xl);
    z-index: 0;
}

.hero__photo img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    height: 580px;
    object-fit: cover;
    object-position: center 15%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}


/* ==============================================
   ABOUT
   ============================================== */
.about {
    padding: 7rem 0;
    background: var(--white);
}

.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 5rem;
}

.about__photo {
    position: relative;
}

.about__photo::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 60%;
    height: 60%;
    border: 2px solid var(--gold-light);
    border-radius: var(--radius-lg);
    z-index: 0;
    pointer-events: none;
}

.about__photo img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-height: 580px;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about__content .section-title {
    margin-bottom: 1.5rem;
}

.about__content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 1rem;
}

.about__content p strong {
    color: var(--text);
    font-weight: 500;
}

/* About historia expandable */
.about__historia {
    margin: 1.5rem 0;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--off-white);
}

.about__historia summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--navy);
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background var(--ease);
}

.about__historia summary::-webkit-details-marker { display: none; }

.about__historia summary svg {
    flex-shrink: 0;
    color: var(--gold);
    transition: transform var(--ease);
}

.about__historia[open] summary svg {
    transform: rotate(180deg);
}

.about__historia summary:hover {
    background: var(--gold-pale);
}

.about__historia-content {
    padding: 0 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    border-top: 1px solid var(--border-light);
    padding-top: 1.25rem;
}

.about__historia-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0;
}

.about__historia-content p strong {
    color: var(--text);
    font-weight: 500;
}


    display: flex;
    gap: 2rem;
    padding: 2rem 0;
    margin: 2rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat__number {
    font-family: var(--font-heading);
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}

.stat__label {
    font-size: 0.8125rem;
    color: var(--text-muted);
}


/* ==============================================
   SPECIALTIES
   ============================================== */
.specialties {
    padding: 7rem 0;
    background: var(--off-white);
}

.specialties__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.specialty-card {
    background: var(--white);
    padding: 2rem 1.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.specialty-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-light);
}

.specialty-card__icon {
    width: 44px;
    height: 44px;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.specialty-card__icon svg {
    width: 100%;
    height: 100%;
}

/* Specialty card sub-areas */
.specialty-card__areas {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.area-item {
    border-bottom: 1px solid var(--border-light);
}

.area-item summary {
    padding: 0.75rem 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--navy);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    user-select: none;
    transition: color var(--ease);
}

.area-item summary::-webkit-details-marker { display: none; }

.area-item summary::after {
    content: '+';
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--gold);
    flex-shrink: 0;
    transition: transform var(--ease);
}

.area-item[open] summary::after {
    transform: rotate(45deg);
}

.area-item summary:hover {
    color: var(--gold);
}

.area-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    padding: 0 0 0.875rem;
    margin: 0;
}


    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.875rem;
    line-height: 1.3;
}

.specialty-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.specialty-card__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.specialty-card__list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.5;
}

.specialty-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
}


/* ==============================================
   HOW IT WORKS
   ============================================== */
.how-it-works {
    padding: 7rem 0;
    background: var(--white);
}

.steps {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 3.5rem;
}

.step {
    flex: 1;
    padding: 2rem 1.75rem;
    background: var(--off-white);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
}

.step__num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 1rem;
}

.step h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.step p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.step__connector {
    flex-shrink: 0;
    width: 48px;
    color: var(--gold);
    align-self: center;
    padding-bottom: 2rem;
}

.step__connector svg {
    width: 100%;
    height: auto;
}

/* Modalities */
.modalities {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.modality {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 2rem;
    background: var(--off-white);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    min-width: 260px;
    transition: border-color var(--ease), box-shadow var(--ease);
}

.modality:hover {
    border-color: var(--gold-light);
    box-shadow: var(--shadow-sm);
}

.modality__icon {
    width: 44px;
    height: 44px;
    background: var(--gold-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

.modality h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 0.2rem;
}

.modality p {
    font-size: 0.85rem;
    color: var(--text-muted);
}


/* ==============================================
   VIDEOS
   ============================================== */
.videos {
    padding: 7rem 0;
    background: var(--section-alt);
}
.videos__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-bottom: 3rem;
}

.video-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: transform var(--ease), box-shadow var(--ease);
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Responsive 16:9 embed wrapper */
.video-card__embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    background: #0f1e36;
    overflow: hidden;
}

.video-card__embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-card__info {
    padding: 1.375rem 1.5rem 1.625rem;
}

.video-card__tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.625rem;
}

.video-card__info h3 {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.video-card__info p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.videos__cta {
    display: flex;
    justify-content: center;
}

/* Footer logo */
.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
}

.footer__logo-mark {
    color: var(--gold);
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .videos__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .videos__grid {
        grid-template-columns: 1fr;
    }
}


/* Steps with 5 items — smaller padding on mobile */
.steps--5 .step {
    padding: 1.625rem 1.375rem;
}

.steps--5 .step__num {
    font-size: 2.25rem;
}

/* ==============================================
   FAQ
   ============================================== */
.faq {
    padding: 7rem 0;
    background: var(--white);
}

.faq__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq__item {
    background: var(--off-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--ease);
}

.faq__item:hover {
    border-color: var(--gold-light);
}

.faq__item[open] {
    border-color: var(--gold-light);
}

.faq__item summary {
    padding: 1.25rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--navy);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    line-height: 1.4;
    user-select: none;
}

.faq__item summary::-webkit-details-marker {
    display: none;
}

.faq__item summary::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--gold);
    flex-shrink: 0;
    transition: transform var(--ease);
}

.faq__item[open] summary::after {
    transform: rotate(45deg);
}

.faq__item p {
    padding: 0 1.5rem 1.375rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

@media (max-width: 640px) {
    .faq__grid {
        grid-template-columns: 1fr;
    }
}


/* ==============================================
   CTA BANNER
   ============================================== */
.cta-banner {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
    text-align: center;
}

.cta-banner__bg {
    position: absolute;
    inset: 0;
}

.cta-banner__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    filter: brightness(0.28) saturate(0.8);
}

.cta-banner__inner {
    position: relative;
    z-index: 1;
    color: var(--white);
}

.cta-banner h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.cta-banner p {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2.5rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}


/* ==============================================
   CONTACT
   ============================================== */
.contact {
    padding: 7rem 0;
    background: var(--off-white);
}

.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.contact__info p {
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

.contact__links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact__link {
    display: inline-flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1.125rem 1.625rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 500;
    transition: transform var(--ease), box-shadow var(--ease),
                background var(--ease), border-color var(--ease);
    border: 2px solid transparent;
}

.contact__link--wa {
    background: #25D366;
    color: var(--white);
}
.contact__link--wa:hover {
    background: #1dbb5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.32);
}

.contact__link--ig {
    background: var(--white);
    color: var(--navy);
    border-color: var(--border);
}
.contact__link--ig:hover {
    border-color: var(--navy);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.contact__photo img {
    width: 100%;
    max-height: 540px;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}


/* ==============================================
   FOOTER
   ============================================== */
.footer {
    background: var(--navy-deep);
    color: rgba(255,255,255,0.55);
}

.footer__top {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 3rem 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-right: auto;
}

.footer__brand .logo-name {
    color: var(--white);
    font-size: 1rem;
}

.footer__brand .logo-sub {
    color: rgba(255,255,255,0.4);
    font-size: 0.72rem;
}

.footer__nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.footer__nav a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.55);
    transition: color var(--ease);
}

.footer__nav a:hover {
    color: var(--white);
}

.footer__social {
    display: flex;
    gap: 0.625rem;
    align-items: center;
}

.footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6);
    transition: background var(--ease), color var(--ease);
}

.footer__social a:hover {
    background: rgba(255,255,255,0.16);
    color: var(--white);
}

.footer__bottom {
    padding: 1.5rem 2rem;
}

.footer__bottom p {
    font-size: 0.8rem;
    text-align: center;
    color: rgba(255,255,255,0.3);
}


/* ==============================================
   WHATSAPP FLOAT BUTTON
   ============================================== */
.wa-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 58px;
    height: 58px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    z-index: 998;
    transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}

.wa-float:hover {
    background: #1dbb5a;
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
}

/* Pulse animation on load */
.wa-float::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: wa-pulse 2.5s ease infinite;
}

@keyframes wa-pulse {
    0%   { opacity: 0.6; transform: scale(1); }
    70%  { opacity: 0;   transform: scale(1.35); }
    100% { opacity: 0;   transform: scale(1.35); }
}


/* ==============================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================== */
@media (max-width: 1024px) {
    /* Nav */
    .navbar__links {
        display: none;
    }
    .navbar__hamburger {
        display: flex;
    }
    .navbar__actions .btn {
        display: none;
    }

    /* Hero */
    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding: 2.5rem 2rem 4rem;
    }
    .hero__content {
        padding-right: 0;
        order: 2;
    }
    .hero__photo {
        order: 1;
        justify-content: center;
    }
    .hero__photo::before {
        inset: 1.5rem 1.5rem 0;
    }
    .hero__photo img {
        max-width: 320px;
        height: 420px;
    }
    .hero__desc {
        margin-left: auto;
        margin-right: auto;
    }
    .hero__btns {
        justify-content: center;
    }

    /* About */
    .about__inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about__photo::after {
        display: none;
    }
    .about__photo img {
        max-height: 420px;
    }
    .about__stats {
        gap: 1.5rem;
    }

    /* Specialties */
    .specialties__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Contact */
    .contact__inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .contact__photo {
        order: -1;
    }
    .contact__photo img {
        max-height: 400px;
    }
}


/* ==============================================
   RESPONSIVE — MOBILE (≤ 640px)
   ============================================== */
@media (max-width: 640px) {
    :root {
        --nav-h: 68px;
    }

    .container {
        padding: 0 1.25rem;
    }

    /* Hero */
    .hero__photo img {
        max-width: 260px;
        height: 340px;
    }

    /* Specialties */
    .specialties__grid {
        grid-template-columns: 1fr;
    }

    /* Steps */
    .steps {
        flex-direction: column;
        gap: 0;
    }
    .step__connector {
        transform: rotate(90deg);
        align-self: center;
        padding: 0;
        margin: 0.5rem 0;
        width: 40px;
    }

    /* Modalities */
    .modalities {
        flex-direction: column;
        align-items: stretch;
    }
    .modality {
        min-width: unset;
    }

    /* Stats */
    .about__stats {
        flex-wrap: wrap;
        gap: 1.25rem;
    }

    /* Footer */
    .footer__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .footer__brand {
        margin-right: 0;
    }
    .footer__nav {
        gap: 0.75rem;
    }

    /* WhatsApp float */
    .wa-float {
        bottom: 1.5rem;
        right: 1.5rem;
    }
}
