@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ===== Variables ===== */
:root {
    --primary: #1a2744;
    --primary-light: #253460;
    --gold: #c9a84c;
    --gold-light: #e2c06a;
    --cream: #f5f0e8;
    --cream-light: #faf7f2;
    --white: #ffffff;
    --dark: #111827;
    --text: #2c3444;
    --text-light: #6b7280;
    --border: #e5e0d8;
    --shadow: rgba(26, 39, 68, 0.08);
    --shadow-md: rgba(26, 39, 68, 0.15);
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    max-width: 100%;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

/* ===== Header ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    animation: slideDown 0.6s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo a {
    text-decoration: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    line-height: 1;
}

.logo-img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    animation: logoPulse 3.5s ease-in-out infinite;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes logoPulse {
    0%, 100% { box-shadow: 0 2px 10px rgba(26, 39, 68, 0.14); }
    50%       { box-shadow: 0 4px 22px rgba(201, 168, 76, 0.38); }
}

.logo a:hover .logo-img {
    transform: scale(1.1) rotate(3deg);
    animation-play-state: paused;
    box-shadow: 0 6px 24px rgba(201, 168, 76, 0.45);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -1px;
    margin: 0;
    transition: color 0.3s ease;
}

.logo a:hover h1 { color: var(--gold); }

.logo-accent {
    color: var(--gold);
}

.logo-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Nav */
nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: width 0.4s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1800&q=85&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: heroZoom 8s ease forwards;
}

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(26, 39, 68, 0.88) 0%,
        rgba(26, 39, 68, 0.6) 50%,
        rgba(26, 39, 68, 0.2) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
    padding-top: 80px;
    animation: fadeInUp 1s ease 0.3s both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-tag {
    display: inline-block;
    background: rgba(201, 168, 76, 0.2);
    border: 1px solid rgba(201, 168, 76, 0.5);
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 3px;
    margin-bottom: 28px;
}

.hero-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 700px;
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
    margin-bottom: 44px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--gold);
    color: var(--primary);
    padding: 16px 38px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.5px;
    transition: all 0.35s ease;
    border: 2px solid var(--gold);
}

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35);
}

.btn-ghost {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 16px 38px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    letter-spacing: 0.5px;
    transition: all 0.35s ease;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
}

.btn-gold {
    display: inline-block;
    background: var(--gold);
    color: var(--primary);
    padding: 16px 38px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.5px;
    transition: all 0.35s ease;
    border: 2px solid var(--gold);
}

.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.4);
}

.btn-ghost-light {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 16px 38px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    letter-spacing: 0.5px;
    transition: all 0.35s ease;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-ghost-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    background: none;
    padding: 16px 0;
}

.btn-link:hover {
    gap: 14px;
    color: var(--gold-light);
}

/* Scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 40px;
    right: 6%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hero-scroll-hint span {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    writing-mode: vertical-rl;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
    animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* ===== Stats Bar ===== */
.stats-bar {
    background: var(--primary);
    padding: 40px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 60px;
    text-align: center;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.72rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 1.5px;
    margin-top: 6px;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
}

/* ===== Section Common ===== */
.section-tag {
    display: inline-block;
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: var(--primary);
    margin-bottom: 18px;
}

.section-header p {
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto;
    font-size: 1rem;
}

/* ===== Services Section ===== */
.services-section {
    padding: 100px 5%;
    max-width: 1300px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 40px 32px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px var(--shadow-md);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon-wrap {
    width: 52px;
    height: 52px;
    background: var(--cream);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: background 0.3s ease;
}

.service-card:hover .service-icon-wrap {
    background: rgba(201, 168, 76, 0.12);
}

.service-icon-wrap svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
    transition: color 0.3s ease;
}

.service-card:hover .service-icon-wrap svg {
    color: var(--gold);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 14px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== Why Us Section ===== */
.why-us-section {
    background: var(--cream-light);
    padding: 100px 5%;
}

.why-us-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-us-image-col {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/5;
    z-index: 1;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.image-wrapper:hover img {
    transform: scale(1.04);
}

.image-frame {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 60%;
    height: 60%;
    border: 2px solid var(--gold);
    border-radius: 8px;
    pointer-events: none;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    left: -24px;
    z-index: 2;
    background: var(--primary);
    color: var(--white);
    padding: 20px 28px;
    border-radius: 8px;
    box-shadow: 0 12px 35px var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 120px;
}

.badge-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.badge-text {
    font-size: 0.78rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 6px;
    line-height: 1.4;
}

.why-us-content {
    padding: 20px 0;
}

.why-us-content h2 {
    font-size: clamp(2rem, 3vw, 2.6rem);
    color: var(--primary);
    margin-bottom: 24px;
}

.why-us-intro {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 40px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 44px;
}

.feature-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.feature-check {
    width: 28px;
    height: 28px;
    background: rgba(201, 168, 76, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-text strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 0.88rem;
    color: var(--text-light);
    margin: 0;
}

.why-us-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* ===== CTA Section ===== */
.cta-section {
    position: relative;
    padding: 120px 5%;
    overflow: hidden;
    text-align: center;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1564013799919-ab600027ffc6?w=1600&q=80&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    filter: brightness(0.22);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 44px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Footer ===== */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 70px 5% 24px;
}

.footer-content {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.footer-brand-sub {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
}

.footer-desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    max-width: 280px;
}

.footer-section h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.88rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--gold);
    transform: translateX(4px);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.footer-bottom {
    max-width: 1300px;
    margin: 24px auto 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ===================================================================
   ANIMACIONES — Keyframes & Estados iniciales
   =================================================================== */

/* --- Keyframes base --- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(50px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-40px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeRight {
    from { opacity: 0; transform: translateX(60px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes blurIn {
    from { opacity: 0; filter: blur(12px); transform: translateY(20px); }
    to   { opacity: 1; filter: blur(0); transform: translateY(0); }
}
@keyframes rotateIn {
    from { opacity: 0; transform: rotate(-15deg) scale(0.85); }
    to   { opacity: 1; transform: rotate(0) scale(1); }
}
@keyframes bounceIn {
    0%   { opacity: 0; transform: scale(0.4) translateY(20px); }
    60%  { transform: scale(1.08) translateY(-6px); }
    80%  { transform: scale(0.96) translateY(3px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes slideInBlur {
    from { opacity: 0; transform: translateX(-40px); filter: blur(6px); }
    to   { opacity: 1; transform: translateX(0); filter: blur(0); }
}
@keyframes clipReveal {
    from { clip-path: inset(0 100% 0 0); }
    to   { clip-path: inset(0 0% 0 0); }
}
@keyframes drawLine {
    from { width: 0; }
    to   { width: 50px; }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}
@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0); }
    50%       { box-shadow: 0 0 0 12px rgba(201, 168, 76, 0); }
}
@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(201, 168, 76, 0.3); }
    50%       { box-shadow: 0 8px 35px rgba(201, 168, 76, 0.6); }
}
@keyframes countUp {
    from { opacity: 0; transform: translateY(20px) scale(0.9); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes iconSpin {
    from { transform: rotate(0deg) scale(1); }
    to   { transform: rotate(360deg) scale(1.1); }
}
@keyframes borderGrow {
    from { transform: scaleX(0); opacity: 0; }
    to   { transform: scaleX(1); opacity: 1; }
}
@keyframes parallaxSlow {
    from { transform: translateY(0); }
    to   { transform: translateY(-60px); }
}
@keyframes textReveal {
    from { opacity: 0; transform: translateY(100%); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes ripple {
    0%   { transform: scale(0); opacity: 0.5; }
    100% { transform: scale(4); opacity: 0; }
}
@keyframes rotateBadge {
    0%   { transform: rotate(-5deg) scale(0.9); opacity: 0; }
    60%  { transform: rotate(3deg) scale(1.05); }
    100% { transform: rotate(0) scale(1); opacity: 1; }
}
@keyframes navItemFade {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroTagSlide {
    from { opacity: 0; transform: translateX(-30px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes heroParagraph {
    from { opacity: 0; transform: translateY(20px); filter: blur(4px); }
    to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes buttonPop {
    from { opacity: 0; transform: scale(0.85) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes scrollDot {
    0%   { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(30px); opacity: 0; }
}
@keyframes imageReveal {
    from { clip-path: inset(0 0 100% 0); transform: scale(1.1); }
    to   { clip-path: inset(0 0 0% 0); transform: scale(1); }
}
@keyframes statCountIn {
    0%   { opacity: 0; transform: translateY(30px) scale(0.7); }
    70%  { transform: translateY(-4px) scale(1.05); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes serviceCardIn {
    from { opacity: 0; transform: translateY(40px) rotateX(8deg); }
    to   { opacity: 1; transform: translateY(0) rotateX(0); }
}
@keyframes featureSlide {
    from { opacity: 0; transform: translateX(-30px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes ctaReveal {
    from { opacity: 0; transform: scale(0.95) translateY(30px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* --- Hero animations staggered --- */
.hero-tag {
    animation: heroTagSlide 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}
.hero-content h2 {
    animation: blurIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.65s both;
}
.hero-content p {
    animation: heroParagraph 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.95s both;
}
.hero-buttons .btn-primary {
    animation: buttonPop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 1.15s both;
}
.hero-buttons .btn-ghost {
    animation: buttonPop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 1.3s both;
}
.hero-scroll-hint {
    animation: fadeDown 1s ease 1.6s both;
}

/* Enhanced scroll line */
.scroll-line {
    position: relative;
    overflow: hidden;
}
.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--gold-light);
    animation: scrollDot 1.8s ease-in infinite;
}

/* --- Logo hover animation --- */
.logo h1 {
    transition: letter-spacing 0.4s ease, color 0.3s ease;
}
.logo a:hover h1 {
    letter-spacing: 1px;
}

/* --- Nav stagger on load --- */
nav ul li:nth-child(1) a { animation: navItemFade 0.5s ease 0.8s both; }
nav ul li:nth-child(2) a { animation: navItemFade 0.5s ease 0.95s both; }
nav ul li:nth-child(3) a { animation: navItemFade 0.5s ease 1.1s both; }
nav ul li:nth-child(4) a { animation: navItemFade 0.5s ease 1.25s both; }

/* --- Buttons shine effect --- */
.btn-primary,
.btn-gold {
    position: relative;
    overflow: hidden;
}
.btn-primary::after,
.btn-gold::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}
.btn-primary:hover::after,
.btn-gold:hover::after {
    left: 140%;
}

/* Ghost buttons expand border on hover */
.btn-ghost {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-ghost:hover {
    letter-spacing: 1px;
    padding: 16px 44px;
}
.btn-ghost-light {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-ghost-light:hover {
    letter-spacing: 1px;
    padding: 16px 44px;
}

/* --- Stats bar --- */
.stats-bar {
    overflow: hidden;
}
.stat-item {
    transition: transform 0.3s ease;
}
.stat-item:hover {
    transform: translateY(-4px);
}
.stat-number {
    transition: color 0.3s ease;
    display: inline-block;
}
.stat-item:hover .stat-number {
    color: var(--gold-light);
    animation: glowPulse 1.5s ease infinite;
}

/* Reveal states — hidden until JS adds .animate-in */
.reveal {
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.7s ease;
}
.reveal.up     { transform: translateY(50px); }
.reveal.left   { transform: translateX(-50px); }
.reveal.right  { transform: translateX(50px); }
.reveal.scale  { transform: scale(0.85); }
.reveal.blur   { transform: translateY(25px); filter: blur(8px); }
.reveal.rotate { transform: rotate(-6deg) scale(0.9); }
.reveal.animate-in {
    opacity: 1;
    transform: none;
    filter: none;
}

/* --- Section header line decoration --- */
.section-header h2 {
    position: relative;
    display: inline-block;
}

/* --- Service cards enhanced --- */
.service-card {
    perspective: 800px;
    transform-style: preserve-3d;
}
.service-card:hover {
    transform: translateY(-12px) rotateX(3deg);
}
.service-icon-wrap {
    transition: background 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.service-card:hover .service-icon-wrap {
    transform: scale(1.15) rotate(8deg);
}
.service-icon-wrap svg {
    transition: color 0.3s ease, transform 0.3s ease;
}
.service-card:hover .service-icon-wrap svg {
    transform: scale(1.1);
}

/* Ripple on service card click */
.service-card .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.15);
    animation: ripple 0.7s ease-out forwards;
    pointer-events: none;
    transform-origin: center;
}

/* --- Why us section --- */
.image-wrapper {
    overflow: hidden;
}
.image-wrapper img {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.image-wrapper:hover img {
    transform: scale(1.08);
}

/* Animated gold border frame */
.image-frame {
    border: 2px solid var(--gold);
    background: transparent;
    animation: gradientShift 4s ease infinite;
}

/* Badge floating animation */
.experience-badge {
    animation: float 4s ease-in-out infinite;
}
.badge-number {
    background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
    background-size: 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

/* Feature check bounce */
.feature-check {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
}
.feature-item:hover .feature-check {
    transform: scale(1.25) rotate(10deg);
    background: rgba(201, 168, 76, 0.22);
}
.feature-item {
    transition: transform 0.3s ease;
}
.feature-item:hover {
    transform: translateX(6px);
}

/* --- CTA section --- */
.cta-bg {
    transition: transform 0.5s ease;
}
.cta-section:hover .cta-bg {
    transform: scale(1.03);
}
.cta-content h2 {
    text-shadow: 0 0 40px rgba(201, 168, 76, 0.2);
}
.cta-buttons .btn-gold {
    animation: glowPulse 2.5s ease-in-out infinite;
}

/* --- Footer links animated --- */
.footer-section ul li a {
    transition: color 0.3s ease, transform 0.3s ease, letter-spacing 0.3s ease;
}
.footer-section ul li a:hover {
    letter-spacing: 0.5px;
}
.footer-brand h3 {
    transition: letter-spacing 0.4s ease;
}
.footer-brand h3:hover {
    letter-spacing: 2px;
}

/* --- Section tag animation --- */
.section-tag {
    position: relative;
    display: inline-block;
    overflow: hidden;
}
.section-tag::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.15), transparent);
    animation: shimmer 3s ease infinite;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .why-us-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .why-us-image-col {
        max-width: 500px;
        margin: 0 auto;
    }

    .stat-item {
        padding: 12px 30px;
        flex: 1 1 40%;
    }

    .stat-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-container {
        height: 70px;
    }

    .menu-toggle {
        display: flex;
    }

    #main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        padding: 20px 5%;
        transform: translateY(-120vh);
        visibility: hidden;
        transition: transform 0.4s ease, visibility 0.4s ease;
        z-index: 999;
        box-shadow: 0 10px 30px var(--shadow);
    }

    #main-nav.open {
        transform: translateY(0);
        visibility: visible;
    }

    #main-nav ul {
        flex-direction: column;
        gap: 6px;
    }

    #main-nav ul li a {
        font-size: 1rem;
        padding: 12px 0;
        display: block;
        border-bottom: 1px solid var(--border);
    }

    .hero-content h2 {
        font-size: 2.6rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .services-section {
        padding: 70px 5%;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .why-us-section {
        padding: 70px 5%;
    }

    .experience-badge {
        left: 10px;
        bottom: 20px;
    }

    .cta-section {
        padding: 80px 5%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons a {
        text-align: center;
    }

    .stat-item {
        flex: 1 1 100%;
        padding: 10px 16px;
    }

    .experience-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: -24px;
    }

    .why-us-image-col {
        margin-bottom: 40px;
    }

    .section-tag {
        font-size: 0.65rem;
    }
}


