/* ==========================================================================
   style.css  —  HOW THE WEBSITE LOOKS
   ==========================================================================
   CSS syntax:      selector { property: value; }
     selector  -> WHICH elements   (body, .card = class="card", #id = id="...")
     property  -> WHAT to change   (color, padding, font-size...)
     value     -> HOW              (red, 20px, 1.2rem...)
   Units: px = pixels, rem = relative to the base font size (1rem ≈ 16px),
          % = percent of the parent, vh = percent of screen height.
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. COLOUR PALETTE  (taken from the DASOSPACE logo and banner)
   --------------------------------------------------------------------------
   ":root" variables can be reused everywhere with var(--name).
   Change a colour HERE and the whole website updates!
   -------------------------------------------------------------------------- */
:root {
    --navy-900: #050B1F;   /* deepest background — the "night sky" of the advert */
    --navy-800: #0B1735;   /* section background                                 */
    --navy-700: #13234F;   /* cards                                              */
    --blue:     #1E90FF;   /* main brand blue — buttons, links                   */
    --cyan:     #22C8F5;   /* LOGO cyan — the bright face of the "D" and "SPACE"  */
    --steel:    #2F7FE0;   /* LOGO blue — the deeper blue edges of the "D"        */
    --orange:   #FF8A1A;   /* LOGO orange — the glowing planet on the orbit       */
    --yellow:   #FFC72C;   /* the "MAINTENANCE!" warning yellow                  */
    --green:    #25D366;   /* official WhatsApp green                            */
    --text:     #EAF2FF;   /* main text — soft white, easier on the eyes         */
    --muted:    #9FB3D9;   /* secondary text                                     */
    --radius:   14px;      /* rounded corners used everywhere                    */
    --glow:     0 0 24px rgba(34, 200, 245, 0.35);  /* neon glow shadow (logo cyan) */
}


/* --------------------------------------------------------------------------
   2. RESET & BASICS
   -------------------------------------------------------------------------- */
* {                         /* "*" = every element */
    box-sizing: border-box; /* padding is counted INSIDE an element's width */
    margin: 0;
    padding: 0;
}

html { scroll-behavior: smooth; }

/* --------------------------------------------------------------------------
   TYPOGRAPHY — inspired by aerospace websites (DIN-style lettering)
   --------------------------------------------------------------------------
   Barlow       : a free Google Font in the "DIN" style (clean, technical)
   Roboto Mono  : a monospace font for small labels (like a mission clock)
   Change the fonts for the whole site here, in one place.            */
:root {
    --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
    --font-head: "Barlow", "Helvetica Neue", Arial, sans-serif;
    --font-mono: "Roboto Mono", "Consolas", monospace;
}

body {
    font-family: var(--font-body);
    font-size: 1.05rem;
    background: var(--navy-900);
    color: var(--text);
    line-height: 1.6;       /* space between lines of text */
}

/* Big headings: bold CAPITALS, tight lines (the aerospace look) */
h1, h2, h3, .logo {
    font-family: var(--font-head);
    line-height: 1.1;
}
h1, h2 {
    font-weight: 700;
    text-transform: uppercase;     /* written in CAPITALS automatically */
    letter-spacing: 0.02em;        /* "em" = relative to the font size */
}

h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); }  /* clamp(min, preferred, max) = responsive size */
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin-bottom: 0.8rem; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: 0.01em; margin-bottom: 0.5rem; }
p  { margin-bottom: 1rem; }

a { color: var(--cyan); text-decoration: none; }
img { max-width: 100%; display: block; }    /* images never overflow their box */

.muted { color: var(--muted); }

/* .container keeps content centred with a maximum width */
.container {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;         /* "auto" left/right = centre horizontally */
    padding: 0 1.25rem;
}


/* --------------------------------------------------------------------------
   3. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;   /* flex lines up the text and the icon */
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;   /* very large radius = pill shape */
    border: none;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: #fff;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;        /* hand cursor on hover */
    transition: transform 0.2s, box-shadow 0.2s;  /* animate these changes */
}
.btn:hover {                /* ":hover" = when the mouse is over it */
    transform: translateY(-2px);   /* lift up 2px */
    box-shadow: var(--glow);
}
.btn-small    { padding: 0.5rem 1.1rem; font-size: 0.8rem; }
.btn-orange   { background: linear-gradient(135deg, var(--orange), var(--yellow)); color: var(--navy-900); }
.btn-whatsapp { background: var(--green); }
.btn-outline  { background: transparent; border: 1px solid var(--cyan); color: var(--cyan); }


/* --------------------------------------------------------------------------
   4. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;       /* stays at the top while scrolling */
    top: 0;
    z-index: 100;           /* sits above other content */
    background: rgba(5, 11, 31, 0.85);  /* rgba: last number = transparency */
    backdrop-filter: blur(10px);        /* frosted-glass effect */
    border-bottom: 1px solid rgba(0, 212, 255, 0.15);
}

.nav {
    display: flex;                   /* FLEXBOX: place children in a row */
    align-items: center;             /* centre them vertically */
    justify-content: space-between;  /* logo left, menu right */
    height: 70px;
}

.logo { display: flex; align-items: center; gap: 0.7rem; color: var(--text); font-size: 1.3rem; font-weight: 700; letter-spacing: 0.18em; }
.logo b { color: var(--cyan); }
/* The logo is wider than it is tall, so we fix the HEIGHT and let the width follow ("auto") */
.logo-img { height: 40px; width: auto; filter: drop-shadow(0 0 8px rgba(34, 200, 245, 0.45)); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text small {          /* the full name under DASOSPACE */
    font-family: var(--font-mono);
    font-size: 0.55rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.nav-links a:hover, .nav-links a.active { color: var(--cyan); }
.nav-links a.btn { color: #fff; }

.nav-toggle {               /* the ☰ button — hidden on big screens */
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.8rem;
    cursor: pointer;
}


/* --------------------------------------------------------------------------
   5. HERO (home page banner)
   -------------------------------------------------------------------------- */
.hero {
    padding: 4.5rem 0;
    /* Two layered radial "spotlights" recreate the advert's glowing background */
    background:
        radial-gradient(circle at 80% 30%, rgba(0, 212, 255, 0.18), transparent 45%),
        radial-gradient(circle at 10% 80%, rgba(255, 122, 26, 0.12), transparent 40%),
        var(--navy-900);
}

.hero-grid {
    display: grid;                       /* CSS GRID: rows & columns */
    grid-template-columns: 1.2fr 1fr;    /* 2 columns; "fr" = fraction of space */
    gap: 3rem;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    color: var(--orange);
    font-family: var(--font-mono);   /* monospace, like a mission clock */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.glow { color: var(--cyan); text-shadow: var(--glow); }
.lead { font-size: 1.15rem; color: var(--muted); margin: 1.2rem 0 1.8rem; }

.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }

.domain-pill {
    display: inline-block;
    margin-top: 1.8rem;
    padding: 0.4rem 1rem;
    border: 1px solid var(--blue);
    border-radius: 999px;
    color: var(--cyan);
    font-family: var(--font-head);
}

/* ---- The company logo on the right of the hero ---- */
.hero-logo {
    position: relative;
    display: flex;
    justify-content: center;
}
/* A soft round glow behind the logo (::before adds a decorative layer) */
.hero-logo::before {
    content: "";
    position: absolute;
    inset: 5% 10%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 200, 245, 0.22), transparent 65%);
    filter: blur(10px);
}
.hero-logo img {
    position: relative;      /* sits above the glow */
    width: 100%;
    max-width: 500px;
    filter: drop-shadow(0 0 22px rgba(34, 200, 245, 0.35));
    animation: float 5s ease-in-out infinite;
}

/* The 4 pillars as small rounded labels under the buttons */
.pillars { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.8rem; }
.pillars span {
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(34, 200, 245, 0.35);
    font-size: 0.85rem;
    color: var(--muted);
}


/* @keyframes defines an animation: gently move up and down forever */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}


/* --------------------------------------------------------------------------
   6. SECTIONS & CARDS
   -------------------------------------------------------------------------- */
.section     { padding: 4.5rem 0; }
.section-alt { background: var(--navy-800); }
.section-title { text-align: center; }
.section-sub   { text-align: center; color: var(--muted); margin-bottom: 2.5rem; }

.card-grid {
    display: grid;
    /* auto-fit + minmax = as many 190px+ columns as fit; perfect on any screen
       (190px lets all 5 service cards sit in one row on a laptop) */
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1.25rem;
}

.card {
    display: block;
    background: var(--navy-700);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: var(--radius);
    padding: 1.8rem;
    color: var(--text);
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.services-grid { grid-template-columns: repeat(3, 1fr); }   /* 9 services = 3 rows of 3 */
.card:hover { transform: translateY(-6px); border-color: var(--cyan); box-shadow: var(--glow); }
.card p     { color: var(--muted); }
/* ---- ICONS (SVG line icons from lib/icons.js) ----
   .icon      = any icon; it takes the colour of the text around it.
   .icon-box  = a glowing square tile that holds an icon (cards, contact). */
.icon { width: 1.1em; height: 1.1em; flex-shrink: 0; vertical-align: -0.15em; }
.icon-box {
    /* Fusion-AI style tile: a solid gradient square with a WHITE icon in the
       exact centre. Uses the logo colours (cyan -> blue), so no new colours. */
    width: 52px;
    height: 52px;
    display: flex;              /* flex + center = icon exactly in the middle */
    align-items: center;
    justify-content: center;
    flex-shrink: 0;             /* never squeezed smaller inside a flex row */
    margin-bottom: 1.1rem;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--cyan), var(--steel));
    box-shadow: 0 8px 22px rgba(34, 200, 245, 0.28),
                inset 0 1px 0 rgba(255, 255, 255, 0.25);   /* soft glow + top shine */
    transition: transform 0.25s, box-shadow 0.25s;
}
.icon-box .icon { width: 26px; height: 26px; stroke-width: 1.9; }
.icon-box-lg { width: 60px; height: 60px; border-radius: 16px; }
.icon-box-lg .icon { width: 30px; height: 30px; }
.card:hover .icon-box, .focus-card:hover .icon-box, .audience-card:hover .icon-box {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(34, 200, 245, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.card-link  { color: var(--orange); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; display: inline-flex; align-items: center; gap: 0.4rem; }
.card-link .icon { width: 16px; height: 16px; transition: transform 0.2s; }
.card:hover .card-link .icon { transform: translateX(4px); }   /* arrow slides on hover */

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.2rem; color: var(--yellow); }
.stat span   { color: var(--muted); }

/* Call-to-action box */
.cta {
    text-align: center;
    padding: 3rem 1.5rem;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--navy-700), #1a2f6b);
    border: 1px solid rgba(255, 199, 44, 0.3);
}
.cta p { color: var(--muted); margin: 1rem 0 1.5rem; }


/* --------------------------------------------------------------------------
   7. INNER PAGES (about, services, detail, contact)
   -------------------------------------------------------------------------- */
.page-banner {
    position: relative;
    overflow: hidden;        /* hide the part of the watermark that sticks out */
    padding: 3.5rem 0 3rem;
    background: radial-gradient(circle at 15% 0%, rgba(30, 144, 255, 0.25), transparent 55%), var(--navy-800);
    border-bottom: 1px solid rgba(34, 200, 245, 0.15);
}
/* ::after adds a decorative layer: the logo, big and faint, on the right.
   The url is relative to THIS css file: ../images/ = up one folder, then images/ */
.page-banner::after {
    content: "";
    position: absolute;
    right: 4%;
    top: -10%;
    width: 260px;
    height: 120%;
    background: url("../images/logo-full.png") no-repeat center / contain;
    opacity: 0.08;
    pointer-events: none;    /* clicks pass straight through it */
}
.page-banner .container { position: relative; z-index: 1; }  /* text above the watermark */
.breadcrumb { font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb span { margin: 0 0.3rem; }
.breadcrumb .crumb-current { color: var(--cyan); }
.page-banner .lead { margin-bottom: 0; }
.banner-icon { margin-bottom: 1rem; }

.about-grid, .detail-grid, .contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Services page: big icon + text side by side, alternating */
.service-list { display: flex; flex-direction: column; gap: 2rem; }
.service-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 2rem;
    align-items: center;
    background: var(--navy-700);
    padding: 2rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--cyan);
}
.service-row.reverse { border-left-color: var(--steel); }  /* every 2nd row */
.service-row { scroll-margin-top: 90px; }  /* when a chip jumps here, don't hide under the header */

/* Quick-jump chips on the Services page */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; padding-top: 2rem; }
.chip {
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(34, 200, 245, 0.35);
    color: var(--text);
    font-size: 0.9rem;
}
.chip:hover { background: var(--navy-700); border-color: var(--cyan); }

.checklist.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }  /* 2 neat columns, rows lined up */
.service-side {             /* number stacked above the icon */
    display: flex;
    flex-direction: column;  /* flexbox in a column instead of a row */
    align-items: center;
    gap: 0.4rem;
}
.service-num {               /* the "01", "02"... label */
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--steel);
    letter-spacing: 2px;
}
.service-icon {
    display: flex;           /* flex + center = icon exactly in the middle */
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--cyan), var(--steel));
    box-shadow: 0 10px 28px rgba(34, 200, 245, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    width: 84px;
    height: 84px;
}
.service-icon .icon { width: 40px; height: 40px; stroke-width: 1.7; }

/* A list with ✔ marks instead of dots */
.checklist { list-style: none; margin-bottom: 1.5rem; }
.checklist li { padding-left: 1.8rem; position: relative; margin-bottom: 0.4rem; }
.checklist li::before {      /* ::before draws a tick: two borders of a rotated box */
    content: "";
    position: absolute;
    left: 0.3rem;
    top: 0.35em;
    width: 0.4rem;
    height: 0.75rem;
    border-right: 2px solid var(--green);
    border-bottom: 2px solid var(--green);
    transform: rotate(45deg);
}

.sidebar { background: var(--navy-700); padding: 1.5rem; border-radius: var(--radius); }
.sidebar a { display: block; padding: 0.6rem 0.8rem; border-radius: 8px; color: var(--muted); }
.sidebar a:hover, .sidebar a.current { background: var(--navy-900); color: var(--cyan); }


/* About page: mission/vision cards + logo showcase */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.mv-card { background: var(--navy-700); padding: 1.3rem; border-radius: var(--radius); border-top: 3px solid var(--cyan); }
.mv-card p { color: var(--muted); margin: 0; }
.logo-showcase { text-align: center; }
.logo-showcase img {
    width: 100%;
    max-width: 380px;
    margin: 0 auto 1rem;
    filter: drop-shadow(0 0 24px rgba(34, 200, 245, 0.35));
    animation: float 4s ease-in-out infinite;
}

/* A highlighted quotation (the public message) */
.quote {
    margin: 1.2rem 0 1.5rem;
    padding: 0.4rem 0 0.4rem 1.2rem;
    border-left: 4px solid var(--cyan);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text);
}

/* Home page: the four pillars */
.focus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.focus-card {
    padding: 1.6rem;
    border-radius: var(--radius);
    background: linear-gradient(160deg, var(--navy-700), var(--navy-900));
    border-top: 3px solid var(--cyan);
}
.focus-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* Home page: who we serve */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.audience-card {
    padding: 2rem 1.6rem;
    border-radius: var(--radius);
    background: var(--navy-700);
    border: 1px solid rgba(34, 200, 245, 0.15);
}
.audience-card .icon-box {   /* the orange of the logo's planet */
    background: linear-gradient(135deg, var(--yellow), var(--orange));
    box-shadow: 0 8px 22px rgba(255, 138, 26, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.audience-card p { color: var(--muted); margin: 0; }

/* About page: two columns (ways to work with us + commitment) */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.engage-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.engage-item { background: var(--navy-700); padding: 1.1rem 1.2rem; border-radius: 10px; border-left: 3px solid var(--orange); }
.engage-item h3 { font-size: 0.95rem; }
.engage-item p { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* "Examples:" line on the services pages */
.examples { color: var(--muted); font-size: 0.95rem; }
.examples strong { color: var(--orange); }

/* "How we work" — numbered steps in a row, joined by a line */
.process {
    list-style: none;        /* hide the default 1. 2. 3. — we draw our own numbers */
    display: grid;
    grid-template-columns: repeat(5, 1fr);   /* one column per step (5 steps in data.py) */
    gap: 1.5rem;
    position: relative;
}
.process::before {           /* the connecting line behind the numbers */
    content: "";
    position: absolute;
    top: 24px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--steel));
    opacity: 0.4;
}
.process-step { text-align: center; position: relative; }
.process-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 0.8rem;
    border-radius: 50%;
    background: var(--navy-900);
    border: 2px solid var(--cyan);
    color: var(--cyan);
    font-family: var(--font-head);
    font-weight: 800;
}
.process-step p { color: var(--muted); font-size: 0.95rem; }
/* On the service detail page the column is narrow, so the steps become a vertical list */
.process-compact { margin: 1rem 0 0; grid-template-columns: 1fr; gap: 0.8rem; }
.process-compact::before { display: none; }       /* no connecting line */
.process-compact .process-step {
    display: grid;
    grid-template-columns: 48px 160px 1fr;      /* number | step name | description */
    align-items: center;
    gap: 1rem;
    text-align: left;
}
.process-compact .process-num { margin: 0; }
.process-compact h3, .process-compact p { margin: 0; }

/* Service detail page */
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-bottom: 2rem; }
.offer-card { background: var(--navy-700); padding: 0.9rem 1rem; border-radius: 10px; border: 1px solid rgba(34, 200, 245, 0.15); }
.offer-card { display: flex; align-items: center; gap: 0.6rem; }
.offer-check { color: var(--green); display: inline-flex; }
.sidebar-cta { margin-bottom: 1.2rem; border: 1px solid var(--green); }
.sidebar-cta .btn { display: block; text-align: center; margin-top: 0.7rem; }
/* ".sidebar a" (above) styles plain links; these MORE SPECIFIC rules win for the buttons */
.sidebar a.btn          { padding: 0.75rem 1.2rem; border-radius: 999px; color: #fff; }
.sidebar a.btn-whatsapp,
.sidebar a.btn-whatsapp:hover { background: var(--green); }
.sidebar a.btn-outline  { color: var(--cyan); }
.sidebar a.btn-outline:hover { background: rgba(34, 200, 245, 0.1); }


/* --------------------------------------------------------------------------
   8. CONTACT PAGE & FORM
   -------------------------------------------------------------------------- */
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--navy-700);
    padding: 1rem 1.2rem;
    border-radius: var(--radius);
    color: var(--text);
    border: 1px solid transparent;
}
.contact-card:hover   { border-color: var(--cyan); }
.contact-card.whatsapp { border-color: var(--green); }
.contact-card .icon-box { margin: 0; width: 48px; height: 48px; flex-shrink: 0; }
.contact-card .icon-box .icon { width: 24px; height: 24px; }
.icon-box-whatsapp { background: linear-gradient(135deg, #3BE07E, var(--green)); box-shadow: 0 8px 22px rgba(37, 211, 102, 0.3); }
.map { width: 100%; height: 220px; border: 0; border-radius: var(--radius); filter: grayscale(0.3) brightness(0.9); }

.contact-form { background: var(--navy-700); padding: 2rem; border-radius: var(--radius); }
.form-group   { margin-bottom: 1.1rem; }
.form-group label { display: block; margin-bottom: 0.35rem; font-weight: 600; }

/* "input, textarea" = style BOTH kinds of boxes the same way */
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--navy-900);
    border: 1px solid rgba(159, 179, 217, 0.3);
    border-radius: 10px;
    color: var(--text);
    font: inherit;           /* use the same font as the page */
}
.form-group input:focus,
.form-group textarea:focus {  /* ":focus" = the box being typed in */
    outline: none;
    border-color: var(--cyan);
    box-shadow: var(--glow);
}
.field-error { color: #ff6b6b; font-size: 0.9rem; margin-top: 0.3rem; }

/* Pop-up messages from Django (message.tags gives "success", "error"...) */
.alert { margin-top: 1rem; padding: 1rem 1.2rem; border-radius: 10px; font-weight: 600; }
.alert-success { background: rgba(37, 211, 102, 0.15); border: 1px solid var(--green); color: var(--green); }
.alert-error   { background: rgba(255, 107, 107, 0.15); border: 1px solid #ff6b6b; color: #ff6b6b; }


/* --------------------------------------------------------------------------
   9. FOOTER & WHATSAPP BUTTON
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy-800); padding: 3.5rem 0 1.5rem; border-top: 1px solid rgba(0, 212, 255, 0.15); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 2rem; }
.footer-grid h4 { margin-bottom: 0.8rem; color: var(--yellow); font-family: var(--font-mono); font-weight: 500; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.15em; }
.footer-grid a, .footer-grid span { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; color: var(--muted); }
.footer-grid a:hover { color: var(--cyan); }
.footer-logo img { width: 230px; margin-bottom: 0.4rem; }   /* the full logo */
.footer-slogan { color: var(--orange); font-style: italic; font-weight: 600; margin-bottom: 0.3rem; }
.copyright { text-align: center; color: var(--muted); font-size: 0.85rem; margin: 2rem 0 0; }

.whatsapp-float {
    position: fixed;         /* stays in place even while scrolling */
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    z-index: 200;
    animation: pulse 2.2s infinite;
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}


/* --------------------------------------------------------------------------
   10. MAINTENANCE PAGE (recreates your advert)
   -------------------------------------------------------------------------- */
.maintenance-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1rem;
    background:
        radial-gradient(circle at 50% 30%, rgba(0, 212, 255, 0.2), transparent 50%),
        var(--navy-900);
}
.m-wrap { max-width: 900px; width: 100%; }

.m-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }
.m-tile {
    padding: 1.2rem 0.6rem;
    border: 1px solid var(--cyan);
    border-radius: var(--radius);
    background: rgba(19, 35, 79, 0.7);
    box-shadow: var(--glow);
    font-family: var(--font-head);
}
.m-tile span  { display: block; color: var(--cyan); margin-bottom: 0.4rem; }
.m-tile span .icon { width: 34px; height: 34px; }
.m-tile small { display: block; color: var(--muted); font-family: var(--font-body); }

.m-logo-full {               /* the full logo above the hazard sign */
    width: 100%;
    max-width: 420px;
    margin: 0 auto 1.8rem;
    filter: drop-shadow(0 0 24px rgba(34, 200, 245, 0.4));
    animation: float 4s ease-in-out infinite;
}
.m-slogan { color: var(--orange); font-style: italic; font-weight: 600; margin: 1.6rem 0 0; }

/* The hazard sign: a diagonal yellow/black stripe border */
.m-sign {
    padding: 1.8rem 1.2rem;
    border-radius: var(--radius);
    background: #111;
    border: 10px solid transparent;
    /* Two backgrounds: the dark centre (padding-box), the stripes behind the border (border-box) */
    background-image:
        linear-gradient(#111, #111),
        repeating-linear-gradient(45deg, var(--yellow) 0 18px, #111 18px 36px);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}
.m-sign h1 { text-transform: uppercase; font-size: clamp(1.5rem, 4.5vw, 2.6rem); }
.m-sign h1 span { color: var(--yellow); display: block; }
.m-sign p {
    display: inline-block;
    margin: 1rem 0 0;
    padding: 0.5rem 1.2rem;
    background: var(--orange);
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.15rem;
}

.m-domain { font-family: var(--font-head); font-size: 1.8rem; color: var(--cyan); text-shadow: var(--glow); margin: 1.8rem 0 1rem; }
.m-phone  { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.8rem 1.8rem; border-radius: 999px; background: var(--green); color: #fff; font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }


/* --------------------------------------------------------------------------
   11. RESPONSIVE DESIGN — rules that apply only on smaller screens
   --------------------------------------------------------------------------
   "@media (max-width: 860px)" means: only when the screen is 860px wide or less.
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
    /* Stack two-column layouts into one column */
    .hero-grid, .about-grid, .detail-grid, .contact-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-logo img { max-width: 340px; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .process-compact .process-step { grid-template-columns: 48px 1fr; }
    .process-compact .process-step p { grid-column: 2; }
    .focus-grid, .engage-list { grid-template-columns: 1fr 1fr; }
    .audience-grid, .two-col { grid-template-columns: 1fr; }
    .logo-text small { display: none; }   /* hide the full name on phones to save space */
    .process { grid-template-columns: 1fr 1fr; }
    .process::before { display: none; }
    .mv-grid, .offer-grid { grid-template-columns: 1fr; }
    .checklist.two-col { grid-template-columns: 1fr; }
    .page-banner::after { width: 140px; opacity: 0.06; }
    .service-row { grid-template-columns: 1fr; text-align: center; }
    .service-icon { margin: 0 auto; }
    .checklist { text-align: left; }
    .m-tiles { grid-template-columns: repeat(2, 1fr); }

    /* Mobile menu: hidden until the ☰ button adds the class "open" (main.js) */
    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        padding: 1.5rem;
        background: var(--navy-800);
        border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    }
    .nav-links.open { display: flex; }
}


/* --------------------------------------------------------------------------
   12. ADMIN — list of contact messages (/admin)
   -------------------------------------------------------------------------- */
.admin-list { display: flex; flex-direction: column; gap: 1rem; }
.admin-msg {
    background: var(--navy-700);
    border-left: 3px solid var(--cyan);
    border-radius: 10px;
    padding: 1.2rem 1.4rem;
}
.admin-msg header { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.4rem; }
.admin-msg p { margin-bottom: 0.4rem; }
.admin-delete { margin-top: 0.6rem; text-align: right; }
.btn-danger { background: transparent; border: 1px solid #ff6b6b; color: #ff6b6b; }
.btn-danger:hover { background: rgba(255, 107, 107, 0.15); box-shadow: none; }
.contact-form .alert { margin: 0 0 1rem; }   /* form errors sit inside the form */
.cf-turnstile { min-height: 65px; }          /* reserve space for the security check */

/* --------------------------------------------------------------------------
   13. SMALL INLINE ICONS (chips, sidebar, headings)
   -------------------------------------------------------------------------- */
.pillars span, .chip { display: inline-flex; align-items: center; gap: 0.45rem; }
.pillars .icon, .chip .icon { width: 16px; height: 16px; color: var(--cyan); }
.sidebar a { display: flex; align-items: center; gap: 0.6rem; }
.sidebar a .icon { width: 18px; height: 18px; color: var(--cyan); }
.mv-card h3 { display: flex; align-items: center; gap: 0.5rem; }
.mv-card h3 .icon { color: var(--cyan); width: 22px; height: 22px; }
.btn .icon { width: 18px; height: 18px; }
.btn .icon-whatsapp { width: 20px; height: 20px; }
.footer-grid .icon { width: 16px; height: 16px; color: var(--cyan); }
.footer-grid .icon-whatsapp { color: var(--green); }
.stat span, .process-step p { letter-spacing: 0.01em; }

/* Small phones: one card per row so text has room to breathe */
@media (max-width: 560px) {
    .focus-grid, .services-grid, .engage-list { grid-template-columns: 1fr; }
    h1 { font-size: 2.3rem; }
}
