/* ============================================
   NATHALIA GURGEL - PSIQUIATRA
   Estilos Principais
   ============================================ */

@import url('fonts/main-fonts.css');

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-dark: #1d1e20;
    --color-dark-2: #2a2b2e;
    --color-dark-navy: #212836;
    --color-text: #1d1e20;
    --color-text-light: #555760;
    --color-text-muted: #888a95;
    --color-white: #ffffff;
    --color-bg: #ffffff;
    --color-bg-beige: #f5f0ea;
    --color-bg-light: #faf8f5;
    --color-accent: #3a5a8a;
    --color-accent-hover: #2c4670;
    --color-green: #25D366;
    --color-whatsapp: #25D366;
    --color-whatsapp-hover: #1da851;
    --color-doctoralia: #00AAFF;
    --color-doctoralia-hover: #0088cc;
    --color-gold: #c9a84c;
    --color-banner-bg: #212836;

    --font-heading: 'Lato', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 50px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);

    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.3;
    color: var(--color-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== ANNOUNCEMENT BANNER ===== */
.announcement-banner {
    background-color: var(--color-banner-bg);
    color: var(--color-white);
    text-align: center;
    padding: 10px 20px;
    font-size: 13px;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1001;
}

.announcement-banner span {
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ===== HEADER / NAVBAR ===== */
.header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: var(--color-white);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.2;
}

.logo-text span {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
    padding-bottom: 2px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--color-accent);
}

.nav-menu a.active {
    color: var(--color-accent);
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    cursor: pointer;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-dark);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--color-white);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    padding: 80px 32px 40px;
    flex-direction: column;
    gap: 0;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu a {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 500;
    color: var(--color-dark);
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: block;
    transition: var(--transition);
}

.mobile-menu a:hover {
    color: var(--color-accent);
    padding-left: 8px;
}

.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1999;
    backdrop-filter: blur(2px);
}

.overlay.open {
    display: block;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('images/hero-bg.webp');
    background-size: cover;
    background-position: center center;
    filter: brightness(0.65);
    transform: scale(1.05);
    transition: transform 8s ease;
}

.hero-bg.loaded {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(30, 20, 10, 0.35) 0%,
            rgba(30, 20, 10, 0.45) 60%,
            rgba(30, 20, 10, 0.55) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    padding: 80px 24px;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 58px);
    font-weight: 300;
    color: var(--color-white);
    letter-spacing: 0.02em;
    margin-bottom: 20px;
    animation: fadeInUp 0.9s ease forwards;
}

.hero-content h1 strong {
    font-weight: 700;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(15px, 2vw, 17px);
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.8;
    max-width: 680px;
    margin: 0 0 40px;
    animation: fadeInUp 0.9s ease 0.15s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    flex-wrap: wrap;
    animation: fadeInUp 0.9s ease 0.3s forwards;
    opacity: 0;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(58, 90, 138, 0.35);
}

.btn-outline-white {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--color-white);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: var(--color-whatsapp);
    color: var(--color-white);
    border-color: var(--color-whatsapp);
}

.btn-whatsapp:hover {
    background-color: var(--color-whatsapp-hover);
    border-color: var(--color-whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn-doctoralia {
    background-color: var(--color-doctoralia);
    color: var(--color-white);
    border-color: var(--color-doctoralia);
}

.btn-doctoralia:hover {
    background-color: var(--color-doctoralia-hover);
    border-color: var(--color-doctoralia-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 170, 255, 0.35);
}

.btn-outline-dark {
    background: transparent;
    color: var(--color-dark);
    border-color: var(--color-dark);
}

.btn-outline-dark:hover {
    background: var(--color-dark);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn svg,
.btn img {
    width: 18px;
    height: 18px;
}

/* ===== DOCTORALIA WIDGET ===== */
.widget-section {
    background: var(--color-white);
    padding: 40px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.widget-container {
    max-width: 500px;
    margin: 0 auto;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.widget-container:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.widget-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-bg-beige);
    flex-shrink: 0;
}

.widget-info h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.widget-info .speciality {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.stars {
    color: #f5a623;
    font-size: 16px;
    letter-spacing: 1px;
}

.widget-info .rating-text {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-top: 2px;
}

.widget-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 170, 255, 0.08);
    color: var(--color-doctoralia);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    margin-top: 8px;
    border: 1px solid rgba(0, 170, 255, 0.2);
}

/* ===== SERVICES SECTION ===== */
.section {
    padding: 80px 24px;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-tag {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-text-light);
    margin-bottom: 48px;
    max-width: 500px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 40px;
}

.service-card {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-doctoralia));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: rgba(58, 90, 138, 0.2);
}

.service-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-light);
    border-radius: var(--radius-md);
    font-size: 24px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-dark);
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: var(--color-bg-beige);
    padding: 80px 24px;
}

.about-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-photo {
    width: 100%;
    max-width: 440px;
    height: 500px;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.about-badge .number {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 900;
    color: var(--color-accent);
    line-height: 1;
}

.about-badge .label {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-top: 2px;
}

.about-content h2 {
    font-size: clamp(26px, 3.5vw, 36px);
    margin-bottom: 24px;
}

.about-content p {
    font-size: 15px;
    color: var(--color-text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 32px;
    margin: 32px 0;
}

.stat-item .stat-value {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 900;
    color: var(--color-accent);
}

.stat-item p {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* ===== REVIEWS WIDGET DESIGN ===== */
.testimonials-section {
    background: var(--color-bg-light);
    padding: 80px 24px;
    position: relative;
    overflow: hidden;
}

.reviews-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.review-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 170, 255, 0.15);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px;
}

.review-author {
    display: flex;
    gap: 14px;
    align-items: center;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-bg-beige) 0%, #fff 100%);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.review-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0 0 2px;
    line-height: 1.2;
}

.review-info span {
    font-size: 13px;
    color: var(--color-text-muted);
    display: block;
}

.review-stars {
    color: #FFC107;
    font-size: 16px;
    letter-spacing: 2px;
}

.review-body {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: 24px;
    flex-grow: 1;
}

.review-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--color-text-muted);
    font-weight: 500;
}

.verified-badge {
    color: var(--color-doctoralia);
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 170, 255, 0.06);
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.verified-badge svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.widget-cta {
    text-align: center;
    margin-top: 50px;
}

/* ===== SCHEDULE PAGE ===== */
.page-hero {
    background: linear-gradient(135deg, var(--color-dark-navy) 0%, var(--color-dark-2) 100%);
    padding: 80px 24px;
    text-align: center;
    color: white;
}

.page-hero h1 {
    color: white;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 300;
    margin-bottom: 12px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
}

.schedule-section {
    padding: 60px 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.schedule-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.schedule-btn-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: var(--color-dark);
}

.schedule-btn-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
    border-color: var(--color-accent);
}

.schedule-btn-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 22px;
}

.schedule-btn-icon.whatsapp-bg {
    background: rgba(37, 211, 102, 0.12);
}

.schedule-btn-icon.doc-bg {
    background: rgba(0, 170, 255, 0.12);
}

.schedule-btn-text strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}

.schedule-btn-text span {
    font-size: 13px;
    color: var(--color-text-muted);
}

.schedule-btn-arrow {
    margin-left: auto;
    color: var(--color-text-muted);
    font-size: 20px;
}

/* ===== ABOUT PAGE ===== */
.about-page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 24px;
}

.about-page-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 60px;
    align-items: start;
}

.about-page-photo {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 100px;
}

.about-page-text h2 {
    font-size: clamp(24px, 3vw, 36px);
    margin-bottom: 24px;
    color: var(--color-dark);
}

.about-page-text p {
    color: var(--color-text-light);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-cta {
    margin-top: 32px;
}

/* Offices */
.offices-section {
    background: var(--color-bg-light);
    padding: 80px 24px;
}

.offices-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.office-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.07);
}

.office-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.office-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(58, 90, 138, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.office-card h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-dark);
}

.office-card address {
    font-style: normal;
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 12px;
}

.office-card .hours {
    font-size: 13px;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Services boxes */
.services-boxes-grid {
    display: grid;
    /* Use auto-fit instead of auto-fill for better centering behavior when fewer items */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
    justify-content: center;
    max-width: 900px;
    /* Constrain width to help centering 3 items */
    margin-left: auto;
    margin-right: auto;
}

.service-box {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.07);
    transition: var(--transition);
    height: 100%;
    /* Ensure equal height */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-box:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: rgba(58, 90, 138, 0.2);
}

.service-box-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(58, 90, 138, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 16px;
}

.service-box h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.service-box p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Office Card Alignment */
/* Office Card Alignment */
.office-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    /* Ensure content is spaced out */
}

.office-map {
    margin-top: auto;
    width: 100%;
    padding-top: 20px;
    /* Remove any default margins that might interfere */
    margin-bottom: 0;
}

/* ===== FAQ PAGE ===== */
.faq-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px;
}

.faq-intro {
    display: flex;
    gap: 20px;
    background: var(--color-bg-beige);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 48px;
    align-items: center;
}

.faq-intro-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.faq-intro-text {
    font-size: 15px;
    color: var(--color-text-light);
    font-style: italic;
    line-height: 1.6;
}

.faq-intro-text strong {
    display: block;
    font-style: normal;
    font-weight: 600;
    color: var(--color-dark);
    margin-top: 6px;
    font-size: 13px;
}

.faq-title {
    font-family: var(--font-heading);
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 32px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-dark);
    user-select: none;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
    transition: var(--transition);
    color: var(--color-accent);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: var(--color-accent);
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 0 22px;
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--color-dark-navy);
    color: rgba(255, 255, 255, 0.75);
    padding: 60px 24px 30px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-contact {
    text-align: center;
    margin-bottom: 48px;
}

.footer-contact h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 8px;
}

.footer-contact p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 32px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 24px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-decoration: none;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.35);
}

.footer-phone {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-white);
    text-align: center;
    margin-top: 16px;
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 40px 0 24px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom nav {
    display: flex;
    gap: 20px;
}

.footer-bottom nav a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-bottom nav a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background-color: var(--color-whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    z-index: 999;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: var(--color-whatsapp-hover);
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.whatsapp-pulse {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.4);
    animation: pulse 2s infinite;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.2;
    }

    100% {
        transform: scale(1);
        opacity: 0.6;
    }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

.reveal-delay-6 {
    transition-delay: 0.6s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .hero {
        min-height: 75vh;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .about-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrapper {
        max-width: 360px;
        margin: 0 auto;
    }

    .about-photo {
        height: 400px;
    }

    .about-badge {
        bottom: -16px;
        right: 10px;
    }

    .about-stats {
        gap: 20px;
    }

    .about-page-grid {
        grid-template-columns: 1fr;
    }

    .about-page-photo {
        max-width: 320px;
        margin: 0 auto;
        position: static;
    }

    .widget-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .offices-grid {
        grid-template-columns: 1fr;
    }

    .services-boxes-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== FAQ HERO ===== */
.faq-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #1a1a1a;
}

.faq-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('images/hero-bg.webp');
    background-size: cover;
    background-position: center center;
    filter: brightness(0.35);
    transform: scale(1.03);
}

.faq-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(58, 42, 20, 0.75) 0%, rgba(20, 30, 50, 0.65) 100%);
}

.faq-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.faq-hero-text {
    color: #fff;
}

.faq-hero-text h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.faq-hero-text>p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    line-height: 1.6;
}

.faq-testimonial {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    backdrop-filter: blur(8px);
}

.faq-testimonial-quote {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 14px;
}

.faq-testimonial-author {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.faq-hero-photo {
    position: relative;
}

.faq-hero-photo img {
    width: 100%;
    max-width: 420px;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    display: block;
}

/* ===== OFFICE MAP ===== */
.office-map {
    margin-top: 16px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.office-map iframe {
    display: block;
    border-radius: var(--radius-md);
}

/* ===== RESPONSIVE FAQ HERO ===== */
@media (max-width: 900px) {
    .faq-hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 60px 24px;
    }

    .faq-hero-photo {
        display: none;
    }

    .faq-hero {
        min-height: 380px;
    }
}

@media (max-width: 480px) {
    .faq-hero-text h1 {
        font-size: 1.8rem;
    }
}