/*
Theme Name: Anca Filip
Theme URI: https://ancafilip.com
Author: Anca Filip
Description: Custom theme for Anca Filip — Abogada de Extranjería e Inmigración en España
Version: 1.0.0
Text Domain: anca-filip
Domain Path: /languages
*/


/* ═══════════════════════════════════════════════════════════════════════
   DESIGN SYSTEM — CSS Custom Properties
   ═══════════════════════════════════════════════════════════════════════ */
:root {
    /* Brand Colors */
    --color-maroon: #511328;
    --color-maroon-dark: #3a0d1c;
    --color-maroon-light: #6b1a36;
    --color-maroon-rgb: 81, 19, 40;
    --color-cream: #f0eddf;
    --color-cream-dark: #e5e1cf;
    --color-cream-light: #f7f5ec;
    --color-white: #ffffff;
    --color-black: #1a1017;
    --color-text: #2d1f26;
    --color-text-muted: #6e5a63;
    --color-border: #ddd5c8;
    --color-gold: #b8943e;
    --color-gold-light: #d4b35a;

    /* Typography */
    --font-serif: 'Playfair Display', 'Georgia', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-md: 1.125rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: clamp(1.5rem, 1.2rem + 1vw, 2rem);
    --font-size-2xl: clamp(2rem, 1.5rem + 1.5vw, 2.75rem);
    --font-size-3xl: clamp(2.5rem, 1.8rem + 2.2vw, 3.75rem);
    --font-size-hero: clamp(2.75rem, 2rem + 2.5vw, 4.5rem);
    --line-height-tight: 1.15;
    --line-height-snug: 1.3;
    --line-height-normal: 1.6;
    --line-height-relaxed: 1.8;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;
    --space-section: clamp(4rem, 3rem + 4vw, 8rem);

    /* Layout */
    --container-max: 1200px;
    --container-narrow: 800px;
    --header-height: 80px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(var(--color-maroon-rgb), 0.06);
    --shadow-md: 0 8px 30px rgba(var(--color-maroon-rgb), 0.10);
    --shadow-lg: 0 20px 60px rgba(var(--color-maroon-rgb), 0.15);
    --shadow-card: 0 4px 20px rgba(var(--color-maroon-rgb), 0.08);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}


/* ═══════════════════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 1rem);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    color: var(--color-text);
    background-color: var(--color-cream);
    overflow-x: hidden;
}

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

a {
    color: var(--color-maroon);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-maroon-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: var(--line-height-tight);
    color: var(--color-maroon-dark);
}

p {
    margin-bottom: 1em;
}

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

ul, ol {
    list-style: none;
}


/* ═══════════════════════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════════════════════ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container--narrow {
    max-width: var(--container-narrow);
}

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

.section--cream {
    background-color: var(--color-cream);
}

.section--white {
    background-color: var(--color-white);
}

.section--maroon {
    background-color: var(--color-maroon);
    color: var(--color-cream);
    overflow: hidden;
    padding-bottom: calc(var(--space-section) + 80px);
}

.section--cta {
    background-color: var(--color-maroon);
    color: var(--color-cream);
    overflow: hidden;
    padding: var(--space-3xl) 0;
}


/* ═══════════════════════════════════════════════════════════════════════
   ACCESSIBILITY
   ═══════════════════════════════════════════════════════════════════════ */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-maroon);
    color: var(--color-white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    z-index: 10000;
    font-size: var(--font-size-sm);
}

.skip-link:focus {
    top: var(--space-xs);
    color: var(--color-white);
}


/* ═══════════════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════════════ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(var(--color-maroon-rgb), 0.08);
    height: var(--header-height);
    transition: box-shadow var(--transition-base);
}

.admin-bar .site-header {
    top: 32px;
}

.site-header.is-scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: var(--space-md);
}

/* Logo */
.header-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    flex-shrink: 0;
}

.header-logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.header-logo-svg {
    height: 100px;
    width: auto;
}

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

.header-logo-name {
    font-family: var(--font-serif);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-maroon);
    letter-spacing: 0.02em;
}

.header-logo-desc {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
}

/* Desktop Nav */
.header-nav {
    display: none;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-list li a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text);
    letter-spacing: 0.02em;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--color-maroon);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-base);
}

.nav-list li a:hover {
    color: var(--color-maroon);
}

.nav-list li a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Header Actions */
.header-actions {
    display: none;
    align-items: center;
    gap: var(--space-sm);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 2px;
    background: var(--color-cream);
    border-radius: var(--radius-full);
    padding: 2px;
}

.lang-btn {
    display: block;
    padding: 4px 10px;
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--color-text-muted);
    border-radius: var(--radius-full);
    letter-spacing: 0.04em;
    transition: all var(--transition-fast);
}

.lang-btn:hover {
    color: var(--color-maroon);
}

.lang-btn--active {
    background: var(--color-maroon);
    color: var(--color-white);
}

.lang-btn--active:hover {
    color: var(--color-white);
}

/* Language Dropdown (desktop) */
.lang-dropdown {
    position: relative;
}

.lang-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--color-maroon);
    background: var(--color-cream);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    letter-spacing: 0.04em;
    transition: all var(--transition-fast);
    font-family: var(--font-sans);
}

.lang-dropdown-btn:hover {
    background: #e5e1d0;
}

.lang-dropdown-chevron {
    transition: transform var(--transition-fast);
    color: var(--color-text-muted);
}

.lang-dropdown.is-open .lang-dropdown-chevron {
    transform: rotate(180deg);
}

.lang-dropdown-list {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 150px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    list-style: none;
    padding: 4px;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity var(--transition-fast), visibility var(--transition-fast), transform var(--transition-fast);
    z-index: 200;
}

.lang-dropdown.is-open .lang-dropdown-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: calc(var(--radius-md) - 4px);
    text-decoration: none;
    transition: background var(--transition-fast);
}

.lang-dropdown-item:hover {
    background: var(--color-cream);
}

.lang-dropdown-item--active {
    background: var(--color-maroon);
    pointer-events: none;
}

.lang-dropdown-item--active:hover {
    background: var(--color-maroon);
}

.lang-dropdown-code {
    font-size: var(--font-size-xs);
    font-weight: 700;
    color: var(--color-maroon);
    min-width: 22px;
    letter-spacing: 0.04em;
}

.lang-dropdown-item--active .lang-dropdown-code {
    color: var(--color-gold);
}

.lang-dropdown-name {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    flex: 1;
}

.lang-dropdown-item--active .lang-dropdown-name {
    color: rgba(255, 255, 255, 0.85);
}

.lang-dropdown-flag {
    font-size: 14px;
    line-height: 1;
}

.header-cta {
    white-space: nowrap;
}

/* Mobile Toggle */
.mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger {
    width: 22px;
    height: 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-maroon);
    border-radius: 2px;
    transition: all var(--transition-base);
    transform-origin: center;
}

/* Hamburger → X */
.mobile-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] .hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    overflow-y: auto;
    padding: var(--space-lg) var(--space-md);
}

.admin-bar .mobile-nav {
    top: calc(var(--header-height) + 32px);
}

.mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-nav-list li a {
    display: block;
    padding: 1rem 0;
    font-size: var(--font-size-lg);
    font-family: var(--font-serif);
    font-weight: 500;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.mobile-nav-list li a:hover {
    color: var(--color-maroon);
    padding-left: 0.5rem;
}

.mobile-nav-footer {
    margin-top: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.lang-switcher--mobile {
    justify-content: flex-start;
}

.mobile-nav-cta {
    text-align: center;
}


/* ═══════════════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: var(--font-size-sm);
    letter-spacing: 0.03em;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: var(--font-size-xs);
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: var(--font-size-base);
}

.btn-primary {
    background: var(--color-maroon);
    color: var(--color-white);
    border-color: var(--color-maroon);
}

.btn-primary:hover {
    background: var(--color-maroon-light);
    border-color: var(--color-maroon-light);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--color-maroon-rgb), 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--color-cream);
    border-color: rgba(240, 237, 223, 0.4);
}

.btn-outline:hover {
    background: rgba(240, 237, 223, 0.1);
    border-color: var(--color-cream);
    color: var(--color-cream);
    transform: translateY(-2px);
}

.btn-light {
    background: var(--color-cream);
    color: var(--color-maroon);
    border-color: var(--color-cream);
}

.btn-light:hover {
    background: var(--color-white);
    border-color: var(--color-white);
    color: var(--color-maroon);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-arrow {
    transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-icon {
    flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════════════════════════════════ */
.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.section-tagline {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gold);
    margin-bottom: var(--space-xs);
}

.section-title {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    margin-top: 0.25rem;
}

.section-header--light .section-tagline {
    color: var(--color-gold-light);
}

.section-header--light .section-title {
    color: var(--color-cream);
}


/* ═══════════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    background: var(--color-maroon);
    color: var(--color-cream);
    overflow: hidden;
    padding: var(--space-3xl) 0 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.75;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(var(--color-maroon-rgb), 0.95) 0%,
        rgba(var(--color-maroon-rgb), 0.75) 50%,
        rgba(var(--color-maroon-rgb), 0.85) 100%
    );
}

/* Decorative circles */
.hero-decorative {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(240, 237, 223, 0.07);
}

.hero-circle--1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.hero-circle--2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding-bottom: var(--space-3xl);
}

/* Hero Logo */
.hero-logo {
    margin-bottom: var(--space-md);
}

.hero-logo-img {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.hero-tagline {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-gold-light);
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-gold);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: var(--font-size-hero);
    font-weight: 700;
    color: var(--color-cream);
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-md);
}

.hero-subtitle {
    font-size: var(--font-size-md);
    line-height: var(--line-height-relaxed);
    color: rgba(240, 237, 223, 0.8);
    margin-bottom: var(--space-lg);
    max-width: 580px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    line-height: 0;
    z-index: 3;
}

.hero-wave svg {
    width: 100%;
    height: auto;
    display: block;
    min-height: 60px;
}


/* ═══════════════════════════════════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════════════════════════════════ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3 / 4;
    max-width: 420px;
    margin: 0 auto;
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-placeholder {
    background: linear-gradient(135deg, var(--color-maroon) 0%, var(--color-maroon-light) 100%);
}

.about-image-accent {
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 60%;
    height: 60%;
    border: 3px solid var(--color-gold);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-stats {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
    justify-content: center;
}

.about-stat {
    text-align: center;
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-md);
    box-shadow: var(--shadow-card);
    min-width: 130px;
}

.about-stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-maroon);
    line-height: 1.2;
}

.about-stat-label {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
    margin-top: 0.25rem;
}

.about-stat-detail {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--color-gold);
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-top: 0.15rem;
}

.about-text-col .section-tagline {
    text-align: left;
}

.about-text-col .section-title {
    text-align: left;
    margin-bottom: var(--space-md);
}

.about-body {
    font-size: var(--font-size-md);
    line-height: var(--line-height-relaxed);
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.about-body p + p {
    margin-top: 1em;
}


/* ═══════════════════════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════════════════════ */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.service-card {
    background: var(--color-cream-light);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    transition: all var(--transition-base);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--color-maroon);
    transition: height var(--transition-slow);
    border-radius: 0 0 4px 0;
}

.service-card:hover {
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    border-color: rgba(var(--color-maroon-rgb), 0.08);
    transform: translateY(-4px);
}

.service-card:hover::before {
    height: 100%;
}

.service-card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-maroon);
    color: var(--color-cream);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    transition: background var(--transition-base);
}

.service-card:hover .service-card-icon {
    background: var(--color-maroon-light);
}

.service-card-icon svg {
    stroke: currentColor;
}

.service-card-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-maroon-dark);
    margin-bottom: 0.75rem;
}

.service-card-desc {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-maroon);
    opacity: 0;
    transform: translateX(-8px);
    transition: all var(--transition-base);
}

.service-card:hover .service-card-link {
    opacity: 1;
    transform: translateX(0);
}

.service-card-link svg {
    transition: transform var(--transition-fast);
}

.service-card:hover .service-card-link svg {
    transform: translateX(3px);
}


/* ═══════════════════════════════════════════════════════════════════════
   PROCESS TIMELINE
   ═══════════════════════════════════════════════════════════════════════ */
.process-timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.process-step-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    font-family: var(--font-serif);
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-gold-light);
}

.process-step-content {
    flex: 1;
    padding-top: 0.25rem;
}

.process-step-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-cream);
    margin-bottom: 0.5rem;
}

.process-step-desc {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
    color: rgba(240, 237, 223, 0.7);
}

/* Section Wave */
.section-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    line-height: 0;
}

.section-wave svg {
    width: 100%;
    height: auto;
    display: block;
    min-height: 50px;
}


/* ═══════════════════════════════════════════════════════════════════════
   LOCATION / MAP
   ═══════════════════════════════════════════════════════════════════════ */
.location-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 300px;
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.location-map iframe {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}

.location-map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    color: var(--color-text-muted);
    gap: var(--space-sm);
}

.location-map-placeholder svg {
    opacity: 0.4;
}

.location-map-placeholder p {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    justify-content: center;
}

.location-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: var(--font-size-md);
    color: var(--color-text);
}

.location-info-item svg {
    flex-shrink: 0;
    color: var(--color-maroon);
}

.location-info-item a {
    color: var(--color-text);
    transition: color var(--transition-fast);
}

.location-info-item a:hover {
    color: var(--color-maroon);
}


/* ═══════════════════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════════════════ */
.cta-decorative {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cta-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(240, 237, 223, 0.08);
}

.cta-circle--1 {
    width: 500px;
    height: 500px;
    top: -200px;
    right: -150px;
}

.cta-circle--2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -50px;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: var(--font-size-2xl);
    color: var(--color-cream);
    margin-bottom: var(--space-sm);
}

.cta-text {
    font-size: var(--font-size-md);
    line-height: var(--line-height-relaxed);
    color: rgba(240, 237, 223, 0.8);
    margin-bottom: var(--space-lg);
}

.cta-actions {
    margin-bottom: var(--space-lg);
}

.cta-contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
}

.cta-info-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-sm);
    color: rgba(240, 237, 223, 0.7);
    transition: color var(--transition-fast);
}

.cta-info-item:hover {
    color: var(--color-cream);
}

.cta-info-item svg {
    flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════ */
.site-footer {
    position: relative;
}

.footer-wave {
    line-height: 0;
    margin-bottom: -2px;
}

.footer-wave svg {
    width: 100%;
    height: auto;
    display: block;
    min-height: 40px;
}

.footer-main {
    background: var(--color-maroon);
    color: var(--color-cream);
    padding: var(--space-xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.footer-col--brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-emblem {
    margin: 0;
}

.footer-emblem-img {
    height: 200px;
    width: auto;
    opacity: 0.85;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(240, 237, 223, 0.1);
    color: var(--color-cream);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--color-gold);
    color: var(--color-maroon-dark);
    transform: translateY(-2px);
}

.footer-col-title {
    font-family: var(--font-sans);
    font-size: var(--font-size-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold-light);
    margin-bottom: var(--space-sm);
}

.footer-nav-list li {
    margin-bottom: 0.5rem;
}

.footer-nav-list li a {
    font-size: var(--font-size-sm);
    color: rgba(240, 237, 223, 0.7);
    transition: all var(--transition-fast);
}

.footer-nav-list li a:hover {
    color: var(--color-cream);
    padding-left: 0.25rem;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: var(--font-size-sm);
    color: rgba(240, 237, 223, 0.7);
}

.footer-contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-gold);
}

.footer-contact-item a {
    color: rgba(240, 237, 223, 0.7);
    transition: color var(--transition-fast);
}

.footer-contact-item a:hover {
    color: var(--color-cream);
}

/* Footer Bottom */
.footer-bottom {
    background: var(--color-maroon-dark);
    padding: var(--space-sm) 0;
}

.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.footer-copyright {
    font-size: var(--font-size-xs);
    color: rgba(240, 237, 223, 0.5);
}

.footer-legal {
    font-size: var(--font-size-xs);
}

.footer-legal a {
    color: rgba(240, 237, 223, 0.5);
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--color-cream);
}

.footer-sep {
    margin: 0 0.5rem;
    color: rgba(240, 237, 223, 0.3);
}


/* ═══════════════════════════════════════════════════════════════════════
   WHATSAPP FLOATING BUTTON
   ═══════════════════════════════════════════════════════════════════════ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 900;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
    transition: all var(--transition-base);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    color: var(--color-white);
}


/* ═══════════════════════════════════════════════════════════════════════
   SCROLL TO TOP BUTTON
   ═══════════════════════════════════════════════════════════════════════ */
.scroll-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 900;
    width: 44px;
    height: 44px;
    background: var(--color-maroon);
    color: var(--color-cream);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
}

.scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--color-maroon-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}


/* ═══════════════════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════ */
.animate-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-in-delay-1 { transition-delay: 0.1s; }
.animate-in-delay-2 { transition-delay: 0.2s; }
.animate-in-delay-3 { transition-delay: 0.3s; }
.animate-in-delay-4 { transition-delay: 0.4s; }


/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE — Tablet (768px+)
   ═══════════════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1.2fr;
        gap: var(--space-2xl);
    }

    .about-image-wrapper {
        margin: 0;
    }

    .about-stats {
        justify-content: flex-start;
    }

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

    .location-grid {
        grid-template-columns: 1.5fr 1fr;
    }

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

    .footer-bottom-inner {
        flex-direction: row;
        justify-content: space-between;
    }

    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE — Desktop (1024px+)
   ═══════════════════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
    .mobile-toggle {
        display: none;
    }

    .header-nav {
        display: block;
    }

    .header-actions {
        display: flex;
    }

    .services-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .services-grid .service-card {
        flex: 0 0 calc((100% - 2 * var(--space-md)) / 3);
    }

    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr 1.5fr;
        align-items: center;
    }
}


/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE — Small phones (480px and below)
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .about-stats {
        flex-direction: column;
        align-items: center;
    }

    .about-stat {
        width: 100%;
    }

    .cta-contact-info {
        flex-direction: column;
        align-items: center;
    }

    .header-logo-name {
        font-size: var(--font-size-base);
    }

    .header-logo-desc {
        display: none;
    }
}


/* ═══════════════════════════════════════════════════════════════════════
   RTL SUPPORT (Arabic)
   ═══════════════════════════════════════════════════════════════════════ */

/* Arabic headings: Playfair Display has no Arabic glyphs — fall back to system sans */
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6,
[dir="rtl"] .hero-title,
[dir="rtl"] .section-title,
[dir="rtl"] .hero-tagline,
[dir="rtl"] .section-tagline {
    font-family: 'Inter', 'Segoe UI', Tahoma, Arial, sans-serif;
}

/* Flip overall layout direction */
[dir="rtl"] .header-inner,
[dir="rtl"] .hero-actions,
[dir="rtl"] .footer-inner,
[dir="rtl"] .cta-contact-info {
    flex-direction: row-reverse;
}

[dir="rtl"] .header-logo {
    margin-right: 0;
    margin-left: auto;
}

/* Text alignment */
[dir="rtl"] .hero-content,
[dir="rtl"] .section-header,
[dir="rtl"] .about-text,
[dir="rtl"] .service-card,
[dir="rtl"] .step-content,
[dir="rtl"] .footer-col {
    text-align: right;
}

/* Nav list */
[dir="rtl"] .nav-list {
    flex-direction: row-reverse;
}

/* Flip arrow icons */
[dir="rtl"] .btn-arrow,
[dir="rtl"] .btn-icon {
    transform: scaleX(-1);
}

[dir="rtl"] .faq-chevron {
    margin-left: 0;
    margin-right: auto;
}

[dir="rtl"] .faq-question {
    flex-direction: row-reverse;
}

/* Header actions: reverse internal order (lang ↔ CTA) on RTL */
[dir="rtl"] .header-actions {
    flex-direction: row-reverse;
}

/* Lang dropdown: open to the right on RTL (matches reversed position) */
[dir="rtl"] .lang-dropdown-list {
    right: 0;
    left: auto;
}

/* Step numbers alignment */
[dir="rtl"] .step-number {
    margin-right: 0;
    margin-left: var(--space-sm);
}

/* Location info items */
[dir="rtl"] .location-info-item,
[dir="rtl"] .footer-contact-item {
    flex-direction: row-reverse;
}

/* ═══════════════════════════════════════════════════════════════════════
   WP ADMIN BAR ADJUSTMENTS
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }

    .admin-bar .mobile-nav {
        top: calc(var(--header-height) + 46px);
    }
}


/* ═══════════════════════════════════════════════════════════════════════
   PAGE TEMPLATE (page.php)
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Page Hero ─────────────────────────────────────────────────────── */
.page-hero {
    background: var(--color-maroon);
    padding: calc(var(--header-height) + var(--space-xl)) 0 0;
    position: relative;
    text-align: center;
}

.page-hero-breadcrumb {
    margin-bottom: var(--space-sm);
}

.page-hero-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.65);
    font-family: var(--font-sans);
    font-size: var(--font-size-sm);
    font-weight: 500;
    letter-spacing: 0.03em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color var(--transition-fast);
}

.page-hero-back:hover {
    color: var(--color-gold-light);
}

.page-hero-title {
    font-family: var(--font-serif);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-white);
    line-height: var(--line-height-snug);
    margin-bottom: var(--space-lg);
}

.page-hero-wave {
    display: block;
    line-height: 0;
}

.page-hero-wave svg {
    width: 100%;
    display: block;
}

/* ── Page Body ─────────────────────────────────────────────────────── */
.page-body {
    padding: var(--space-xl) 0 var(--space-2xl);
    margin-top: -2px;
    position: relative;
}

/* ── Prose — rich-text content typography ──────────────────────────── */
.prose {
    font-family: var(--font-sans);
    font-size: var(--font-size-md);
    line-height: var(--line-height-relaxed);
    color: var(--color-text);
}

.prose h2 {
    font-family: var(--font-serif);
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-maroon);
    line-height: var(--line-height-snug);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-xs);
}

.prose h3 {
    font-family: var(--font-serif);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-maroon);
    line-height: var(--line-height-snug);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-xs);
}

.prose h4 {
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-top: var(--space-md);
    margin-bottom: var(--space-xs);
}

.prose p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.prose strong {
    font-weight: 600;
    color: var(--color-text);
}

.prose em {
    font-style: italic;
}

.prose a {
    color: var(--color-maroon);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: color var(--transition-fast);
}

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

.prose ul,
.prose ol {
    padding-left: 1.5rem;
    margin-bottom: var(--space-sm);
}

.prose li {
    color: var(--color-text-muted);
    margin-bottom: 0.35rem;
}

.prose ul li::marker {
    color: var(--color-gold);
}

.prose ol li::marker {
    color: var(--color-maroon);
    font-weight: 600;
}

.prose hr {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: var(--space-lg) 0;
}

.prose blockquote {
    border-left: 3px solid var(--color-gold);
    padding: var(--space-xs) 0 var(--space-xs) var(--space-md);
    margin: var(--space-md) 0;
    font-style: italic;
    color: var(--color-text-muted);
}

/* Last-updated meta line */
.prose .page-updated {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    font-style: italic;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
}
