/* ================================================
   PIXEL STUDIO — style.css
   Theme: Navy + Gold | Motion-Driven
   Fonts: Archivo (headings) + Space Grotesk (body)
   UI/UX Pro Max v2.5.0 applied — style: Motion-Driven
   ================================================ */

/* ---- CSS Custom Properties ---- */
:root {
    /* Brand colours — confirmed by skill: "authority navy + premium gold" */
    --navy:        #0d1b4b;
    --navy-mid:    #1a2f6e;
    --navy-dark:   #070e2b;
    --gold:        #c9972a;
    --gold-light:  #e8b340;
    --gold-bright: #ffd700;

    /* Surface & text */
    --white:       #ffffff;
    --off-white:   #f8f9fa;
    --light-gray:  #f1f3f7;
    --text-dark:   #0F172A;
    --text-gray:   #6b7280;
    --border:      #e5e7eb;
    --footer-text: #94a3b8;

    /* Shadows */
    --shadow:      0 4px 24px rgba(13, 27, 75, 0.12);
    --shadow-gold: 0 6px 28px rgba(201, 151, 42, 0.35);

    /* Shape */
    --radius:      12px;
    --radius-lg:   20px;

    /* Motion — skill: 150–300ms micro-interactions */
    --transition:       0.25s ease;
    --transition-slow:  0.4s ease;

    /* Fonts — Archivo headings + Space Grotesk body per skill */
    --font-heading: 'Archivo', sans-serif;
    --font-body:    'Space Grotesk', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
}

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

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

ul { list-style: none; }

/* ---- Utilities ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 96px 0; }
.gold-text,
.gold-text .word {
    background: linear-gradient(
        90deg,
        var(--gold) 0%, var(--gold-bright) 30%,
        var(--gold) 50%, var(--gold-bright) 70%,
        var(--gold) 100%
    );
    background-size: 250% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShimmer 5s linear infinite;
}

/* Word-reveal inside .gold-text — keep both animations */
.gold-text .word {
    animation: wordReveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) both,
               goldShimmer 5s linear infinite;
}

@keyframes goldShimmer {
    0%   { background-position: 200% center; }
    100% { background-position: -200% center; }
}

/* ================================================
   SCROLL PROGRESS BAR (skill: motion-driven)
   ================================================ */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--navy-mid), var(--gold));
    z-index: 9999;
    transition: width 0.1s linear;
    pointer-events: none;
}

/* ================================================
   SKIP TO CONTENT (skill: accessibility priority 1)
   ================================================ */
.skip-link {
    position: absolute;
    top: -100%;
    left: 12px;
    background: var(--gold);
    color: var(--navy-dark);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.875rem;
    padding: 10px 20px;
    border-radius: 0 0 var(--radius) var(--radius);
    z-index: 9999;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--navy);
    outline-offset: 2px;
}

/* ================================================
   BUTTONS
   ================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden; /* ripple container */
}

.btn-gold {
    background: var(--gold);
    color: var(--navy-dark);
    border-color: var(--gold);
}

.btn-gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn-lg {
    padding: 15px 36px;
    font-size: 0.975rem;
}

.btn-full { width: 100%; }

/* ---- Button ripple (skill: micro-interaction) ---- */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transform: scale(0);
    animation: rippleAnim 0.55s ease-out forwards;
    pointer-events: none;
}

@keyframes rippleAnim {
    to { transform: scale(4); opacity: 0; }
}

/* ================================================
   NAVBAR
   ================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 22px 0;
    transition: background var(--transition-slow), padding var(--transition-slow), box-shadow var(--transition-slow);
}

.navbar.scrolled {
    background: var(--navy-dark);
    padding: 14px 0;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

.logo-pixel  { color: var(--white); }
.logo-studio { color: var(--gold);  }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.nav-link {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 8px 13px;
    border-radius: 6px;
    transition: var(--transition);
    cursor: pointer; /* skill: cursor-pointer on all clickable elements */
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
    background: rgba(201, 151, 42, 0.12);
}

.nav-link:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.nav-cta {
    margin-left: 10px;
    padding: 10px 22px;
    font-size: 0.875rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: auto;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 23px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg);  }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================
   HERO
   ================================================ */
.hero {
    background: var(--navy);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 130px 0 90px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: -60px;
    background-image:
        linear-gradient(rgba(201, 151, 42, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 151, 42, 0.06) 1px, transparent 1px);
    background-size: 64px 64px;
    animation: gridScroll 24s linear infinite;
    will-change: transform; /* skill: GPU acceleration */
}

@keyframes gridScroll {
    0%   { transform: translateY(0); }
    100% { transform: translateY(64px); }
}

.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.14;
    animation: shapeFloat 10s ease-in-out infinite;
    will-change: transform; /* skill: GPU acceleration */
}

.shape-1 {
    width: 480px; height: 480px;
    background: var(--gold);
    top: -120px; right: -120px;
    animation-delay: 0s;
}

.shape-2 {
    width: 340px; height: 340px;
    background: #4169e1;
    bottom: -80px; left: -80px;
    animation-delay: -4s;
}

.shape-3 {
    width: 220px; height: 220px;
    background: var(--gold-light);
    top: 55%; left: 55%;
    animation-delay: -7s;
}

@keyframes shapeFloat {
    0%, 100% { transform: translateY(0) scale(1);     }
    50%       { transform: translateY(-28px) scale(1.06); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(201, 151, 42, 0.14);
    border: 1px solid rgba(201, 151, 42, 0.32);
    color: var(--gold-light);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    animation: fadeUp 0.6s ease both;
}

.hero-title {
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 22px;
}

/* ---- Hero word-reveal animation (skill: kinetic typography) ---- */
.word-wrap {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    line-height: 1.2;
}

.word {
    display: inline-block;
    animation: wordReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
    will-change: transform;
}

@keyframes wordReveal {
    from { transform: translateY(110%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 40px;
    max-width: 520px;
    line-height: 1.75;
    animation: fadeUp 0.6s ease 0.25s both;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 64px;
    animation: fadeUp 0.6s ease 0.35s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 36px;
    animation: fadeUp 0.6s ease 0.45s both;
}

.stat { display: flex; flex-direction: column; }

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

/* skill: tabular figures for numbers */
.counter {
    font-variant-numeric: tabular-nums;
    color: var(--gold);
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
}

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

/* ================================================
   SECTION HEADERS
   ================================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(201, 151, 42, 0.12);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 14px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 4vw, 2.65rem);
    color: var(--navy);
    margin-bottom: 14px;
}

.section-subtitle {
    font-size: 0.975rem;
    color: var(--text-gray);
    max-width: 480px;
    margin: 0 auto;
}

/* ================================================
   SERVICES
   ================================================ */
.services { background: var(--off-white); }

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--border);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
    cursor: default;
    will-change: transform; /* skill: GPU acceleration */
}

/* Stagger nth-child delays for services grid (skill: stagger sequence) */
.services-grid .service-card:nth-child(1) { transition-delay: 0s;    }
.services-grid .service-card:nth-child(2) { transition-delay: 0.1s;  }
.services-grid .service-card:nth-child(3) { transition-delay: 0.2s;  }
.services-grid .service-card:nth-child(4) { transition-delay: 0.1s;  }
.services-grid .service-card:nth-child(5) { transition-delay: 0.2s;  }
.services-grid .service-card:nth-child(6) { transition-delay: 0.3s;  }

.service-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--navy), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    border-color: rgba(201, 151, 42, 0.4);
    box-shadow: var(--shadow-gold);
    transform: translateY(-6px);
}

.service-card:hover::after { transform: scaleX(1); }

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    margin-bottom: 22px;
    flex-shrink: 0;
    transition: var(--transition);
}

.service-icon svg { width: 26px; height: 26px; }

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy);
    transform: scale(1.1);
}

.service-card:hover .service-icon svg {
    animation: iconBounce 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes iconBounce {
    0%   { transform: translateY(0)   scale(1);    }
    30%  { transform: translateY(-7px) scale(1.15); }
    60%  { transform: translateY(2px)  scale(0.95); }
    100% { transform: translateY(0)   scale(1);    }
}

.service-card h3 {
    font-size: 1.05rem;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-card p {
    font-size: 0.875rem;
    color: var(--text-gray);
    line-height: 1.75;
    margin-bottom: 20px;
}

.service-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    cursor: pointer; /* skill: cursor-pointer */
    transition: var(--transition);
}

.service-link:hover  { color: var(--navy); }
.service-link:focus-visible { outline: 2px solid var(--gold); border-radius: 2px; }

.service-card-cta {
    background: linear-gradient(140deg, var(--navy) 0%, var(--navy-mid) 100%);
    border-color: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.service-card-cta h3  { color: var(--white); font-size: 1.4rem; margin-bottom: 14px; }
.service-card-cta p   { color: rgba(255,255,255,0.68); margin-bottom: 28px; }
.service-card-cta::after { display: none; }
.service-card-cta:hover { box-shadow: 0 20px 40px rgba(7, 14, 43, 0.45); }

/* ================================================
   ABOUT
   ================================================ */
.about { background: var(--white); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual { position: relative; }

.about-card-main {
    background: linear-gradient(140deg, var(--navy) 0%, var(--navy-mid) 100%);
    border-radius: var(--radius-lg);
    padding: 72px 48px;
    text-align: center;
    min-height: 370px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-card-main::before {
    content: '';
    position: absolute;
    bottom: -70px; right: -70px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(201, 151, 42, 0.08);
    pointer-events: none;
}

.about-logo-large {
    font-family: var(--font-heading);
    font-size: 5.5rem;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: -6px;
    line-height: 1;
    margin-bottom: 18px;
}

.about-tagline {
    display: inline-block;
    background: rgba(201, 151, 42, 0.18);
    color: var(--gold-light);
    padding: 7px 18px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
}

.about-badge-float {
    position: absolute;
    background: var(--white);
    border-radius: 100px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--navy);
    box-shadow: var(--shadow);
    animation: badgeFloat 4.5s ease-in-out infinite;
    white-space: nowrap;
    will-change: transform;
}

.about-badge-float svg {
    width: 17px; height: 17px;
    color: var(--gold);
    flex-shrink: 0;
}

.badge-1 { top: -18px;    right: 24px; animation-delay: 0s;   }
.badge-2 { bottom: -18px; left:  24px; animation-delay: -2.2s; }

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0);   }
    50%       { transform: translateY(-9px); }
}

.about-content .section-tag { display: inline-block; margin-bottom: 14px; }

.about-text {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 14px;
}

.about-stats {
    display: flex;
    gap: 36px;
    margin: 30px 0;
    padding: 28px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about-stat { display: flex; flex-direction: column; }

.about-stat-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}

.about-stat-label {
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-top: 4px;
}

.founder-card {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    background: var(--off-white);
    padding: 16px 22px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.founder-avatar {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-weight: 800;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.founder-info { display: flex; flex-direction: column; }
.founder-info strong { color: var(--navy); font-size: 0.95rem; }
.founder-info span   { color: var(--text-gray); font-size: 0.8rem; }

/* ================================================
   PORTFOLIO
   ================================================ */
.portfolio { background: var(--off-white); }

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 56px;
}

.portfolio-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: border-color var(--transition), box-shadow var(--transition);
    /* 3D tilt driven by JS CSS vars (skill: motion-driven microinteraction) */
    transform: perspective(900px) rotateX(var(--tiltX, 0deg)) rotateY(var(--tiltY, 0deg));
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.15s ease, border-color var(--transition), box-shadow var(--transition);
}

.portfolio-card:hover {
    border-color: rgba(201, 151, 42, 0.45);
    box-shadow: 0 20px 52px rgba(13, 27, 75, 0.2);
}

/* Stagger for portfolio cards */
.portfolio-grid .portfolio-card:nth-child(1) { transition-delay: 0s;   }
.portfolio-grid .portfolio-card:nth-child(2) { transition-delay: 0.15s; }

.portfolio-thumb {
    height: 268px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.portfolio-thumb.dental  { background: linear-gradient(140deg, #0a2342 0%, #1a4a8a 100%); }
.portfolio-thumb.skincare { background: linear-gradient(140deg, #2d1b4b 0%, #6b3fa0 100%); }

/* ---- CSS Browser Mockup ---- */
.mock-browser {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
    width: 100%;
    max-width: 360px;
    transform: translateZ(24px); /* depth in 3D tilt */
}

.mock-bar {
    background: #eff0f1;
    padding: 9px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot.red    { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green  { background: #28c840; }

.mock-url {
    background: var(--white);
    border-radius: 5px;
    padding: 3px 10px;
    font-size: 0.6rem;
    color: #777;
    margin-left: 8px;
    flex: 1;
    text-align: center;
    font-family: monospace;
}

.mock-content { padding: 10px 10px 12px; }

.mock-nav-strip {
    height: 8px;
    border-radius: 4px;
    margin-bottom: 10px;
    width: 100%;
}

.dental-strip   { background: linear-gradient(90deg, #0d2b5e 60%, #1a4a8a 100%); }
.skincare-strip { background: linear-gradient(90deg, #3d1f6e 60%, #8b5cf6 100%); }

.mock-hero-block {
    border-radius: 6px;
    padding: 14px;
    margin-bottom: 8px;
}

.dental-hero  { background: linear-gradient(135deg, #0d2b5e, #1a4a8a); }
.skincare-hero { background: linear-gradient(135deg, #3d1f6e, #9333ea); }

.mh {
    height: 9px;
    background: rgba(255, 255, 255, 0.82);
    border-radius: 4px;
    width: 68%;
    margin-bottom: 7px;
}

.mp {
    height: 5px;
    background: rgba(255, 255, 255, 0.38);
    border-radius: 4px;
    width: 88%;
    margin-bottom: 9px;
}

.mb { height: 13px; width: 56px; border-radius: 4px; }
.dental-btn   { background: var(--gold);  }
.skincare-btn { background: #f472b6;      }

.mock-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.mc { height: 32px; border-radius: 4px; }
.dental-card   { background: #eaf0fb; }
.skincare-card { background: #f3e8ff; }

.portfolio-info { padding: 26px 28px; }

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.tag {
    background: rgba(13, 27, 75, 0.08);
    color: var(--navy);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
}

.portfolio-info h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: 10px; }
.portfolio-info p  { font-size: 0.875rem; color: var(--text-gray); line-height: 1.75; margin-bottom: 16px; }

.portfolio-tech { display: flex; flex-wrap: wrap; gap: 8px; }

.portfolio-tech span {
    background: var(--light-gray);
    color: var(--text-gray);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
}

.portfolio-cta { text-align: center; }
.portfolio-cta p { color: var(--text-gray); margin-bottom: 18px; font-size: 1rem; }

/* ================================================
   CONTACT
   ================================================ */
.contact { background: var(--white); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 22px; }

.contact-item { display: flex; align-items: center; gap: 16px; }

.contact-icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

.contact-icon svg { width: 22px; height: 22px; }

.contact-item strong {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-gray);
    margin-bottom: 2px;
}

.contact-item a,
.contact-item span { font-size: 0.95rem; font-weight: 500; color: var(--navy); }

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

.whatsapp-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #25d366;
    color: var(--white);
    padding: 13px 22px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    width: fit-content;
    cursor: pointer;
    transition: var(--transition);
}

.whatsapp-contact-btn svg { width: 22px; height: 22px; flex-shrink: 0; }

.whatsapp-contact-btn:hover {
    background: #1dab52;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.38);
    color: var(--white);
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    margin-top: 4px;
}

.contact-form-wrap {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
}

.required { color: #ef4444; }

.field-hint {
    font-size: 0.78rem;
    color: var(--text-gray);
    margin-top: -2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-dark);
    background: var(--white);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    min-height: 44px; /* skill: touch target minimum */
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(13, 27, 75, 0.09);
}

.form-group textarea { resize: vertical; }

.consent-group { margin-top: 2px; }

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer; /* skill: cursor-pointer */
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.55;
    user-select: none;
}

.consent-label input[type="checkbox"] {
    width: 17px; height: 17px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--navy);
    cursor: pointer;
}

.consent-label a {
    color: var(--gold);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.consent-error {
    font-size: 0.8rem;
    color: #ef4444;
    margin-top: 4px;
}

.form-success,
.form-error {
    border-radius: var(--radius);
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.875rem;
    line-height: 1.55;
}

.form-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.form-success svg { color: #16a34a; width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; }

.form-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.form-error svg { color: #dc2626; width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; }

/* ================================================
   FOOTER
   ================================================ */
.footer {
    background: var(--navy-dark);
    color: var(--footer-text);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-brand .footer-logo { display: inline-block; margin-bottom: 16px; }

.footer-brand p {
    font-size: 0.86rem;
    line-height: 1.75;
    margin-bottom: 20px;
}

.footer-contact { display: flex; flex-direction: column; gap: 8px; }

.footer-contact a {
    font-size: 0.86rem;
    color: var(--footer-text);
    transition: var(--transition);
}

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

.footer-col h4 {
    font-family: var(--font-heading);
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
}

.footer-col-h4-space { margin-top: 28px; }

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
    font-size: 0.86rem;
    color: var(--footer-text);
    transition: var(--transition);
    cursor: pointer; /* skill: cursor-pointer */
}

.footer-col ul li a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-col ul li a:focus-visible {
    outline: 2px solid var(--gold);
    border-radius: 2px;
}

.footer-address {
    font-size: 0.84rem;
    line-height: 1.65;
    color: var(--footer-text);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    font-size: 0.78rem;
    gap: 16px;
}

.footer-bottom a { color: var(--gold); white-space: nowrap; }
.footer-bottom a:hover { text-decoration: underline; }

/* ================================================
   FLOATING WHATSAPP BUTTON
   ================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 58px;
    height: 58px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    animation: waPulse 2.8s ease-in-out infinite;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer; /* skill: cursor-pointer */
    will-change: transform;
}

.whatsapp-float svg {
    width: 30px; height: 30px;
    fill: var(--white);
    color: var(--white);
}

.whatsapp-float:hover {
    transform: scale(1.12) translateY(-4px);
    box-shadow: 0 10px 32px rgba(37, 211, 102, 0.65);
    animation: none;
}

@keyframes waPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); }
    50%       { box-shadow: 0 4px 28px rgba(37, 211, 102, 0.75), 0 0 0 10px rgba(37, 211, 102, 0.1); }
}

/* ================================================
   PRIVACY POLICY PAGE
   ================================================ */
.pp-hero {
    background: var(--navy);
    padding: 130px 0 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pp-hero::before {
    content: '';
    position: absolute;
    inset: -60px;
    background-image:
        linear-gradient(rgba(201, 151, 42, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 151, 42, 0.06) 1px, transparent 1px);
    background-size: 64px 64px;
}

.pp-hero .container { position: relative; z-index: 2; }

.pp-hero h1 {
    font-family: var(--font-heading);
    color: var(--white);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 12px;
}

.pp-hero p { color: rgba(255, 255, 255, 0.58); font-size: 0.88rem; }

.pp-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 64px 24px 80px;
}

.pp-content h2 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--navy);
    margin: 44px 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}

.pp-content h2:first-of-type { margin-top: 0; }

.pp-content p { font-size: 0.9rem; color: var(--text-gray); line-height: 1.85; margin-bottom: 14px; }

.pp-content ul { padding-left: 22px; margin-bottom: 14px; }

.pp-content ul li {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.85;
    margin-bottom: 7px;
    list-style: disc;
}

.grievance-box {
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 26px;
    border-left: 4px solid var(--gold);
    margin-top: 16px;
}

.grievance-box strong {
    display: block;
    color: var(--navy);
    font-size: 1rem;
    margin-bottom: 14px;
}

.grievance-box p {
    margin-bottom: 7px;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.grievance-box a { color: var(--gold); font-weight: 600; }
.grievance-box a:hover { text-decoration: underline; }

/* ================================================
   SCROLL REVEAL — lightweight AOS
   ================================================ */
[data-aos] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.55s ease, transform 0.55s ease;
    will-change: transform;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-right"] {
    opacity: 0;
    transform: translateX(-48px);
    transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-aos="fade-left"] {
    opacity: 0;
    transform: translateX(48px);
    transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-aos="zoom-in"] {
    opacity: 0;
    transform: scale(0.88);
    transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-aos="fade-right"].aos-animate,
[data-aos="fade-left"].aos-animate,
[data-aos="zoom-in"].aos-animate {
    opacity: 1;
    transform: none;
}

/* ================================================
   RESPONSIVE — 1024px
   ================================================ */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid   { grid-template-columns: 1fr 1fr; gap: 36px; }
    .about-grid    { gap: 56px; }
}

/* ================================================
   RESPONSIVE — 768px
   ================================================ */
@media (max-width: 768px) {
    .section { padding: 64px 0; }

    .hamburger { display: flex; }
    .nav-cta   { display: none; }

    .nav-links {
        position: fixed;
        top: 0; left: 0; right: 0;
        background: var(--navy-dark);
        flex-direction: column;
        align-items: flex-start;
        padding: 90px 28px 32px;
        gap: 4px;
        transform: translateY(-105%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 998;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    }

    .nav-links.open { transform: translateY(0); }

    .nav-link { width: 100%; padding: 13px 18px; font-size: 1rem; border-radius: 8px; }

    .about-grid        { grid-template-columns: 1fr; gap: 48px; }
    .portfolio-grid    { grid-template-columns: 1fr; }
    .contact-grid      { grid-template-columns: 1fr; gap: 44px; }
    .services-grid     { grid-template-columns: 1fr; }
    .footer-grid       { grid-template-columns: 1fr; gap: 32px; }

    .contact-form-wrap { padding: 28px 22px; }

    /* Prevent iOS auto-zoom on input focus (requires font-size >= 16px) */
    .form-group input,
    .form-group select,
    .form-group textarea { font-size: 1rem; }

    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

    .hero-stats    { gap: 22px; }
    .stat-number   { font-size: 1.65rem; }

    .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
    .whatsapp-float svg { width: 26px; height: 26px; }
}

/* ================================================
   RESPONSIVE — 480px
   ================================================ */
@media (max-width: 480px) {
    .hero-ctas { flex-direction: column; gap: 12px; }
    .hero-ctas .btn-lg { width: 100%; }

    .hero-stats  { flex-wrap: wrap; gap: 18px; }
    .stat-divider { display: none; }
    .about-stats { flex-direction: column; gap: 18px; }
    .portfolio-thumb { height: 220px; padding: 16px; }
}

/* ================================================
   PREFERS-REDUCED-MOTION — skill: accessibility priority 1
   Disables all animation/transition for users who request it.
   Content remains fully visible and usable.
   ================================================ */
@media (prefers-reduced-motion: reduce) {

    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    /* Ensure hero content is visible without animation */
    .hero-badge,
    .hero-subtitle,
    .hero-ctas,
    .hero-stats {
        animation: none;
        opacity: 1;
        transform: none;
    }

    /* Ensure AOS elements show immediately */
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    /* Word reveal: show immediately */
    .word {
        animation: none;
        opacity: 1;
        transform: none;
    }

    /* No scroll progress */
    #scroll-progress { display: none; }

    /* WhatsApp pulse off */
    .whatsapp-float { animation: none; }

    /* Shape float off */
    .shape, .about-badge-float { animation: none; }

    /* Grid scroll off */
    .hero-grid { animation: none; }

    .gold-text,
    .gold-text .word { animation: none; background-position: 0 center; }
    .section-tag::after { animation: none; }
    .scroll-indicator { animation: none; opacity: 1; }
    .scroll-line-inner { animation: none; }
}


/* ================================================
   SCROLL-DOWN INDICATOR (hero bottom)
   ================================================ */
.scroll-indicator {
    position: absolute;
    bottom: 38px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    animation: fadeIn 1s ease 2s both;
    z-index: 3;
}

.scroll-line {
    width: 1px;
    height: 52px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 1px;
    overflow: hidden;
    position: relative;
}

.scroll-line-inner {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 40%;
    background: linear-gradient(180deg, var(--gold), transparent);
    border-radius: 1px;
    animation: scrollDrop 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite 2.5s;
}

@keyframes scrollDrop {
    0%   { transform: translateY(-100%); opacity: 1;   }
    80%  { opacity: 1; }
    100% { transform: translateY(300%);  opacity: 0;   }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@media (max-width: 768px) {
    .scroll-indicator { display: none; }
}

/* ================================================
   SECTION HEADER — animated gold underline
   ================================================ */
.section-header::after {
    content: '';
    display: block;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), transparent);
    border-radius: 2px;
    margin: 18px auto 0;
    transition: width 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-header.line-active::after { width: 90px; }

/* ================================================
   SECTION TAG — shimmer shine pass
   ================================================ */
.section-tag {
    position: relative;
    overflow: hidden;
}

.section-tag::after {
    content: '';
    position: absolute;
    top: 0; left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
    animation: tagShine 4s ease-in-out infinite 1s;
    pointer-events: none;
}

@keyframes tagShine {
    0%, 60% { left: -120%; }
    80%      { left: 160%;  }
    100%     { left: 160%;  }
}

/* ================================================
   ABOUT — section background
   ================================================ */
.about.section {
    background: linear-gradient(170deg, var(--light-gray) 0%, var(--off-white) 100%);
}

/* ================================================
   PORTFOLIO — section background
   ================================================ */
.portfolio.section {
    background: var(--off-white);
}
