:root {
    --primary-orange: #E8A33D;
    --primary-orange-dark: #c88828;
    --gold: #d4af37;
    --gold-light: #f0d070;
    --primary-grey: #2a2a2a;
    --secondary-grey: #333333;
    --tertiary-grey: #3f3f3f;
    --light-grey: #8a8a8a;
    --bg-grey: #262626;
    --bg-darker: #1e1e1e;
    --text-light: #e5e5e5;
    --text-muted: #a0a0a0;
    --white: #ffffff;
    --black: #000000;
    --shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    --shadow-lux: 0 25px 70px rgba(0, 0, 0, 0.5);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-grey);
    color: var(--text-light);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.15;
}

h1 .accent,
h2 .accent,
h3 .accent {
    background: linear-gradient(135deg, var(--primary-orange), var(--gold-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
    font-weight: 400;
}

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

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 22px 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: background 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                padding 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                backdrop-filter 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar.scrolled {
    padding: 14px 0;
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 56px);
    gap: 24px;
}

.nav-logo img {
    height: 54px;
    width: auto;
    transition: var(--transition);
    display: block;
}

.navbar.scrolled .nav-logo img {
    height: 44px;
}

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

.nav-menu a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    position: relative;
    padding: 6px 0;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-orange);
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--white);
}

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

.nav-cta {
    background: var(--primary-orange);
    color: var(--black) !important;
    padding: 12px 22px !important;
    border-radius: 0;
    border: 1px solid var(--primary-orange);
    font-weight: 500 !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.14em;
    white-space: nowrap;
    transition: background 0.4s ease, color 0.4s ease;
}

.nav-cta:hover {
    background: transparent;
    color: var(--primary-orange) !important;
    transform: none;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 4px;
    padding-left: 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1px;
    cursor: pointer;
    padding: 3px 6px;
    border-radius: 4px;
    transition: var(--transition);
    font-family: inherit;
}

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

.lang-btn.active {
    color: var(--primary-orange);
    background: rgba(232, 163, 61, 0.1);
}

.lang-divider {
    color: var(--text-muted);
    opacity: 0.4;
    font-size: 12px;
}

.nav-cta:hover {
    background: var(--primary-orange-dark);
    transform: translateY(-2px);
}

.nav-cta::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary-orange);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--black);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background:
        linear-gradient(125deg, rgba(26,26,26,0.85) 0%, rgba(42,42,42,0.75) 25%, rgba(31,31,31,0.85) 50%, rgba(42,36,32,0.8) 75%, rgba(26,26,26,0.9) 100%),
        url('../images/hero-bg.jpg') center/cover no-repeat;
    background-size: 400% 400%, cover;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(232, 163, 61, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(232, 163, 61, 0.1) 0%, transparent 40%);
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-orange);
    border-radius: 50%;
    opacity: 0.5;
    animation: floatUp 15s linear infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.35) 100%);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(232, 163, 61, 0.15);
    border: 1px solid rgba(232, 163, 61, 0.3);
    color: var(--primary-orange);
    border-radius: 50px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
    font-weight: 600;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero h1 .accent {
    color: var(--primary-orange);
    display: inline-block;
    position: relative;
}

.hero p {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.55;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 16px 36px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary-orange);
    color: var(--black);
}

.btn-primary:hover {
    background: var(--primary-orange-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(232, 163, 61, 0.4);
}

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

.btn-outline:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 25px;
    height: 40px;
    border: 2px solid var(--primary-orange);
    border-radius: 20px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary-orange);
    border-radius: 2px;
    animation: scrollDot 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes scrollDot {
    0%, 100% { opacity: 1; top: 8px; }
    50% { opacity: 0.3; top: 20px; }
}

/* ===== SECTION STYLES ===== */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-tag {
    display: inline-block;
    color: var(--primary-orange);
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 600;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 20px;
}

.section-title .accent {
    color: var(--primary-orange);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== PARALLAX SECTION ===== */
.parallax-section {
    position: relative;
    min-height: 500px;
    background:
        linear-gradient(135deg, rgba(26,26,26,0.85) 0%, rgba(31,31,31,0.9) 100%),
        url('../images/parallax-cta1.jpg') center/cover no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.parallax-section.parallax-exterior {
    background:
        linear-gradient(135deg, rgba(26,26,26,0.82) 0%, rgba(31,31,31,0.9) 100%),
        url('../images/parallax-cta1.jpg') center/cover no-repeat;
    background-attachment: fixed;
}

.parallax-section.parallax-interior {
    background:
        linear-gradient(135deg, rgba(26,26,26,0.82) 0%, rgba(31,31,31,0.9) 100%),
        url('../images/about-parallax.jpg') center/cover no-repeat;
    background-attachment: fixed;
}

.parallax-section.parallax-office {
    background:
        linear-gradient(135deg, rgba(26,26,26,0.85) 0%, rgba(31,31,31,0.9) 100%),
        url('../images/faqs-parallax.jpg') center/cover no-repeat;
    background-attachment: fixed;
}

.parallax-section.parallax-team {
    background:
        linear-gradient(135deg, rgba(26,26,26,0.82) 0%, rgba(31,31,31,0.9) 100%),
        url('../images/agents-parallax.jpg') center/cover no-repeat;
    background-attachment: fixed;
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 50%, rgba(232, 163, 61, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(232, 163, 61, 0.08) 0%, transparent 50%);
}

.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 20px;
    max-width: 800px;
}

.parallax-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 20px;
}

.parallax-content p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* ===== FEATURES/SERVICES ===== */
.features {
    background: var(--bg-grey);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

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

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

.feature-card {
    background: var(--primary-grey);
    padding: 0;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card .feature-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.feature-card .feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-image img {
    transform: scale(1.1);
}

.feature-card .feature-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(42,42,42,0.9));
}

.feature-card .feature-body {
    padding: 30px;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(232, 163, 61, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(232, 163, 61, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 24px;
    color: var(--primary-orange);
}

.feature-card h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== STATS SECTION ===== */
.stats {
    background:
        linear-gradient(135deg, rgba(42,42,42,0.95) 0%, rgba(26,26,26,0.95) 100%),
        url('../images/parallax-cta2.jpg') center/cover no-repeat;
    background-attachment: fixed;
    padding: 80px 0;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-orange);
    font-family: 'Georgia', serif;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 500;
}

/* ===== CTA LINKED SECTION ===== */
.linked-sites {
    background: var(--bg-grey);
}

.linked-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.linked-card {
    background: linear-gradient(135deg, var(--primary-grey) 0%, var(--secondary-grey) 100%);
    padding: 0;
    border-radius: 10px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.linked-card .linked-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.linked-card .linked-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.linked-card:hover .linked-image img {
    transform: scale(1.08);
}

.linked-card .linked-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2), rgba(42,42,42,0.9));
}

.linked-card .linked-body {
    padding: 40px 35px;
}

.linked-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(232, 163, 61, 0.1), transparent);
    opacity: 0;
    transition: var(--transition);
}

.linked-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-orange);
}

.linked-card:hover::after {
    opacity: 1;
}

.linked-card h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.linked-card .tag {
    display: inline-block;
    color: var(--primary-orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.linked-card p {
    color: var(--text-muted);
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.linked-card .btn {
    position: relative;
    z-index: 2;
}

/* ===== PAGE HEADER ===== */
.page-header {
    padding: 180px 0 100px;
    background:
        linear-gradient(135deg, rgba(26,26,26,0.9) 0%, rgba(31,31,31,0.95) 100%),
        url('../images/agents-header.jpg') center/cover no-repeat;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(232, 163, 61, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(232, 163, 61, 0.08) 0%, transparent 50%);
    animation: pulseGlow 10s ease-in-out infinite;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--white);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.page-header .breadcrumb {
    color: var(--text-muted);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.page-header .breadcrumb a {
    color: var(--primary-orange);
}

.page-header .breadcrumb a:hover {
    color: var(--white);
}

/* ===== ABOUT PAGE ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    min-height: 450px;
    border: 1px solid rgba(232, 163, 61, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.1), rgba(0,0,0,0.4));
    pointer-events: none;
}

.about-image .image-badge {
    position: absolute;
    bottom: 25px;
    left: 25px;
    padding: 12px 24px;
    background: var(--primary-orange);
    color: var(--black);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    border-radius: 4px;
    z-index: 2;
}

.about-text .tag {
    color: var(--primary-orange);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.about-text h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-features {
    list-style: none;
    margin-top: 30px;
}

.about-features li {
    color: var(--text-light);
    padding: 10px 0 10px 35px;
    position: relative;
}

.about-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 10px;
    width: 24px;
    height: 24px;
    background: var(--primary-orange);
    color: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

/* ===== VALUES ===== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    text-align: center;
    padding: 40px 25px;
    background: var(--primary-grey);
    border-radius: 10px;
    transition: var(--transition);
    border-top: 3px solid var(--primary-orange);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.value-card .value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(232, 163, 61, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-orange);
}

.value-card h4 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== AGENTS PAGE ===== */
.agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.agent-card {
    background: var(--primary-grey);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.agent-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(232, 163, 61, 0.3);
}

.agent-image {
    position: relative;
    height: 340px;
    overflow: hidden;
    background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.agent-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.agent-card:hover .agent-image img {
    transform: scale(1.08);
}

.agent-image.no-photo {
    background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 100%);
    padding: 40px;
}

.agent-image.no-photo img {
    width: auto;
    max-width: 80%;
    height: auto;
    max-height: 70%;
    object-fit: contain;
    opacity: 0.9;
}

.agent-card:hover .agent-image.no-photo img {
    transform: scale(1.05);
}

.agent-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.75) 100%);
    pointer-events: none;
}

.agent-image.no-photo::after {
    display: none;
}

.agent-info {
    padding: 25px;
    text-align: center;
}

.agent-info h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.agent-info .agent-role {
    color: var(--primary-orange);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.agent-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.agent-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.agent-social a {
    width: 36px;
    height: 36px;
    background: var(--tertiary-grey);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition);
}

.agent-social a:hover {
    background: var(--primary-orange);
    color: var(--black);
    transform: translateY(-3px);
}

.agent-social a.whatsapp {
    background: rgba(37, 211, 102, 0.15);
    color: #25D366;
}

.agent-social a.whatsapp svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    display: block;
}

.agent-social a.whatsapp:hover {
    background: #25D366;
    color: white;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 90px);
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    border-top: none;
}

.contact-info .eyebrow {
    display: inline-block;
    color: var(--primary-orange);
    font-size: 12px;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 8px;
}

.contact-info h3 {
    color: var(--white);
    margin-bottom: 12px;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 400;
    letter-spacing: -0.015em;
    line-height: 1.1;
}

.contact-info > p.lede {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 480px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-detail .icon {
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    font-size: 16px;
    flex-shrink: 0;
}

.contact-detail h4 {
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 6px;
}

.contact-detail p,
.contact-detail a {
    color: var(--white);
    font-size: 0.98rem;
    line-height: 1.6;
}

.contact-detail a:hover {
    color: var(--primary-orange);
}

.contact-form {
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.contact-form h3 {
    color: var(--white);
    margin-bottom: 8px;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 400;
    letter-spacing: -0.015em;
    line-height: 1.1;
}

.contact-form .form-lede {
    color: var(--text-muted);
    margin-bottom: 36px;
    font-size: 1rem;
}

.contact-form .eyebrow {
    display: inline-block;
    color: var(--primary-orange);
    font-size: 12px;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-group label {
    display: block;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 0;
    color: var(--white);
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-bottom-color: var(--primary-orange);
    background: transparent;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23E8A33D' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    padding-right: 24px;
    cursor: pointer;
}

.form-group select option {
    background: var(--bg-grey);
    color: var(--white);
}

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

.contact-form .btn {
    margin-top: 10px;
}

.form-message {
    padding: 14px;
    margin-top: 18px;
    text-align: center;
    display: none;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.1);
    color: #81c784;
    border: 1px solid rgba(76, 175, 80, 0.3);
    display: block;
}

.form-message.error {
    background: rgba(244, 67, 54, 0.1);
    color: #e57373;
    border: 1px solid rgba(244, 67, 54, 0.3);
    display: block;
}

.contact-section {
    background: linear-gradient(180deg, var(--bg-grey) 0%, #1c1c1c 100%);
}

/* ===== FAQ PAGE ===== */
.faq-container {
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    background: var(--primary-grey);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.faq-item.active {
    border-color: rgba(232, 163, 61, 0.3);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    user-select: none;
}

.faq-question:hover {
    color: var(--primary-orange);
}

.faq-item.active .faq-question {
    color: var(--primary-orange);
    border-bottom: 1px solid rgba(232, 163, 61, 0.2);
}

.faq-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(232, 163, 61, 0.15);
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-item.active .faq-icon {
    background: var(--primary-orange);
    color: var(--black);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 25px 30px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ===== FOOTER ===== */
.footer {
    background: #0f0f0f;
    padding: 70px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand img {
    height: 50px;
    margin-bottom: 20px;
    display: block;
}

.footer-brand p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
    max-width: 350px;
}

.footer h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-orange);
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer ul a:hover {
    color: var(--primary-orange);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

.footer-bottom .accent {
    color: var(--primary-orange);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-image {
        min-height: 350px;
    }
}

@media (max-width: 1100px) {
    .nav-menu { gap: 22px; }
    .nav-menu a { font-size: 0.68rem; letter-spacing: 0.12em; }
    .nav-cta { padding: 10px 18px !important; font-size: 0.66rem !important; }
}

@media (max-width: 992px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: calc(100vh - 80px);
        gap: 20px;
        background: rgba(15, 15, 15, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 30px;
        gap: 20px;
        transition: right 0.4s ease;
        border-left: 1px solid rgba(232, 163, 61, 0.2);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-cta {
        width: 100%;
        text-align: center;
    }

    .hero {
        min-height: 550px;
    }

    .parallax-section {
        background-attachment: scroll;
        min-height: 400px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    section {
        padding: 70px 0;
    }

    .page-header {
        padding: 140px 0 70px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .nav-logo img {
        height: 40px;
    }
}


/* ==== Refresh 2026-11-24: page titles, services panels, agents ==== */
:root {
    --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --ink: #f4efe6;
    --ink-muted: rgba(244, 239, 230, 0.72);
}


/* Page titles */
.page-header {
    padding: clamp(170px, 24vh, 230px) 0 clamp(96px, 13vh, 140px);
    background:
        radial-gradient(ellipse 58% 50% at 50% 50%, rgba(14, 14, 16, 0.34) 0%, rgba(14, 14, 16, 0) 100%),
        linear-gradient(180deg, rgba(14, 14, 16, 0.18) 0%, rgba(14, 14, 16, 0.36) 100%),
        var(--pt-photo, url('../images/agents-header.jpg')) center / cover no-repeat;
}
.page-header::before { display: none; }
.page-header .container { max-width: 1040px; }
.pt-eyebrow {
    display: block;
    position: relative;
    z-index: 2;
    margin-bottom: 26px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--primary-orange);
}
.page-header h1 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(2.5rem, 5.2vw, 4.5rem);
    line-height: 1.12;
    color: var(--ink);
    max-width: 20ch;
    margin: 0 auto 28px;
    text-wrap: balance;
}
.page-header h1 em { font-style: italic; }
.pt-lead {
    position: relative;
    z-index: 2;
    max-width: 60ch;
    margin: 0 auto;
    font-size: clamp(16px, 1.35vw, 19px);
    line-height: 1.65;
    color: var(--ink-muted);
}
.pt-note {
    position: relative;
    z-index: 2;
    margin-top: 34px;
    font-size: 15px;
    color: rgba(244, 239, 230, 0.55);
}
.pt-note a {
    color: var(--primary-orange);
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    transition: background-size 0.35s ease;
}
.pt-note a:hover { background-size: 100% 1px; }
@keyframes pt-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.page-header .pt-eyebrow, .page-header h1, .page-header .pt-lead, .page-header .pt-note {
    animation: pt-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.page-header h1 { animation-delay: 0.08s; }
.page-header .pt-lead { animation-delay: 0.16s; }
.page-header .pt-note { animation-delay: 0.24s; }

/* Services: full-width photo / text panels */
section.svc-split { padding: 0; background: #17171a; }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(520px, 66vh, 640px); }
.svc-media { position: relative; overflow: hidden; min-height: 320px; background: #222; }
.svc-media img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.svc-row:hover .svc-media img { transform: scale(1.03); }
.svc-row--flip .svc-media { order: 2; }
.svc-text {
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    padding: clamp(56px, 7vw, 110px) clamp(24px, 6.5vw, 96px);
}
.svc-eyebrow {
    display: block; margin-bottom: 26px;
    font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 500; letter-spacing: 0.26em;
    text-transform: uppercase; color: var(--primary-orange);
}
.svc-text h2 {
    font-family: var(--serif); font-weight: 400; font-size: clamp(2.1rem, 3.1vw, 3.2rem);
    line-height: 1.15; color: var(--ink); max-width: 19ch; margin-bottom: 26px;
}
.svc-text h2 em { font-style: italic; }
.svc-text p { color: var(--ink-muted); font-size: 16.5px; line-height: 1.7; max-width: 46ch; margin-bottom: 44px; }
.btn-line {
    display: flex; align-items: center; gap: 16px; width: 100%; max-width: 520px; padding: 19px 30px;
    border: 1px solid var(--primary-orange); color: var(--primary-orange);
    font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
    transition: background 0.3s ease, color 0.3s ease, transform 0.15s ease;
}
.btn-line svg { width: 22px; height: 12px; flex: none; transition: transform 0.3s ease; }
.btn-line:hover { background: var(--primary-orange); color: #111; }
.btn-line:hover svg { transform: translateX(5px); }
.btn-line:active { transform: translateY(1px); }
.btn-line:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Agents: Fernando and Sebastian on their own row; everyone else four to a row, starting at the left */
.agents-lead { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); justify-content: center; gap: 24px; margin-bottom: 24px; }
.agents-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.agent-card {
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    transition:
        transform 300ms var(--ease-out),
        box-shadow 300ms ease,
        border-color 300ms ease,
        opacity 600ms var(--ease-out) var(--enter-delay, 0ms),
        translate 600ms var(--ease-out) var(--enter-delay, 0ms);
}
.agent-card .agent-image img { transition: transform 0.5s ease, scale 900ms var(--ease-out) var(--enter-delay, 0ms); }
.agent-card[data-enter]:not(.is-in) { opacity: 0; translate: 0 20px; }
.agent-card[data-enter]:not(.is-in) .agent-image img { scale: 1.06; }
.agent-card:hover { transform: translateY(-4px); }
@media (hover: none) { .agent-card:hover { transform: none; box-shadow: none; } }
.agent-image { height: 240px; }
.agent-card--lead .agent-image { height: 260px; }
.agent-info { padding: 22px 18px 24px; flex: 1; display: flex; flex-direction: column; align-items: center; }
.agent-info h3 { font-size: 1.15rem; line-height: 1.25; min-height: 0; margin-bottom: 8px; } /* name sits right on top of the role */
.agent-card--lead .agent-info h3 { font-size: 1.3rem; }
.agent-info .agent-role { font-size: 11.5px; letter-spacing: 0.12em; line-height: 1.4; margin-bottom: 4px; }
.agent-license {
    display: block; margin-bottom: 14px; font-size: 13px; color: var(--text-light);
    font-variant-numeric: tabular-nums; letter-spacing: 0.02em;
}
.agent-info p { flex: 1; font-size: 0.88rem; }
@media (max-width: 1100px) {
    .agents-lead, .agents-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .agent-image, .agent-card--lead .agent-image { height: 260px; }
    .agent-card--lead .agent-info h3 { font-size: 1.15rem; }
}
@media (max-width: 600px) {
    .agents-lead, .agents-grid { grid-template-columns: 1fr; gap: 20px; }
    .agents-lead { margin-bottom: 20px; }
    .agent-image, .agent-card--lead .agent-image { height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
    .agent-card { transition: opacity 200ms ease var(--enter-delay, 0ms), box-shadow 200ms ease, border-color 200ms ease; }
    .agent-card[data-enter]:not(.is-in) { translate: none; }
    .agent-card[data-enter]:not(.is-in) .agent-image img { scale: none; }
    .agent-card:hover { transform: none; }
}
@media (max-width: 900px) {
    .svc-row { grid-template-columns: 1fr; min-height: 0; }
    .svc-row--flip .svc-media { order: 0; }
    .svc-media { aspect-ratio: 4 / 3; min-height: 0; }
    .svc-text { padding: 56px 24px 72px; }
    .btn-line { max-width: none; justify-content: space-between; }
}
/* Services: section title between the page title and the panels, like Agents */
section.svc-intro { padding-bottom: 80px; background: #17171a; } /* same ground as the panels below */
.svc-intro .section-header { margin-bottom: 0; } /* keep the gap inside the section so no grey band shows */
/* Contact page: the contact section continues the page title's dark ground, no seam between them */
:root { --pt-ground: #0e0e10; }
.page-header--continuous {
    background:
        radial-gradient(ellipse 58% 50% at 50% 50%, rgba(14, 14, 16, 0.34) 0%, rgba(14, 14, 16, 0) 100%),
        linear-gradient(180deg, rgba(14, 14, 16, 0.18) 0%, rgba(14, 14, 16, 0.36) 72%, var(--pt-ground) 100%),
        var(--pt-photo, none) center / cover no-repeat;
}
.page-header--continuous + .contact-section { background: var(--pt-ground); }
/* Bottom photo bands on inner pages: modern photos with the page titles' dark treatment */
.parallax-section.parallax-match {
    /* overlay and photo are painted together as one background, so they always cover the same pixels;
       nothing moves this background any more (the old scroll script skips these bands) */
    background:
        radial-gradient(ellipse 58% 50% at 50% 50%, rgba(14, 14, 16, 0.34) 0%, rgba(14, 14, 16, 0) 100%),
        linear-gradient(180deg, rgba(14, 14, 16, 0.22) 0%, rgba(14, 14, 16, 0.34) 100%),
        var(--px-photo) center / cover no-repeat,
        #0e0e10;
    background-attachment: fixed;
}
.parallax-section.parallax-match::before { display: none; }
@media (max-width: 992px) { .parallax-section.parallax-match { background-attachment: scroll; } }
/* Agent cards: only the rtf mark, centred in the picture area */
.agent-image.no-photo img { width: auto; height: 34%; max-width: 50%; max-height: none; opacity: 1; }
/* Home: Why Choose Us as four quiet columns split by hairlines */
section.why-section { background: #17171a; }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.why-item {
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    padding: 8px clamp(20px, 2.6vw, 40px) 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    transition: opacity 600ms var(--ease-out) var(--enter-delay, 0ms), translate 600ms var(--ease-out) var(--enter-delay, 0ms);
}
.why-item:first-child { border-left: 0; padding-left: 0; }
.why-item:last-child { padding-right: 0; }
.why-item[data-enter]:not(.is-in) { opacity: 0; translate: 0 20px; }
.why-icon {
    width: 56px; height: 56px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    display: grid; place-items: center;
    color: var(--primary-orange);
    margin-bottom: 30px;
    transition: border-color 300ms ease, background-color 300ms ease;
}
.why-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.why-item:hover .why-icon { border-color: var(--primary-orange); background-color: rgba(232, 163, 61, 0.08); }
.why-num {
    display: block; margin-bottom: 26px;
    font-family: 'Playfair Display', serif; font-style: italic; font-size: 14px; letter-spacing: 0.04em;
    color: var(--primary-orange);
}
.why-item h3 { font-weight: 400; font-size: 1.55rem; line-height: 1.2; color: var(--white); margin-bottom: 14px; }
.why-item p { color: var(--text-muted); font-size: 15px; line-height: 1.7; }
@media (max-width: 1100px) {
    .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
    .why-item:nth-child(2) { padding-right: 0; }
    .why-item:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 600px) {
    .why-grid { grid-template-columns: 1fr; row-gap: 0; }
    .why-item, .why-item:nth-child(n) { border-left: 0; padding: 32px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
    .why-item:first-child { border-top: 0; padding-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .why-item { transition: opacity 200ms ease var(--enter-delay, 0ms); }
    .why-item[data-enter]:not(.is-in) { translate: none; }
}
/* Home: About Real Time Finders, a framed portrait photo beside the text, inside the page width */
section.rtf-about { padding: clamp(80px, 11vh, 120px) 0; background: #17171a; }
.rtf-about-grid {
    display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    gap: clamp(40px, 7vw, 100px); align-items: center;
}
.rtf-about-media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: #222; }
.rtf-about-media img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.rtf-about-media:hover img { transform: scale(1.03); }
.rtf-about-text { display: flex; flex-direction: column; align-items: flex-start; }
.rtf-about-text h2 {
    font-weight: 400; font-size: clamp(2.1rem, 3.1vw, 3.2rem); line-height: 1.15;
    color: var(--ink, #f4efe6); max-width: 18ch; margin-bottom: 28px; text-wrap: balance;
}
.rtf-about-text h2 em { font-style: italic; }
.rtf-about-text p { color: var(--ink-muted, rgba(244, 239, 230, 0.72)); font-size: 16.5px; line-height: 1.75; max-width: 54ch; margin-bottom: 18px; }
.rtf-about-text .btn-line { width: auto; margin-top: 22px; }
.rtf-sign { display: flex; align-items: center; gap: 14px; margin-top: 40px; }
.rtf-sign img { width: 44px; height: auto; }
.rtf-sign span { font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); }
@media (max-width: 900px) {
    .rtf-about-grid { grid-template-columns: 1fr; gap: 44px; }
    .rtf-about-media { aspect-ratio: 4 / 3; }
    .rtf-about-text .btn-line { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { .rtf-about-media img { transition: none; } }
/* Home: the numbers sit on the same ground as About RTF, no photo, right under it */
.stats.stats--plain { background: #17171a; padding: 0 0 clamp(80px, 11vh, 120px); }
.stats.stats--plain .stats-grid { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: clamp(56px, 8vh, 80px); }
/* Home: Our Companies on the same ground as About RTF and the numbers */
section.linked-sites { background: #17171a; }
/* FAQs: the list continues the page title's dark ground */
.page-header--continuous + .faq-section { background: var(--pt-ground); }
/* FAQs: hairline list, serif questions, outlined +/- button that morphs */
.faq-container { max-width: 1000px; }
.faq-item {
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    background: transparent; border: 0; border-radius: 0; margin: 0; overflow: visible;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: none;
}
.faq-item:first-child { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.faq-item.active { border-color: rgba(255, 255, 255, 0.08); }
.faq-question {
    width: 100%; background: none; border: 0; text-align: left; cursor: pointer;
    padding: 22px 0; gap: 28px;
    font-family: 'Playfair Display', 'Georgia', serif; font-weight: 400;
    font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.4;
    color: var(--ink, #f4efe6);
    transition: color 200ms ease;
}
.faq-item.active .faq-question { color: var(--ink, #f4efe6); border-bottom: 0; }
.faq-question:hover { color: var(--white); }
.faq-question:focus-visible { outline: 2px solid var(--primary-orange); outline-offset: 6px; }
.faq-icon {
    position: relative; flex: none; margin-left: 0;
    width: 36px; height: 36px; border-radius: 50%;
    background: transparent; border: 0;                                   /* no circle: just the +/- lines */
    transition: transform 160ms var(--ease-out);
}
.faq-icon::before, .faq-icon::after {
    content: ''; position: absolute; left: 50%; top: 50%;
    width: 16px; height: 1.5px; margin: -0.75px 0 0 -8px;
    background: var(--primary-orange); border-radius: 1px;
    transition: transform 260ms var(--ease-out), background-color 200ms ease;
}
.faq-icon::after { transform: rotate(90deg); }                       /* plus */
.faq-item.active .faq-icon { transform: none; background: transparent; }
.faq-item.active .faq-icon::after { transform: rotate(0deg); }       /* the vertical bar lies down: minus */
.faq-question:active .faq-icon { transform: scale(0.94); }           /* press feedback */
@media (hover: hover) and (pointer: fine) {
    .faq-question:hover .faq-icon::before, .faq-question:hover .faq-icon::after { background: var(--gold-light); }
}
.faq-answer {
    max-height: none; display: grid; grid-template-rows: 0fr; overflow: hidden;
    transition: grid-template-rows 220ms var(--ease-out);              /* closing: quicker */
}
.faq-item.active .faq-answer { max-height: none; grid-template-rows: 1fr; transition-duration: 320ms; }
.faq-answer-inner {
    min-height: 0; padding: 0 64px 0 0;       /* bottom space grows with the panel, so a closed item has none */
    color: var(--ink-muted, rgba(244, 239, 230, 0.72)); font-size: 15.5px; line-height: 1.75;
    opacity: 0; translate: 0 -6px;
    transition: opacity 150ms ease, translate 220ms var(--ease-out), padding-bottom 220ms var(--ease-out);
}
.faq-item.active .faq-answer-inner {
    opacity: 1; translate: 0 0; padding-bottom: 24px;
    transition: opacity 260ms ease 60ms, translate 320ms var(--ease-out) 40ms, padding-bottom 320ms var(--ease-out);
}
@media (max-width: 600px) {
    .faq-question { padding: 18px 0; gap: 16px; font-size: 1.02rem; }
    .faq-icon { width: 32px; height: 32px; }
    .faq-answer-inner { padding-right: 0; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
    .faq-answer, .faq-item.active .faq-answer { transition: none; }
    .faq-answer-inner, .faq-item.active .faq-answer-inner { translate: none; transition: opacity 150ms ease; }
    .faq-icon, .faq-icon::after { transition: none; }
}
/* About: the numbers on a flat ground, no photo (same as Home) */
.stats.stats--flat { background: #17171a; }
/* About: every section continues the page title's dark ground */
section.about-ground { background: var(--pt-ground); }
/* ==== Round 2026-11-24 b: titles, hero, logo, shading, about ==== */
/* Titles: one face for the whole line; the keyword is marked by a gold underline that draws in once */
.page-header h1 em, .svc-text h2 em, .rtf-about-text h2 em, .hero h1 .accent {
    font-style: normal; font-weight: 600; color: inherit;   /* the underlined keyword: a touch heavier than the line */
    -webkit-text-fill-color: currentColor; -webkit-background-clip: border-box; background-clip: border-box;
    display: inline;
    background-image: linear-gradient(var(--primary-orange), var(--primary-orange));
    background-repeat: no-repeat; background-position: 0 94%; background-size: 0% 0.06em;
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
    transition: background-size 900ms cubic-bezier(0.23, 1, 0.32, 1) 280ms;
}
.page-header h1.is-drawn em, .svc-text h2.is-drawn em, .rtf-about-text h2.is-drawn em, .hero h1.is-drawn .accent { background-size: 100% 0.06em; }
.page-header h1, .hero h1, .page-header .pt-lead, .hero p { text-shadow: 0 2px 22px rgba(0, 0, 0, 0.35); }

/* Hero: its keyword takes the gold colour effect of the section titles instead of the underline */
.hero h1 .accent, .hero h1.is-drawn .accent {
    font-weight: 400;
    background: linear-gradient(135deg, var(--primary-orange), var(--gold-light));
    background-size: 100% 100%; background-position: 0 0;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    transition: none;
}
/* Hero: the same title face as the inner pages, no glowing circles or particles, lighter shading */
.hero-bg {
    background:
        radial-gradient(ellipse 60% 45% at 50% 50%, rgba(14, 14, 16, 0.30) 0%, rgba(14, 14, 16, 0) 100%), /* a soft shade only behind the text */
        linear-gradient(180deg, rgba(14, 14, 16, 0.12) 0%, rgba(14, 14, 16, 0.30) 100%),
        url('../images/hero-bg.jpg') center / cover no-repeat;
    animation: none;
}
.hero-bg::before, .hero-particles { display: none; }
.hero h1 { font-weight: 400; font-size: clamp(2.6rem, 5.6vw, 4.9rem); line-height: 1.08; color: var(--ink, #f4efe6); }
.hero p { font-family: 'Inter', sans-serif; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.65; color: var(--ink, #f4efe6); }

/* Section titles keep their gold italic word, in the same weight as the page titles */
.section-title, .parallax-content h2, .about-text h2 { font-weight: 400; }
/* ...and the gold word in the same upright face as the rest of the line: only the colour marks it */
h1 .accent, h2 .accent, h3 .accent, h4 .accent { font-style: normal; font-weight: inherit; }
/* Nav: a larger logo */
.nav-logo { flex: none; } /* the logo never squeezes out of shape; logo and menu step down together instead */
.nav-logo img { height: 79px; width: auto; } /* +10% */
.navbar.scrolled .nav-logo img { height: 64px; }
@media (max-width: 1320px) {
    .nav-logo img { height: 64px; }
    .navbar.scrolled .nav-logo img { height: 58px; }
}
@media (max-width: 1240px) {
    .nav-menu { gap: 22px; }
    .nav-menu a { font-size: 0.68rem; letter-spacing: 0.12em; }
    .nav-cta { padding: 10px 18px !important; font-size: 0.66rem !important; }
}
@media (max-width: 1100px) and (min-width: 993px) {
    .nav-menu { gap: 16px; }
    .nav-logo img, .navbar.scrolled .nav-logo img { height: 54px; }
}
@media (max-width: 992px) {
    .nav-logo img, .navbar.scrolled .nav-logo img { height: 59px; }
    .nav-menu { top: 104px; height: calc(100vh - 104px); } /* flush under the bar with the 59px logo */
}

/* Agents: owner label sits on the role line */
.agent-info .agent-role > span { white-space: nowrap; }

/* About: body text in white; the closing line in the title face, larger */
section.about-ground p { color: var(--white) !important; }
.about-closing {
    font-family: 'Playfair Display', 'Georgia', serif; font-weight: 400; font-style: normal;
    font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.4; text-align: center; margin-top: 40px;
}
@media (prefers-reduced-motion: reduce) {
    .page-header h1 em, .svc-text h2 em, .rtf-about-text h2 em, .hero h1 .accent { transition: none; background-size: 100% 0.06em; }
}
/* Phone lists: equal-width digits so the dashes and names line up */
.phone-list { font-variant-numeric: tabular-nums; }
@media (max-width: 992px) { .page-header { padding: 150px 0 84px; } }
@media (prefers-reduced-motion: reduce) {
    .page-header .pt-eyebrow, .page-header h1, .page-header .pt-lead, .page-header .pt-note { animation: none; }
    .svc-media img, .btn-line, .btn-line svg { transition: none; }
}
/* Home hero: lighter photo; the overlay fades out and the title carries a deeper shadow so it stays readable */
.hero-overlay { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.22) 100%); }
.hero h1, .hero p { text-shadow: 0 2px 26px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.35); }
/* Hero keyword: a text-shadow shows through gradient-clipped text and muddies it, so the glow comes from a drop-shadow filter */
.hero h1 .accent, .hero h1.is-drawn .accent { text-shadow: none; filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.5)); }

/* Logos from 'Banner Real Time.ai' (2026-11-25): the official horizontal logotype, subtitle in white.
   It is wider than the old one, so it is sized to the space the menu leaves at each width. */
.nav-logo { flex: none; }
.nav-logo img, .navbar.scrolled .nav-logo img { width: auto; filter: none; }
.nav-logo img { height: 50px; }
.navbar.scrolled .nav-logo img { height: 44px; }
@media (max-width: 1320px) { .nav-logo img, .navbar.scrolled .nav-logo img { height: 44px; } }
@media (max-width: 1100px) and (min-width: 993px) { .nav-logo img, .navbar.scrolled .nav-logo img { height: 37px; } }
@media (max-width: 992px) { .nav-logo img, .navbar.scrolled .nav-logo img { height: 42px; } }
@media (max-width: 480px) { .nav-logo img, .navbar.scrolled .nav-logo img { height: 36px; } }
.footer-brand img { height: auto; width: min(100%, 290px); }
/* the mobile menu opens flush under the bar (the bar is shorter with the new logo) */
@media (max-width: 992px) { .nav-menu { top: 87px; height: calc(100vh - 87px); } }
@media (max-width: 480px) { .nav-menu { top: 81px; height: calc(100vh - 81px); } }

/* Menu over the photos (2026-11-25): a very soft shade along the top of the headers, lighter menu links
   with a soft shadow, and a soft shadow behind the logo, so the menu reads over bright skies */
.hero-overlay {
    background:
        linear-gradient(180deg, rgba(10, 10, 12, 0.55) 0%, rgba(10, 10, 12, 0.22) 110px, rgba(10, 10, 12, 0) 200px),
        linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.22) 100%);
}
.page-header { position: relative; }
.page-header::after {
    content: ''; position: absolute; left: 0; right: 0; top: 0; height: 190px; pointer-events: none; z-index: 1;
    background: linear-gradient(180deg, rgba(10, 10, 12, 0.42) 0%, rgba(10, 10, 12, 0.16) 110px, rgba(10, 10, 12, 0) 100%);
}
.page-header .container { position: relative; z-index: 2; }
.navbar:not(.scrolled) .nav-menu a:not(.nav-cta) { color: rgba(255, 255, 255, 0.88); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6); }
.navbar:not(.scrolled) .nav-menu a.active:not(.nav-cta), .navbar:not(.scrolled) .nav-menu a:not(.nav-cta):hover { color: #fff; }
.navbar:not(.scrolled) .lang-btn { text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6); }
.navbar:not(.scrolled) .nav-logo img { filter: drop-shadow(0 1px 10px rgba(0, 0, 0, 0.5)); }
@media (max-width: 992px) { .navbar:not(.scrolled) .nav-menu a:not(.nav-cta) { text-shadow: none; } }

/* Lighter photos, round 2 (2026-11-25): less shade on every photo; the words keep a deeper shadow so they still read */
.page-header h1, .page-header .pt-lead, .page-header .pt-note, .pt-eyebrow,
.parallax-content h2, .parallax-content p, .hero h1, .hero p {
    text-shadow: 0 2px 26px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.45);
}
.hero h1 .accent, .parallax-content h2 .accent, .page-header h1 .accent { text-shadow: none; filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.55)); }
/* Hamburger X: both bars meet at the centre (bar 3px + gap 5px = 8px between bar centres) */
.hamburger span { transform-origin: center; transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1), opacity 200ms ease; }
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Legal pages (Privacy Policy, Terms of Use): one readable column on the page ground; the language switch shows one version */
.legal-section { background: var(--pt-ground, #0e0e10); padding: 24px 0 clamp(90px, 12vh, 130px); }
.legal-body { max-width: 760px; margin: 0 auto; }
.legal-body h2 {
    font-family: 'Playfair Display', Georgia, serif; font-weight: 400; font-size: clamp(1.3rem, 1.8vw, 1.55rem);
    line-height: 1.3; color: var(--ink, #f4efe6); margin: 44px 0 14px;
}
.legal-body p, .legal-body li { color: var(--ink-muted, rgba(244, 239, 230, 0.72)); font-size: 16px; line-height: 1.75; }
.legal-body p { margin-bottom: 14px; }
.legal-body ul { margin: 0 0 14px; padding-left: 20px; }
.legal-body li { list-style: disc; margin-bottom: 10px; }
.legal-body strong { color: var(--ink, #f4efe6); font-weight: 600; }
.legal-body a { color: var(--primary-orange); }
.legal-body a:hover { text-decoration: underline; }
html[lang="es"] .legal-en, html:not([lang="es"]) .legal-es { display: none; }
/* Compliance (2026-11-25): brokerage name next to every point of contact, Equal Housing Opportunity mark */
.agent-brokerage { display: block; margin: -8px 0 14px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.contact-brokerage { margin: -6px 0 26px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); }
.eho { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; color: var(--text-muted); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.eho svg { width: 30px; height: 30px; flex: none; }

/* About closing line (2026-11-25): the body typeface (Inter), kept at its larger size */
.about-closing { font-family: 'Inter', sans-serif; font-weight: 400; letter-spacing: -0.005em; color: #fff; }

/* Menu logo (2026-11-25): further left, for more room before Home / Inicio; the menu itself stays where it is.
   Up to 40px left of the content edge, but never closer than 24px to the window edge. */
@media (min-width: 993px) {
    .nav-logo { margin-left: max(-40px, calc(24px - (100vw - min(100vw, 1320px)) / 2 - clamp(20px, 4vw, 56px))); }
}

/* Contact form (2026-11-25): hidden anti-spam field, and the 'sending' state */
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-message.sending { display: block; color: var(--text-muted); border: 1px solid rgba(255, 255, 255, 0.12); }
#contactForm button[disabled] { opacity: 0.6; cursor: wait; }

/* Figures row (2026-11-25): fixed columns so it is always centred and balanced (the automatic grid gave 3 + 1 or a
   loose 2 + 2 at some widths): 4 in a row on a computer, 2 x 2 on a tablet, 1 per row on a phone.
   Thin dividers between the cells instead of gaps, so the lines meet in the middle. */
.stats .stats-grid { gap: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats .stat-item { border: 0; padding: 30px 20px; }
.stats .stat-item + .stat-item { border-left: 1px solid rgba(255, 255, 255, 0.08); }
@media (max-width: 899px) {
    .stats .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats .stat-item + .stat-item { border-left: 0; }
    .stats .stat-item:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, 0.08); }
    .stats .stat-item:nth-child(-n + 2) { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
    .stats .stat-item { padding: 34px 16px; }
}
@media (max-width: 559px) {
    .stats .stats-grid { grid-template-columns: 1fr; }
    .stats .stat-item, .stats .stat-item:nth-child(even), .stats .stat-item:nth-child(-n + 2) { border: 0; }
    .stats .stat-item + .stat-item { border-top: 1px solid rgba(255, 255, 255, 0.08); }
}
/* Home header paragraph (2026-11-25): the same soft cream as the intro text on every other page */
.hero p[data-i18n="hero.desc"] { color: rgba(244, 239, 230, 0.72); }
/* Figures (2026-11-25): lining numerals, so every digit sits on the same line as the $ and the M
   (Playfair's default old-style digits drop the 7, 3, 4 and 9 below it) */
.stat-number, .stat-number-tbd, .trust-number { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }

/* Contact form consent box (2026-11-25) */
.form-consent { display: flex; align-items: flex-start; gap: 12px; margin: 6px 0 22px; text-align: left; }
.form-consent input[type="checkbox"] { flex: none; width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--primary-orange); cursor: pointer; }
.form-consent label { font-size: 12.5px; line-height: 1.6; color: var(--text-muted, rgba(244, 239, 230, 0.6)); text-transform: none; letter-spacing: 0; font-weight: 400; cursor: pointer; margin: 0; }
.form-consent label a { color: var(--primary-orange); text-decoration: underline; text-underline-offset: 2px; }

/* Contact form: three consent boxes (1 required, 2 optional text-message boxes) */
.form-consents { margin: 6px 0 22px; display: grid; gap: 14px; }
.form-consents .form-consent { margin: 0; }
.form-consent label strong { color: var(--text-light, #f4efe6); font-weight: 600; }

/* EN / ES in white (2026-11-25); the selected one keeps its soft highlight */
.lang-btn, .navbar .lang-btn, .navbar:not(.scrolled) .lang-btn, .lang-btn.active, .navbar .lang-btn.active, .lang-btn:hover { color: #fff; }
.lang-divider { color: rgba(255, 255, 255, 0.5); }
/* EN / ES (2026-11-25): the selected language on a solid brand-colour pill, so it is easy to see */
.lang-btn.active, .navbar .lang-btn.active, .navbar:not(.scrolled) .lang-btn.active { background: var(--primary-orange); color: #fff; text-shadow: none; }

/* ==========================================================================
   Motion layer (2026-11-25), after Emil Kowalski's design-engineering rules:
   name the properties that move (never `all`), strong ease-out curves, UI under 300ms,
   press feedback on everything pressable, hover motion only where a mouse hovers,
   and gentler motion for people who ask for less.
   ========================================================================== */
:root {
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
    --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
    /* every rule that used `transition: var(--transition)` (was: all 0.4-0.5s) now moves only these */
    --transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease, box-shadow 220ms ease,
                  opacity 200ms ease, filter 200ms ease, transform 220ms var(--ease-out), height 300ms var(--ease-out);
}

/* Buttons: quick colour change, a small press when clicked */
.btn, .nav-cta, .btn-line, .lang-btn, #contactForm [type="submit"] {
    transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease,
                border-color 200ms ease, box-shadow 220ms ease;
    -webkit-tap-highlight-color: transparent;
}
.btn:active, .nav-cta:active, .btn-line:active, .lang-btn:active, #contactForm [type="submit"]:active { transform: scale(0.97); }
.btn-line svg { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .btn-line:hover svg { transform: translateX(4px); } }
/* the lift on hover is for mouse users only (a tap on a phone would leave the button raised) */
@media (hover: none) {
    .btn:hover, .btn-primary:hover, .btn-outline:hover, .nav-cta:hover { transform: none; box-shadow: none; }
}

/* Menu links: the underline draws a little faster */
.nav-menu a::after { transition: width 240ms var(--ease-out); }

/* Phone menu: slides in like a native drawer */
@media (max-width: 992px) { .nav-menu { transition: right 420ms var(--ease-drawer); } }

/* FAQ answers open and close with an even, natural curve */
.faq-answer { transition: max-height 320ms var(--ease-in-out); }

/* Sections rising in on scroll: shorter travel, a decisive ease-out, only opacity and transform */
.reveal { transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.visible, .reveal.active { transform: none; }

/* EN / ES: one pill that slides to the chosen language */
.lang-switcher { position: relative; isolation: isolate; }
.lang-switcher .lang-btn { position: relative; z-index: 1; }
.lang-switcher.has-pill .lang-btn.active { background: transparent; }
.lang-pill {
    position: absolute; left: 0; top: 0; z-index: 0; border-radius: 4px; pointer-events: none;
    background: var(--primary-orange);
    transition: transform 260ms var(--ease-out), width 260ms var(--ease-out);
}
.lang-pill.is-placing { transition: none; }

/* Form messages appear instead of popping in */
.form-message.success, .form-message.error, .form-message.sending { animation: rt-msg-in 220ms var(--ease-out); }
@keyframes rt-msg-in { from { opacity: 0; transform: translateY(-4px); } }

@media (prefers-reduced-motion: reduce) {
    .reveal { transform: none; transition: opacity 300ms ease; }
    .btn:active, .nav-cta:active, .btn-line:active, .lang-btn:active, #contactForm [type="submit"]:active { transform: none; }
    .btn-line:hover svg { transform: none; }
    .lang-pill, .nav-menu, .faq-answer { transition-duration: 0ms; }
    .form-message.success, .form-message.error, .form-message.sending { animation: none; }
}

/* Phone / tablet menu (2026-11-25): the drawer runs from the very top of the screen to the bottom,
   the X sits inside it (top right), and the hamburger / X icons are smaller */
.hamburger { position: relative; z-index: 1002; gap: 5px; padding: 12px 10px; margin-right: -10px; -webkit-tap-highlight-color: transparent; }
.hamburger span { width: 22px; height: 2px; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 992px) {
    .nav-menu, .nav-menu.active {
        top: 0; height: 100vh; height: 100dvh; z-index: 1001;
        padding-top: clamp(96px, 14vh, 120px); overflow-y: auto; overscroll-behavior: contain;
    }
}

/* EN / ES pill: glides with the text change */
.lang-pill { transition: transform 380ms cubic-bezier(0.23, 1, 0.32, 1), width 380ms cubic-bezier(0.23, 1, 0.32, 1); }
.lang-pill.is-placing { transition: none; }

/* Real Time Finders (2026-11-25): solid black bar once the page scrolls (the dark shade over the photo was removed) */
.navbar.scrolled { background: #000; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* Outline buttons ('Get in Touch' in the header…), same as Real Time Managers (2026-11-25):
   frosted glass, thin translucent border, white fill on hover */
.btn-outline {
    background: transparent; color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
@media (hover: hover) and (pointer: fine) {
    .btn-outline:hover { background: var(--white); color: var(--black); border-color: var(--white); transform: translateY(-3px); }
}
.hero-buttons .btn { padding: 17px 38px; }
