/* ================================================
   FRAXLE.NET — Main Stylesheet
   Bold & Playful Wizard Theme
   ================================================ */

/* --- Custom Properties --- */
:root {
    --purple-deep:   #1E1B4B;
    --purple-mid:    #4C1D95;
    --purple-bright: #7C3AED;
    --purple-light:  #F5F3FF;
    --orange:        #F97316;
    --orange-light:  #FFEDD5;
    --gold:          #FBBF24;
    --teal:          #0D9488;
    --teal-light:    #CCFBF1;
    --white:         #FFFFFF;
    --gray-50:       #FAFAFA;
    --gray-100:      #F3F4F6;
    --gray-200:      #E5E7EB;
    --gray-400:      #9CA3AF;
    --gray-600:      #6B7280;
    --text:          #1F2937;
    --font-head:     'Space Grotesk', sans-serif;
    --font-body:     'Inter', sans-serif;
    --radius:        16px;
    --radius-sm:     8px;
    --shadow:        0 2px 10px rgba(0,0,0,0.05);
    --shadow-lg:     0 6px 20px rgba(0,0,0,0.08);
    --transition:    0.3s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    background: #251D70;          /* matches dark sections so the reserved gutter blends */
    scrollbar-gutter: stable;     /* reserve scrollbar space so locking scroll doesn't shift the page */
}
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Custom scrollbars (themed) --- */
html { scrollbar-width: thin; scrollbar-color: rgba(251,191,36,0.55) rgba(255,255,255,0.06); }
.pkg-modal, .nav-links { scrollbar-width: thin; scrollbar-color: rgba(251,191,36,0.55) rgba(255,255,255,0.06); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold), var(--orange));
    background-clip: padding-box;
    border: 3px solid transparent;   /* slims the thumb and leaves breathing room in the track */
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--orange), var(--gold));
    background-clip: padding-box;
}
::-webkit-scrollbar-corner { background: transparent; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Layout --- */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}
.section-pad { padding: 100px 0; }

/* --- Section Headers --- */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-eyebrow {
    display: block;
    font-family: var(--font-head);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}
.section-title {
    font-family: var(--font-head);
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 16px;
}
.section-lead {
    color: rgba(255,255,255,0.65);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-head);
    font-size: 0.93rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
/* Wand & sparkle trail */
@keyframes sparklePopFade {
    0%   { opacity: 0; transform: scale(0); }
    20%  { opacity: 1; transform: scale(1.1); }
    65%  { opacity: 0.75; transform: scale(0.9); }
    100% { opacity: 0; transform: scale(0); }
}
.btn-sparkle {
    position: absolute;
    pointer-events: none;
    z-index: 10;
    line-height: 1;
    user-select: none;
    transform-origin: center;
    animation: sparklePopFade var(--dur, 0.65s) ease-out forwards;
}
.btn-primary {
    background: linear-gradient(135deg, var(--orange) 0%, #EF4444 100%);
    color: var(--white);
    box-shadow: 0 2px 10px rgba(249,115,22,0.18);
}
.btn-primary:hover {
    box-shadow: 0 0 24px rgba(249,115,22,0.5), 0 2px 10px rgba(249,115,22,0.25);
}
.btn-ghost {
    background: transparent;
    color: rgba(255,255,255,0.9);
    border: 2px solid rgba(255,255,255,0.35);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.7);
}
.btn-accent {
    background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
    color: var(--white);
    box-shadow: 0 2px 10px rgba(251,191,36,0.18);
    padding: 16px 36px;
    font-size: 1rem;
    justify-content: center;
}
.btn-accent:hover {
    box-shadow: 0 0 24px rgba(251,191,36,0.5), 0 2px 10px rgba(251,191,36,0.25);
}

/* --- Reveal Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================
   NAVIGATION
   ================================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: background 0.35s, box-shadow 0.35s;
}
.site-header.scrolled {
    background: rgba(22, 18, 58, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 16px 0;
    box-shadow: 0 1px 12px rgba(0,0,0,0.15);
}
.nav-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-head);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--white);
    z-index: 102;
}
.logo-icon { font-size: 1.5rem; line-height: 1; }
.logo-dot { color: var(--orange); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-links a {
    font-family: var(--font-head);
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255,255,255,0.82);
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.nav-links a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.22);
}
.nav-cta {
    background: linear-gradient(135deg, var(--orange), #EF4444) !important;
    color: var(--white) !important;
    padding: 10px 22px !important;
    border-radius: 50px;
    font-weight: 700 !important;
    box-shadow: 0 1px 8px rgba(249,115,22,0.18);
    transition: transform var(--transition), box-shadow var(--transition) !important;
}
.nav-cta:hover {
    box-shadow: 0 0 24px rgba(249,115,22,0.5), 0 2px 10px rgba(249,115,22,0.25) !important;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 102;
}
.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================
   HERO
   ================================================ */
.hero {
    background: linear-gradient(145deg, var(--purple-deep) 0%, var(--purple-mid) 55%, #5B21B6 100%);
    position: relative;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    padding-top: 80px;
}

/* Stars (generated by JS) */
.hero-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

/* Glowing orbs */
.hero-orbs { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
}
.orb-1 {
    width: 500px; height: 500px;
    background: var(--purple-bright);
    top: -100px; right: -100px;
    animation: orbDrift 18s ease-in-out infinite alternate;
}
.orb-2 {
    width: 320px; height: 320px;
    background: var(--orange);
    bottom: 80px; left: -80px;
    animation: orbDrift 14s ease-in-out 4s infinite alternate-reverse;
}
.orb-3 {
    width: 260px; height: 260px;
    background: #06B6D4;
    top: 40%; right: 20%;
    animation: orbDrift 20s ease-in-out 2s infinite alternate;
}
@keyframes orbDrift {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(40px, 30px) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 80px 24px 160px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-eyebrow {
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}
.hero-title {
    font-family: var(--font-head);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.08;
    margin-bottom: 24px;
}
.hero-title-accent {
    background: linear-gradient(135deg, var(--orange), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 500px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.hero-caption {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.38);
    font-style: italic;
    text-align: center;
    margin-top: -25px;
}

/* Mascot */
.hero-mascots-mobile { display: none; }
.hero-mascots {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-items: center;
}
.mascot-ring {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
/* Soft glow pool beneath the characters */
.mascot-ring::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 40px;
    background: radial-gradient(ellipse, rgba(124,58,237,0.45) 0%, transparent 70%);
    filter: blur(12px);
    pointer-events: none;
}
@keyframes floatMascot {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-18px); }
}
.mascot-img {
    max-width: 580px;
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.35));
}
/* Hidden until the JS "transporter" effect materialises it (see main.js) */
.mascot-teleport { opacity: 0; }

/* Wave */
.hero-wave {
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    z-index: 3;
    line-height: 0;
}
.hero-wave svg { display: block; width: 100%; height: 100px; }

/* ================================================
   SERVICES
   ================================================ */
.services { background: #251D70; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.service-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    padding: 40px 32px;
    transition: box-shadow var(--transition), border-color var(--transition), background var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--orange));
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: left;
}
.service-card:hover {
    background: rgba(255,255,255,0.11);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 24px;
}
.service-icon--orange { background: rgba(249,115,22,0.2); color: var(--orange); }
.service-icon--purple { background: rgba(167,139,250,0.2); color: #A78BFA; }
.service-icon--teal   { background: rgba(13,148,136,0.2); color: #2DD4BF; }
.service-icon--gold   { background: rgba(251,191,36,0.2); color: var(--gold); }

.service-card h3 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 14px;
    color: var(--white);
}
.service-card p {
    color: rgba(255,255,255,0.68);
    line-height: 1.72;
    font-size: 0.94rem;
}

/* Keep the icon and text above the plant row */
.service-wide-icon, .service-wide-text { position: relative; z-index: 2; }

/* Full width feature band - sits below the 3 card grid */
.service-wide {
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 32px;
    background: linear-gradient(135deg, rgba(13,148,136,0.14), rgba(124,58,237,0.14));
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    padding: 40px 44px;
    position: relative;
    overflow: hidden;
    transition: box-shadow var(--transition), border-color var(--transition), background var(--transition);
}
.service-wide::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--purple-bright));
}
.service-wide:hover {
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.service-wide-icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background: rgba(13,148,136,0.2);
    color: #2DD4BF;
}
.service-wide-text h3 {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
    color: var(--white);
}
.service-wide-text p {
    color: rgba(255,255,255,0.7);
    line-height: 1.72;
    font-size: 0.97rem;
    max-width: 70ch;
}

/* Row of plants that grow up from the bottom edge on hover - themed to the sustainable growth message */
.service-wide-plants {
    position: absolute;
    left: 0; right: 0; bottom: 3px;
    height: 64px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 28px;
    gap: 6px;
    z-index: 1;
    pointer-events: none;
}
.service-wide-plants i {
    color: var(--teal);
    font-size: 1.1rem;
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.55s cubic-bezier(0.34, 1.4, 0.5, 1), opacity 0.35s ease;
}
.service-wide:hover .service-wide-plants i {
    transform: translateY(0);
    opacity: 0.9;
}
.service-wide-plants i:nth-child(1)  { transition-delay: 0.00s; font-size: 1.00rem; }
.service-wide-plants i:nth-child(2)  { transition-delay: 0.05s; font-size: 1.30rem; }
.service-wide-plants i:nth-child(3)  { transition-delay: 0.10s; font-size: 0.95rem; }
.service-wide-plants i:nth-child(4)  { transition-delay: 0.15s; font-size: 1.20rem; }
.service-wide-plants i:nth-child(5)  { transition-delay: 0.20s; font-size: 1.05rem; }
.service-wide-plants i:nth-child(6)  { transition-delay: 0.25s; font-size: 1.35rem; }
.service-wide-plants i:nth-child(7)  { transition-delay: 0.30s; font-size: 1.00rem; }
.service-wide-plants i:nth-child(8)  { transition-delay: 0.35s; font-size: 1.20rem; }
.service-wide-plants i:nth-child(9)  { transition-delay: 0.40s; font-size: 0.95rem; }
.service-wide-plants i:nth-child(10) { transition-delay: 0.45s; font-size: 1.25rem; }
.service-wide-plants i:nth-child(3n)   { color: #34D399; }
.service-wide-plants i:nth-child(3n+1) { color: #5EEAD4; }
@media (prefers-reduced-motion: reduce) {
    .service-wide-plants i { transition: opacity 0.25s ease; transform: none; }
    .pricing-teaser-astro img { animation: none; }
}

/* ================================================
   ABOUT
   ================================================ */
.about { background: #3B2DA8; }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}
.about-image { position: relative; }
.about-img-placeholder {
    width: 100%;
    max-width: 480px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-img-placeholder img {
    width: 100%;
    height: auto;
    display: block;
}
.about-badge {
    position: absolute;
    bottom: -16px;
    right: -16px;
    background: var(--white);
    color: var(--purple-bright);
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 8px;
}
.about-badge i { color: var(--orange); }

.about-text .section-eyebrow { margin-bottom: 8px; }
.about-text .section-title   { margin-bottom: 20px; }
.about-text p {
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 0.97rem;
}
.about-text p strong { color: var(--white); }
.about-bullets {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0 32px;
}
.about-bullet {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.93rem;
    color: rgba(255,255,255,0.88);
    font-weight: 500;
}
.about-bullet i { color: var(--gold); font-size: 1rem; }

/* ================================================
   PROJECTS
   ================================================ */
.projects { background: #251D70; }

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.project-row {
    display: grid;
    grid-template-columns: 280px 1fr auto;
    align-items: center;
    gap: 36px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    cursor: pointer;
    transition: background var(--transition), padding var(--transition);
    border-radius: 0;
    position: relative;
}
.project-row::before {
    content: '';
    position: absolute;
    inset: 0 -24px;
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-sm);
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 0;
}
.project-row:hover::before { opacity: 1; }
.project-row > * { position: relative; z-index: 1; }

/* Thumbnail */
.project-row-img {
    width: 100%;
    height: 168px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}
.project-img-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--orange);
    transition: transform 0.4s ease;
}
.project-row:hover .project-img-placeholder { transform: scale(1.08); }
.project-row-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.project-row:hover .project-row-img img { transform: scale(1.08); }

/* Info */
.project-row-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
    padding: 8px 0;
}
.project-row-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}
.project-number {
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--orange);
    letter-spacing: 0.1em;
}
.project-type {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: rgba(255,255,255,0.1);
    padding: 3px 10px;
    border-radius: 50px;
}
.project-row-info h3 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    transition: color var(--transition);
}
.project-row:hover .project-row-info h3 { color: var(--gold); }
.project-work {
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}
.project-work i { color: #2DD4BF; }

/* No-link row */
.project-row--no-link { cursor: default; }
.project-row--no-link::before { display: none; }

/* Arrow */
.project-row-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
    flex-shrink: 0;
    transition: background var(--transition), border-color var(--transition),
                color var(--transition), transform var(--transition);
}
.project-row:hover .project-row-arrow {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
    transform: translateX(4px);
}

/* ================================================
   PRICING TEASER
   ================================================ */
.pricing-teaser {
    background: #3B2DA8;
    position: relative;
    overflow: hidden;
}
.pricing-teaser::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    right: 12%;
    top: 50%;
    transform: translateY(-50%);
    background: radial-gradient(circle, rgba(251,191,36,0.16) 0%, transparent 68%);
    pointer-events: none;
}
.pricing-teaser-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 300px);
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.pricing-teaser-copy {
    text-align: left;
    max-width: 650px;
}
.pricing-teaser-copy .section-lead {
    margin: 0;
    max-width: 620px;
}
.pricing-teaser-btn { margin-top: 32px; }
.pricing-teaser-astro {
    display: flex;
    justify-content: center;
    pointer-events: none;
}
.pricing-teaser-astro img {
    width: min(100%, 280px);
    height: auto;
    filter: drop-shadow(0 18px 30px rgba(0,0,0,0.3));
    transform: rotate(8deg);
    animation: astroFloat 5.8s ease-in-out infinite;
}
@keyframes astroFloat {
    0%, 100% { transform: translateY(0) rotate(8deg); }
    50% { transform: translateY(-16px) rotate(11deg); }
}

/* ================================================
   CONTACT
   ================================================ */
.contact {
    background: linear-gradient(145deg, var(--purple-deep) 0%, #2D1860 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.contact::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(124,58,237,0.2) 0%, transparent 70%);
    top: -200px; right: -100px;
    pointer-events: none;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 1;
}
.contact-intro .section-title { margin-bottom: 18px; }
.contact-intro > p {
    color: rgba(255,255,255,0.68);
    line-height: 1.8;
    margin-bottom: 36px;
    font-size: 0.97rem;
}
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-details li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.93rem;
    color: rgba(255,255,255,0.72);
}
.contact-details i { color: var(--gold); font-size: 1rem; width: 18px; text-align: center; }
.contact-details a { color: rgba(255,255,255,0.85); transition: color var(--transition); }
.contact-details a:hover { color: var(--gold); }

/* Form wrapper */
.contact-form-wrap {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 44px 40px;
}
.contact-form { display: flex; flex-direction: column; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
    font-family: var(--font-head);
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.form-group input,
.form-group textarea {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.94rem;
    transition: border-color var(--transition), background var(--transition);
    resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255,255,255,0.11);
}

/* Captcha */
.form-captcha { display: flex; flex-direction: column; gap: 10px; }
.form-captcha label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.68);
    font-family: var(--font-body);
    font-weight: normal;
    letter-spacing: 0;
    text-transform: none;
}
.form-captcha strong { color: var(--gold); }
.form-captcha input {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    color: var(--white);
    font-size: 0.94rem;
    max-width: 130px;
    transition: border-color var(--transition), background var(--transition);
}
.form-captcha input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255,255,255,0.11);
}

/* Form feedback */
.form-success {
    text-align: center;
    padding: 48px 24px;
}
.form-success-icon {
    width: 64px; height: 64px;
    background: rgba(74,222,128,0.15);
    border: 2px solid #4ADE80;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.6rem;
    color: #4ADE80;
}
.form-success h3 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 10px;
}
.form-success p { color: rgba(255,255,255,0.65); }

.form-error-msg {
    background: rgba(248,113,113,0.12);
    border: 1px solid rgba(248,113,113,0.3);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #FCA5A5;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
    background: #13112E;
    padding: 44px 0;
    text-align: center;
    color: rgba(255,255,255,0.4);
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-logo {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 6px;
}
.footer-logo span { color: var(--orange); }
.footer-tagline { font-size: 0.88rem; margin-bottom: 20px; }
.footer-links { font-size: 0.82rem; margin-bottom: 14px; }
.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--orange); }
.footer-copy { font-size: 0.78rem; }

/* ================================================
   RESPONSIVE
   ================================================ */

/* Tablet */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        padding-bottom: 140px;
        text-align: center;
    }
    .hero-subtitle { max-width: 100%; }
    .hero-actions { justify-content: center; }
    .hero-mascots { display: none; }
    .hero-mascots-mobile {
        display: block;
        margin: 24px auto 8px;
        max-width: 300px;
    }
    .hero-mascots-mobile .mascot-img { max-width: 100%; }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-img-placeholder { max-width: 100%; }
    .about-badge { right: 16px; }
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .pricing-teaser-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }
    .pricing-teaser-copy {
        text-align: center;
        max-width: 700px;
        margin: 0 auto;
    }
    .pricing-teaser-copy .section-lead { margin: 0 auto; }
    .pricing-teaser-astro img { width: 210px; }
}

/* Medium tablets */
@media (max-width: 900px) {
    .services-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile */
@media (max-width: 680px) {
    .section-pad { padding: 72px 0; }

    /* Nav mobile */
    .nav-hamburger { display: flex; }
    .nav-links {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(22, 18, 58, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 36px;
        z-index: 101;
    }
    .nav-links.open { display: flex; }
    .nav-links a {
        font-size: 1.1rem;
        color: var(--white);
        padding: 14px 40px;
        border-radius: 10px;
        background: rgba(255,255,255,0.08);
        border-color: rgba(255,255,255,0.14);
        width: 220px;
        text-align: center;
        justify-content: center;
    }
    .nav-cta {
        background: linear-gradient(135deg, var(--orange), #EF4444) !important;
        padding: 14px 32px !important;
    }

    .services-grid { grid-template-columns: 1fr; }
    .service-wide { flex-direction: column; text-align: center; gap: 20px; padding: 32px 24px; }
    .service-wide-text p { max-width: none; }
    .pricing-teaser::before {
        right: 50%;
        transform: translate(50%, -50%);
        width: 300px;
        height: 300px;
    }
    .pricing-teaser-inner { gap: 22px; }
    .pricing-teaser-astro img { width: 150px; }
    .project-row { grid-template-columns: 110px 1fr auto; gap: 18px; padding: 20px 0; }
    .project-row-img { height: 80px; }
    .project-img-placeholder { font-size: 1.8rem; }
    .project-row-info h3 { font-size: 1.05rem; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 28px 22px; }

    .hero-title { font-size: 2.6rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { justify-content: center; }
}

@media (max-width: 400px) {
    .btn { padding: 13px 22px; font-size: 0.88rem; }
    .section-title { font-size: 1.75rem; }
}
