/* ==========================================================================
   Absələddin Əliyev — Vəkil | Main Stylesheet
   ========================================================================== */

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

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

/* Skip navigation link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--navy);
    color: #fdfaf4;
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 8px 8px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 200;
    transition: top 0.2s ease;
    text-decoration: none;
}
.skip-link:focus { top: 0; }

/* Focus visible — keyboard navigation */
:focus-visible {
    outline: 2px solid #c49a6c;
    outline-offset: 3px;
    border-radius: 3px;
}
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

:root {
    --ink: #1a1a1a;
    --paper: #f6f4f0;
    --paper-warm: #fdfaf4;
    --navy: #1a2332;
    --navy-light: #2a3652;
    --gold: #c49a6c;
    --gold-dark: #a87c4a;
    --gold-soft: #e6c9a0;
    --muted: #6b6560;
    --divider: #d8d3ca;
    --card: #fffefa;
    --shadow-sm: 0 2px 8px rgba(26, 35, 50, 0.04);
    --shadow-md: 0 8px 24px rgba(26, 35, 50, 0.08);
    --shadow-lg: 0 20px 60px rgba(26, 35, 50, 0.12);

    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --container: 1200px;
    --container-narrow: 900px;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

/* Grain texture overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--navy);
}

h1 { font-size: clamp(2.2rem, 8vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1em; }

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

em { font-style: italic; color: var(--gold); }

.lead {
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--muted);
    max-width: 620px;
}

/* ---------- Layout ---------- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

section {
    padding: var(--space-xl) 0;
    position: relative;
}

section.compact { padding: var(--space-lg) 0; }

.section-header {
    max-width: 640px;
    margin-bottom: 3rem;
}

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 0;
    background: rgba(246, 244, 240, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.nav.scrolled {
    border-bottom-color: var(--divider);
    padding: 0.85rem 0;
}

.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--navy);
    letter-spacing: -0.01em;
    font-weight: 400;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.nav-logo span { color: var(--gold); }

.nav-logo-img {
    height: 38px;
    width: auto;
    display: block;
    mix-blend-mode: multiply;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    font-size: 0.9rem;
    color: var(--navy);
    font-weight: 500;
    position: relative;
    padding: 0.25rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after { width: 100%; }

.nav-menu a:hover { color: var(--gold); }

/* Dropdown */
.nav-dropdown { position: relative; }

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 1rem);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: var(--card);
    border: 1px solid var(--divider);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    min-width: 240px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    display: block;
}

.nav-dropdown-menu a::after { display: none; }
.nav-dropdown-menu a:hover { background: var(--paper); color: var(--gold); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.lang-switcher {
    display: flex;
    gap: 0.4rem;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
}

.lang-switcher a {
    color: var(--muted);
    padding: 0.25rem 0.5rem;
}

.lang-switcher a.active { color: var(--gold); }

.nav-cta {
    font-size: 0.85rem;
    padding: 0.65rem 1.25rem;
    background: var(--navy);
    color: var(--paper-warm);
    border-radius: 100px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-cta:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    width: 32px;
    height: 32px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    transition: all 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    padding: 10rem 0 6rem;
    position: relative;
    overflow: hidden;
    min-height: 92vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(196, 154, 108, 0.12), transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

.hero-content .eyebrow { margin-bottom: 1.5rem; }

.hero h1 {
    margin-bottom: 1.75rem;
}

.hero h1 em {
    display: block;
    font-style: italic;
    color: var(--gold);
}

.hero-lead {
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--muted);
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

/* Hero visual (3D placeholder) */
.hero-visual {
    position: relative;
    aspect-ratio: 4/5;
    max-width: 500px;
    justify-self: end;
    width: 100%;
}

.hero-photo-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius-lg);
    display: block;
    z-index: 1;
}

.hero-photo-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gold-soft);
    font-family: var(--font-serif);
    text-align: center;
    padding: 2rem;
    z-index: 2;
}

.hero-photo-placeholder .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.4;
}

.hero-photo-placeholder p {
    font-size: 0.85rem;
    opacity: 0.6;
    font-family: var(--font-sans);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-visual-caption {
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--paper-warm);
    border: 1px solid var(--divider);
    padding: 0.85rem 1.5rem;
    border-radius: 100px;
    white-space: nowrap;
    font-size: 0.85rem;
    color: var(--navy);
    box-shadow: var(--shadow-md);
    font-weight: 500;
}

.hero-visual-caption span { color: var(--gold); }

/* <!-- 3D SCROLL ASSET HERE --> placeholder for future generation */

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 100px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    cursor: pointer;
    will-change: transform;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 4px 14px rgba(196, 154, 108, 0.35);
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(196, 154, 108, 0.45);
}

.btn-secondary {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--navy);
}

.btn-secondary:hover {
    background: var(--navy);
    color: var(--paper-warm);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--navy);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--navy);
    border-radius: 0;
}

.btn-ghost:hover { color: var(--gold); border-color: var(--gold); }

.btn-whatsapp {
    background: #25D366;
    border-color: #25D366;
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #1ebe5d;
    border-color: #1ebe5d;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.btn .arrow { transition: transform 0.3s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Credentials Bar ---------- */
.credentials {
    background: var(--navy);
    color: var(--paper-warm);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.credentials::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(196, 154, 108, 0.15), transparent 70%);
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.cred-item {
    text-align: center;
    border-right: 1px solid rgba(196, 154, 108, 0.2);
    padding: 0 1rem;
}

.cred-item:last-child { border-right: none; }

.cred-number {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.5rem;
    display: block;
}

.cred-label {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--paper-warm);
    opacity: 0.7;
}

/* ---------- Services ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--card);
    border: 1px solid var(--divider);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gold);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.service-card:hover::before { transform: scaleY(1); transform-origin: top; }

.service-number {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    color: var(--gold);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    display: block;
}

.service-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    color: var(--navy);
}

.service-card p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--navy);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.service-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.service-card:hover .service-link { color: var(--gold); }
.service-card:hover .service-link::after { transform: translateX(4px); }

/* ---------- Why Me ---------- */
.why-section {
    background: var(--paper-warm);
    border-top: 1px solid var(--divider);
    border-bottom: 1px solid var(--divider);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.why-item {
    background: var(--card);
    border: 1px solid var(--divider);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all 0.35s ease;
}

.why-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.why-section-cta {
    text-align: center;
    margin-top: 3rem;
}

.why-icon {
    width: 40px;
    height: 40px;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.why-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

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

/* ---------- Cases ---------- */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.case-card {
    background: var(--card);
    border: 1px solid var(--divider);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

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

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

.case-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    min-height: 3em;
}

.case-result {
    padding: 1rem 0;
    border-top: 1px solid var(--divider);
    margin-top: 1.5rem;
}

.case-result strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 0.25rem;
}

.case-result span {
    font-size: 0.8rem;
    color: var(--muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ---------- Testimonials ---------- */
.testimonials-section {
    background: var(--navy);
    color: var(--paper-warm);
}

.testimonials-section h2,
.testimonials-section .eyebrow {
    color: var(--paper-warm);
}

.testimonials-section .eyebrow { color: var(--gold); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.testimonial {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(196, 154, 108, 0.2);
    border-radius: var(--radius-md);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--gold);
    opacity: 0.3;
    line-height: 1;
}

.testimonial p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(246, 244, 240, 0.9);
    margin: 2rem 0 1.5rem;
    font-style: italic;
}

.testimonial-author {
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* ---------- Blog Preview ---------- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.blog-card {
    background: var(--card);
    border: 1px solid var(--divider);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

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

.blog-card-image {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--gold) 150%);
    position: relative;
    overflow: hidden;
}

.blog-card-body {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    font-size: 0.72rem;
    color: var(--muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    display: flex;
    gap: 1rem;
}

.blog-meta span.dot { color: var(--gold); }

.blog-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    flex: 1;
}

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

/* ---------- Contact ---------- */
.contact-section {
    background: var(--paper-warm);
    border-top: 1px solid var(--divider);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-section-header {
    margin-bottom: 2.5rem;
}

.contact-section-header .eyebrow {
    margin-bottom: 1rem;
    display: block;
}

.contact-section-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    line-height: 1.15;
    color: var(--navy);
}

.contact-section-header h2 em {
    display: block;
    font-style: italic;
    color: var(--gold);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--navy);
}

.contact-list .icon {
    width: 22px;
    height: 22px;
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.contact-list a {
    color: var(--navy);
    transition: color 0.3s ease;
}

.contact-list a:hover { color: var(--gold); }

.contact-form {
    background: var(--card);
    border: 1px solid var(--divider);
    border-radius: var(--radius-md);
    padding: 2.5rem;
}

.contact-form h3 {
    font-size: 1.4rem;
    margin-bottom: 1.75rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--muted);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--divider);
    border-radius: var(--radius-sm);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.form-submit {
    width: 100%;
    justify-content: center;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--navy);
    color: var(--paper-warm);
    padding: 5rem 0 2rem;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 340px;
}

.footer-logo {
    margin-bottom: 1.25rem;
}

.footer-logo-img {
    height: 90px;
    width: auto;
    display: block;
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(246, 244, 240, 0.65);
    line-height: 1.7;
}

.footer-col h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col a {
    font-size: 0.9rem;
    color: rgba(246, 244, 240, 0.75);
    transition: color 0.3s ease;
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(196, 154, 108, 0.2);
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: rgba(246, 244, 240, 0.5);
    flex-wrap: wrap;
    gap: 1rem;
}

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 99;
    transition: transform 0.3s ease;
}

.whatsapp-float::after {
    content: 'WhatsApp';
    position: absolute;
    right: calc(100% + 0.75rem);
    top: 50%;
    transform: translateY(-50%);
    background: var(--navy);
    color: #fdfaf4;
    padding: 0.4rem 0.9rem;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.whatsapp-float:hover { transform: scale(1.1) rotate(6deg); }
.whatsapp-float:hover::after { opacity: 1; }

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

@media (max-height: 500px) {
    .whatsapp-float { display: none; }
}

/* ---------- Page Hero (for secondary pages) ---------- */
.page-hero {
    padding: 10rem 0 5rem;
    background: var(--paper-warm);
    border-bottom: 1px solid var(--divider);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -20%;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(196, 154, 108, 0.1), transparent 60%);
}

.page-hero-inner {
    max-width: 780px;
    position: relative;
    z-index: 2;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--gold); }

.page-hero h1 {
    margin-bottom: 1.25rem;
}

.page-hero .lead {
    font-size: 1.2rem;
    color: var(--muted);
}

/* ---------- Content Pages (articles, services) ---------- */
.content-block {
    max-width: 780px;
    margin: 0 auto;
}

.content-block h2 { margin: 3rem 0 1rem; }
.content-block h3 { margin: 2rem 0 1rem; }
.content-block p { margin-bottom: 1.25rem; font-size: 1.05rem; line-height: 1.8; color: #3a3835; }
.content-block ul, .content-block ol { margin: 1rem 0 1.5rem 1.5rem; }
.content-block li { margin-bottom: 0.5rem; line-height: 1.75; }

.content-block blockquote {
    border-left: 3px solid var(--gold);
    padding: 1rem 0 1rem 2rem;
    margin: 2rem 0;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--navy);
    font-style: italic;
}

/* ---------- Callout ---------- */
.callout {
    background: linear-gradient(135deg, rgba(196, 154, 108, 0.08), rgba(196, 154, 108, 0.02));
    border: 1px solid rgba(196, 154, 108, 0.3);
    border-left: 4px solid var(--gold);
    padding: 2rem 2.5rem;
    border-radius: var(--radius-md);
    margin: 3rem 0;
}

.callout h3 {
    color: var(--navy);
    margin-bottom: 0.75rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
    .hero-visual { max-width: 420px; margin: 0 auto; justify-self: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .credentials-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem; }
    .cred-item:nth-child(2) { border-right: none; }
    .cred-item { border-bottom: 1px solid rgba(196, 154, 108, 0.1); padding-bottom: 2rem; }
    .cred-item:nth-last-child(-n+2) { border-bottom: none; padding-bottom: 0; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --space-xl: 5rem; --space-lg: 3rem; }
    .nav-menu { display: none; }
    .lang-switcher { display: flex; font-size: 0.85rem; }
    .nav-cta { display: none; }
    .nav-toggle { display: flex; }
    .nav-menu.mobile-open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--paper-warm);
        border-top: 1px solid var(--divider);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.25rem;
        box-shadow: var(--shadow-md);
    }
    /* Mobile dropdown — collapsed by default, toggle with .open class */
    .nav-dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        min-width: 0;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        transition: max-height 0.3s ease, opacity 0.2s ease;
    }
    .nav-dropdown.open .nav-dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 300px;
        padding: 0.5rem 0 0.25rem 1rem;
    }
    /* Chevron indicator */
    .nav-dropdown > a::before {
        content: '▸';
        display: inline-block;
        margin-right: 0.35rem;
        transition: transform 0.25s ease;
        font-size: 0.7rem;
    }
    .nav-dropdown.open > a::before { transform: rotate(90deg); }
    /* Remove the ▾ in nav text on mobile since we use ▸ */
    .nav-dropdown > a { display: flex; align-items: center; }
    .hero { padding: 8rem 0 4rem; min-height: auto; }
    .services-grid,
    .cases-grid,
    .testimonials-grid,
    .blog-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .hero-ctas { flex-direction: column; align-items: stretch; }
    .btn { justify-content: center; }
    .contact-form { padding: 1.75rem; }
    .page-hero { padding: 8rem 0 3rem; }
    .hero-lead { font-size: 1rem; margin-bottom: 1.75rem; }
    .hero-meta { margin-bottom: 0.75rem; gap: 0.4rem; }
    .hero-meta > span:not(.sep) { font-size: 0.75rem; padding: 0.18rem 0.65rem; }
}

@media (max-width: 480px) {
    .container, .container-narrow { padding: 0 1rem; }
    .service-card { padding: 1.75rem; }
    .why-grid { grid-template-columns: 1fr; }
    .credentials-grid { grid-template-columns: 1fr; }
    .cred-item { border-right: none; border-bottom: 1px solid rgba(196, 154, 108, 0.1); padding: 1.5rem 0; }
    .cred-item:last-child { border-bottom: none; }
}

/* ---------- Animations (initial state for GSAP) ---------- */
.anim-fade-up {
    opacity: 0;
    transform: translateY(30px);
    will-change: transform, opacity;
}

.anim-fade-in {
    opacity: 0;
    will-change: opacity;
}

.anim-scale-in {
    opacity: 0;
    transform: scale(0.95);
    will-change: transform, opacity;
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .anim-fade-up,
    .anim-fade-in,
    .anim-scale-in {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ---------- Print ---------- */
@media print {
    body::before,
    .nav,
    .whatsapp-float { display: none; }
    section { page-break-inside: avoid; padding: 2rem 0; }
}

/* ---------- Social Proof Ticker ---------- */
.ticker-wrap {
    background: var(--navy);
    overflow: hidden;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(196,154,108,0.2);
    border-bottom: 1px solid rgba(196,154,108,0.2);
    position: relative;
    z-index: 2;
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker-scroll 30s linear infinite;
    gap: 0;
}

.ticker-wrap:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 3rem;
    white-space: nowrap;
    font-size: 0.85rem;
    color: rgba(246,244,240,0.85);
    font-weight: 400;
}

.ticker-item .tick {
    color: var(--gold);
    font-weight: 600;
    font-size: 1rem;
}

@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .ticker-track { animation: none; }
}

/* ---------- Hero Play Button ---------- */
.play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 3;
    transition: transform 0.2s ease;
}

.play-btn:hover { transform: scale(1.06); }

/* ---------- Hero Meta Trust Signals ---------- */
.hero-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.hero-meta > span:not(.sep) {
    display: inline-flex;
    align-items: center;
    background: rgba(26, 35, 50, 0.05);
    border: 1px solid rgba(26, 35, 50, 0.14);
    border-radius: 100px;
    padding: 0.2rem 0.8rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--navy);
    white-space: nowrap;
}

.hero-meta .sep { display: none; }

/* ---------- Contact Map ---------- */
.contact-map-wrap {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0;
}

/* ---------- Video Modal ---------- */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    cursor: pointer;
}

.video-modal-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: min(360px, 88vw);
    max-height: 96dvh;
}

.video-modal-close {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: #fff;
    width: 2.2rem;
    height: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-bottom: 0.6rem;
    transition: background 0.15s;
    flex-shrink: 0;
}

.video-modal-close:hover { background: rgba(255, 255, 255, 0.22); }

.video-modal-frame {
    width: 100%;
    aspect-ratio: 9 / 16;
    /* Prevent overflow on short viewports (mobile landscape / small phones) */
    max-height: calc(96dvh - 3.5rem);
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 24px 64px rgba(0,0,0,0.6);
}

.video-modal-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
