@charset "UTF-8";
/* =========================================================================
   EC Solutions — design system
   ------------------------------------------------------------------------
   Hand-written, no framework. Bootstrap would ship ~160 KB of which this
   site uses maybe 8, and every override would fight a specificity chain.
   This file is ~20 KB and is the whole stylesheet.

   Order:
     1  Fonts
     2  Tokens
     3  Reset and base
     4  Layout
     5  Typography
     6  Components
     7  Page sections
     8  Forms
     9  Utilities
    10  Print
   ========================================================================= */


/* == 1. Fonts ============================================================
   Self-hosted variable fonts. Nothing is requested from a third party, so
   there is no extra DNS lookup, no connection to warm up, and no visitor
   IP address handed to another company.
   ------------------------------------------------------------------------ */

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope-var.woff2') format('woff2-variations');
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
    /* Latin — covers es, it, en, fr and most of de */
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                   U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122,
                   U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope-var-ext.woff2') format('woff2-variations');
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
                   U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-var.woff2') format('woff2-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                   U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122,
                   U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-var-ext.woff2') format('woff2-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
                   U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


/* == 2. Tokens =========================================================== */

:root {
    /* --- Colour ------------------------------------------------------- */
    --ink:          #0D1218;
    --ink-soft:     #1C2530;

    /* Identità monocromatica: nessun colore di marca. Questi cinque token
       restano perché tutto il foglio li usa già; cambiano solo i valori.
       I colori semantici più sotto (esito, avviso, errore) NON seguono la
       scala di grigi: lì il colore porta informazione, non stile. */
    --brand-700:    #000000;   /* stato attivo e passaggio del cursore */
    --brand-600:    #0D1218;   /* il nero di marca: pulsanti, link */
    --brand-500:    #55606E;   /* contorni di messa a fuoco su fondo chiaro */
    --brand-100:    #DDE2E8;
    --brand-50:     #F2F4F7;

    /* Sulle sezioni scure la stessa scala si capovolge, altrimenti link e
       contorni sparirebbero nel fondo. */
    --on-ink:       #FFFFFF;
    --on-ink-soft:  #A8B2BF;

    --slate-700:    #33404F;
    --slate-600:    #4A5768;
    --slate-500:    #6B7787;
    --slate-400:    #97A1AF;
    --slate-300:    #CBD3DE;
    --slate-200:    #E2E8F0;
    --slate-100:    #F1F4F8;

    --surface:      #FFFFFF;
    --surface-alt:  #F6F8FB;

    --success:      #0E7A52;
    --success-bg:   #E7F5EF;
    --warning:      #9A5B00;
    --warning-bg:   #FDF3E3;
    --danger:       #B3261E;
    --danger-bg:    #FDECEA;

    /* --- Type --------------------------------------------------------- */
    --font-display: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --text-xs:   0.75rem;
    --text-sm:   0.875rem;
    --text-base: 1rem;
    --text-lg:   1.125rem;

    --h3:      clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem);
    --h2:      clamp(1.5rem, 1.25rem + 1.1vw, 2.125rem);
    --h1:      clamp(2rem, 1.5rem + 2.1vw, 3rem);
    --display: clamp(2.25rem, 1.6rem + 2.8vw, 3.75rem);

    /* --- Space -------------------------------------------------------- */
    --space-1:  0.25rem;
    --space-2:  0.5rem;
    --space-3:  0.75rem;
    --space-4:  1rem;
    --space-5:  1.5rem;
    --space-6:  2rem;
    --space-7:  3rem;
    --space-8:  4rem;
    --space-9:  6rem;

    /* Vertical rhythm between page sections — the main thing that makes
       the layout feel deliberate rather than assembled. */
    --section-y: clamp(3rem, 2rem + 5vw, 6rem);

    /* --- Layout ------------------------------------------------------- */
    --container:  76rem;
    --container-narrow: 46rem;
    --measure:    68ch;
    --gutter:     clamp(1rem, 0.5rem + 2.5vw, 2.5rem);

    --radius-sm: 6px;
    --radius:    12px;
    --radius-lg: 18px;
    --radius-pill: 999px;

    /* Shadows kept flat and cool-toned; warm shadows read as cheap. */
    --shadow-sm: 0 1px 2px rgb(13 18 24 / 6%), 0 1px 3px rgb(13 18 24 / 4%);
    --shadow:    0 2px 4px rgb(13 18 24 / 5%), 0 6px 16px -4px rgb(13 18 24 / 8%);
    --shadow-lg: 0 8px 32px -8px rgb(13 18 24 / 14%);

    --ring: 0 0 0 3px var(--surface), 0 0 0 6px var(--brand-500);

    --transition: 160ms cubic-bezier(0.4, 0, 0.2, 1);

    --header-h: 4rem;
    --mobile-bar-h: 3.75rem;
}

@media (min-width: 60em) {
    :root { --header-h: 5rem; --mobile-bar-h: 0rem; }
}


/* == 3. Reset and base =================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    /* Anchor targets clear the sticky header instead of hiding under it. */
    scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.65;
    color: var(--ink);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-variant-numeric: tabular-nums;
    /* Room for the mobile action bar so it never covers the footer. */
    padding-bottom: var(--mobile-bar-h);
    overflow-wrap: break-word;
}

h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }

img, picture, video, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

button, input, select, textarea { font: inherit; color: inherit; }

a {
    color: var(--brand-600);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}
a:hover { color: var(--brand-700); }

/* One visible, high-contrast focus ring everywhere. Never remove it —
   it is the only way a keyboard user knows where they are. */
:focus-visible {
    outline: 3px solid var(--brand-500);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}
:focus:not(:focus-visible) { outline: none; }

::selection { background: var(--brand-100); color: var(--ink); }

hr {
    border: 0;
    border-top: 1px solid var(--slate-200);
    margin: var(--space-6) 0;
}

/* Honour the OS "reduce motion" setting. Anything decorative stops;
   nothing that conveys meaning depends on movement in the first place. */
@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;
    }
}


/* == 4. Layout =========================================================== */

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * 0.6); }
.section--alt { background: var(--surface-alt); }
.section--ink { background: var(--ink); color: #fff; }
.section--brand { background: var(--brand-50); }

.stack > * + * { margin-top: var(--space-4); }
.stack-lg > * + * { margin-top: var(--space-6); }

.grid { display: grid; gap: var(--space-5); }

@media (min-width: 40em) {
    .grid--2 { grid-template-columns: repeat(2, 1fr); }
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 62em) {
    .grid--3 { grid-template-columns: repeat(3, 1fr); }
    .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.cluster {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    align-items: center;
}

.skip-link {
    position: absolute;
    left: var(--space-4);
    top: -100%;
    z-index: 200;
    padding: var(--space-3) var(--space-4);
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: top var(--transition);
}
.skip-link:focus { top: var(--space-3); color: #fff; }


/* == 5. Typography ======================================================= */

.display, h1, h2, h3 {
    font-family: var(--font-display);
    line-height: 1.15;
    text-wrap: balance;
    color: var(--ink);
}

.display { font-size: var(--display); font-weight: 800; letter-spacing: -0.022em; }
h1       { font-size: var(--h1);      font-weight: 800; letter-spacing: -0.02em; }
h2       { font-size: var(--h2);      font-weight: 700; letter-spacing: -0.015em; }
h3       { font-size: var(--h3);      font-weight: 700; letter-spacing: -0.01em; }

.lead {
    font-size: var(--text-lg);
    line-height: 1.6;
    color: var(--slate-600);
    max-width: var(--measure);
}

.overline {
    display: block;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-600);
    margin-bottom: var(--space-2);
}

.section-head { max-width: var(--measure); margin-bottom: var(--space-7); }
.section-head p { color: var(--slate-600); margin-top: var(--space-3); }

.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.section--ink .lead, .section--ink p { color: #C9D4E4; }
.section--ink .overline { color: var(--on-ink-soft); }
.section--ink a { color: var(--on-ink); }
/* Il contorno di messa a fuoco è grigio medio: leggibile sul bianco,
   invisibile sul fondo scuro. Qui va capovolto. */
.section--ink :focus-visible { outline-color: var(--on-ink); }

.muted   { color: var(--slate-600); }
.small   { font-size: var(--text-sm); }
.measure { max-width: var(--measure); }

/* Long-form body copy: the "about", legal and service pages. */
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: var(--space-4); }
.prose h2 { margin-top: var(--space-7); }
.prose h3 { margin-top: var(--space-6); }
.prose p, .prose li { color: var(--slate-700); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul { list-style: none; }
.prose ul li {
    position: relative;
    padding-left: 1.6em;
}
.prose ul li + li { margin-top: var(--space-2); }
.prose ul li::before {
    content: '';
    position: absolute;
    left: 0.35em;
    top: 0.62em;
    width: 0.4em;
    height: 0.4em;
    border-radius: 50%;
    background: var(--brand-600);
}
.prose ol { list-style: decimal; padding-left: 1.4em; }
.prose ol li + li { margin-top: var(--space-2); }
.prose a { font-weight: 500; }

.prose blockquote {
    border-left: 3px solid var(--warning);
    background: var(--warning-bg);
    padding: var(--space-4) var(--space-5);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--warning);
    font-size: var(--text-sm);
}
.prose blockquote p { color: inherit; }

.prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
}
.prose th, .prose td {
    text-align: left;
    padding: var(--space-3);
    border-bottom: 1px solid var(--slate-200);
    vertical-align: top;
}
.prose th { font-weight: 600; color: var(--ink); background: var(--surface-alt); }

/* A wide table must scroll inside its own box, never the page. */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Unconfirmed company data. Deliberately conspicuous so it cannot be
   published by accident. */
.pending {
    display: inline-block;
    background: var(--warning-bg);
    color: var(--warning);
    border: 1px dashed currentColor;
    border-radius: var(--radius-sm);
    padding: 0.1em 0.45em;
    font-size: 0.9em;
    font-weight: 500;
}


/* == 6. Components ======================================================= */

/* --- Buttons --------------------------------------------------------- */

.btn {
    --btn-bg: var(--brand-600);
    --btn-fg: #fff;
    --btn-border: transparent;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    /* 48px tall: comfortably above the 24px WCAG 2.2 target minimum and
       above the 44px most touch guidance recommends. */
    min-height: 3rem;
    padding: 0.7rem 1.4rem;
    border: 1px solid var(--btn-border);
    border-radius: var(--radius);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition),
                transform var(--transition), box-shadow var(--transition);
}

.btn:hover { --btn-bg: var(--brand-700); color: var(--btn-fg); }
.btn:active { transform: translateY(1px); }

.btn--secondary {
    --btn-bg: var(--surface);
    --btn-fg: var(--ink);
    --btn-border: var(--slate-300);
    box-shadow: var(--shadow-sm);
}
.btn--secondary:hover { --btn-bg: var(--surface-alt); --btn-border: var(--slate-400); --btn-fg: var(--ink); }

.btn--ghost {
    --btn-bg: transparent;
    --btn-fg: var(--ink);
    --btn-border: transparent;
}
.btn--ghost:hover { --btn-bg: var(--slate-100); --btn-fg: var(--ink); }

.btn--whatsapp {
    --btn-bg: #1EA855;         /* WhatsApp green, darkened to reach 4.5:1 on white text */
    --btn-fg: #fff;
}
.btn--whatsapp:hover { --btn-bg: #178644; }

.btn--on-ink {
    --btn-bg: #fff;
    --btn-fg: var(--ink);
}
.btn--on-ink:hover { --btn-bg: var(--slate-100); --btn-fg: var(--ink); }

.btn--outline-on-ink {
    --btn-bg: transparent;
    --btn-fg: #fff;
    --btn-border: rgb(255 255 255 / 40%);
}
.btn--outline-on-ink:hover { --btn-bg: rgb(255 255 255 / 10%); --btn-fg: #fff; }

.btn--lg { min-height: 3.25rem; padding: 0.85rem 1.75rem; font-size: var(--text-lg); }
.btn--sm { min-height: 2.5rem; padding: 0.4rem 0.9rem; font-size: var(--text-sm); }
.btn--block { width: 100%; }

.btn[disabled], .btn[aria-disabled='true'] {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

.btn .icon { width: 1.15em; height: 1.15em; flex: none; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 600;
    text-decoration: none;
}
.link-arrow::after {
    content: '→';
    transition: transform var(--transition);
}
.link-arrow:hover::after { transform: translateX(3px); }


/* --- Icons ------------------------------------------------------------ */

.icon {
    width: 1.25rem;
    height: 1.25rem;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-tile {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius);
    background: var(--brand-50);
    color: var(--brand-600);
    flex: none;
}
.icon-tile .icon { width: 1.5rem; height: 1.5rem; }


/* --- Cards ------------------------------------------------------------ */

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition),
                transform var(--transition);
}
.card__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.card__title { font-size: var(--h3); }
.card__text { color: var(--slate-600); font-size: var(--text-sm); flex: 1; }
.card__foot { margin-top: auto; padding-top: var(--space-2); }

.card__media {
    aspect-ratio: 3 / 2;
    background: var(--slate-100);
    overflow: hidden;
}
.card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* The whole card is clickable, but only the title is a real link, so the
   accessible name stays meaningful and the URL is visible on hover. */
.card--link:hover { border-color: var(--brand-500); box-shadow: var(--shadow); }
.card--link:hover .card__media img { transform: scale(1.03); }
.card--link:focus-within { border-color: var(--brand-500); box-shadow: var(--ring); }
.card--link .card__title a { text-decoration: none; color: inherit; }
.card--link .card__title a::after {
    content: '';
    position: absolute;
    inset: 0;
}
.card--link .card__title a:focus-visible { outline: none; }


/* --- Badges and pills ------------------------------------------------- */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    padding: 0.2em 0.65em;
    border-radius: var(--radius-pill);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.01em;
    background: var(--slate-100);
    color: var(--slate-700);
}
.badge--brand   { background: var(--brand-50);   color: var(--brand-700); }
.badge--success { background: var(--success-bg); color: var(--success); }
.badge--warning { background: var(--warning-bg); color: var(--warning); }
.badge--danger  { background: var(--danger-bg);  color: var(--danger); }

/* Filter chips on the portfolio. Real links, so they work without JS. */
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    padding: 0.35rem 1rem;
    border: 1px solid var(--slate-300);
    border-radius: var(--radius-pill);
    background: var(--surface);
    color: var(--slate-700);
    font-size: var(--text-sm);
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition);
}
.chip:hover { border-color: var(--brand-500); color: var(--brand-700); }
.chip[aria-current='true'] {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}


/* --- Alerts ----------------------------------------------------------- */

.alert {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-4);
    border-radius: var(--radius);
    border: 1px solid;
    font-size: var(--text-sm);
}
.alert .icon { margin-top: 0.15em; }
.alert p { margin: 0; }
.alert--info    { background: var(--brand-50);   border-color: var(--brand-100); color: var(--brand-700); }
.alert--success { background: var(--success-bg); border-color: #BFE3D3; color: var(--success); }
.alert--warning { background: var(--warning-bg); border-color: #F3DEB8; color: var(--warning); }
.alert--error   { background: var(--danger-bg);  border-color: #F5C6C2; color: var(--danger); }


/* --- Demo notice ------------------------------------------------------- */
/*
   Sits above the header and scrolls away with the page. Amber rather than
   red: this is information, not an error. Not dismissible — a notice you
   can close is a notice that is absent for most of the visit.
*/

.demo-banner {
    background: var(--warning-bg);
    border-bottom: 1px solid #F3DEB8;
    color: var(--warning);
    font-size: var(--text-sm);
}

.demo-banner__inner {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding-block: var(--space-3);
}

.demo-banner .icon {
    flex: none;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.15rem;
}

.demo-banner p { margin: 0; max-width: var(--measure); }
.demo-banner strong { font-weight: 700; }


/* --- Header ----------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgb(255 255 255 / 92%);
    backdrop-filter: saturate(1.6) blur(10px);
    border-bottom: 1px solid var(--slate-200);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 2.1rem; width: auto; }
@media (min-width: 60em) { .brand img { height: 2.4rem; } }

.nav { display: none; }

.nav__list { display: flex; align-items: center; gap: var(--space-1); }

.nav__link {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0 var(--space-2);
    border-radius: var(--radius-sm);
    color: var(--slate-700);
    font-size: var(--text-sm);
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--transition), background var(--transition);
}
.nav__link:hover { color: var(--ink); background: var(--slate-100); }
.nav__link[aria-current='page'] { color: var(--brand-600); font-weight: 600; }

.header__actions { display: flex; align-items: center; gap: var(--space-2); }

/* The horizontal nav has six items with long labels in es/fr; only show it
   once there is genuinely room, otherwise the mobile menu takes over. */
@media (min-width: 78em) {
    .nav { display: block; }
}


/* --- Mobile navigation ------------------------------------------------ */

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--slate-300);
    border-radius: var(--radius);
    background: var(--surface);
    cursor: pointer;
}
.nav-toggle .icon { width: 1.35rem; height: 1.35rem; }
.nav-toggle[aria-expanded='true'] .icon--menu { display: none; }
.nav-toggle[aria-expanded='false'] .icon--close { display: none; }

.mobile-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 99;
    background: var(--surface);
    padding: var(--space-5) var(--gutter) calc(var(--mobile-bar-h) + var(--space-6));
    overflow-y: auto;
    /* Hidden from AT and from tab order when closed. */
    display: none;
}
.mobile-nav[data-open='true'] { display: block; }

.mobile-nav__list { display: grid; gap: var(--space-1); }
.mobile-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 3.25rem;
    padding: var(--space-3) var(--space-2);
    border-bottom: 1px solid var(--slate-200);
    color: var(--ink);
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    text-decoration: none;
}
.mobile-nav__link[aria-current='page'] { color: var(--brand-600); }
.mobile-nav__actions { margin-top: var(--space-6); display: grid; gap: var(--space-3); }

@media (min-width: 78em) {
    /* Declared here rather than in the header block above: `.nav-toggle`
       is defined further down, so an earlier rule of equal specificity
       would lose on source order. Kept in step with the nav breakpoint. */
    .nav-toggle { display: none; }
    .mobile-nav, .mobile-nav[data-open='true'] { display: none; }
}


/* --- Language switcher ------------------------------------------------ */

.lang {
    position: relative;
}
.lang__button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    min-height: 2.75rem;
    padding: 0 var(--space-3);
    border: 1px solid var(--slate-300);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--slate-700);
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
}
.lang__button:hover { border-color: var(--slate-400); color: var(--ink); }
.lang__button .icon { width: 1rem; height: 1rem; }

.lang__menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 11rem;
    padding: var(--space-2);
    background: var(--surface);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 110;
}
.lang__menu[data-open='true'] { display: block; }

.lang__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    min-height: 2.5rem;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-sm);
    color: var(--slate-700);
    font-size: var(--text-sm);
    text-decoration: none;
}
.lang__item:hover { background: var(--slate-100); color: var(--ink); }
.lang__item[aria-current='true'] { color: var(--brand-600); font-weight: 600; background: var(--brand-50); }
.lang__code { font-size: var(--text-xs); text-transform: uppercase; color: var(--slate-500); font-weight: 600; }

/* No JavaScript? The menu becomes a plain always-visible list. */
.no-js .lang__menu { display: block; position: static; box-shadow: none; border: 0; padding: 0; min-width: 0; }
.no-js .lang__button { display: none; }
.no-js .lang { display: flex; gap: var(--space-1); }
.no-js .lang__menu { display: flex; gap: var(--space-1); }


/* --- Mobile action bar ------------------------------------------------ */

.action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: rgb(255 255 255 / 96%);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--slate-200);
    padding-bottom: env(safe-area-inset-bottom);
}

.action-bar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    min-height: var(--mobile-bar-h);
    padding: var(--space-2);
    color: var(--slate-700);
    font-size: var(--text-xs);
    font-weight: 600;
    text-decoration: none;
}
.action-bar__item .icon { width: 1.35rem; height: 1.35rem; }
.action-bar__item:hover { color: var(--brand-600); }
.action-bar__item--primary { color: var(--brand-600); }
.action-bar__item + .action-bar__item { border-left: 1px solid var(--slate-200); }

@media (min-width: 60em) {
    .action-bar { display: none; }
}


/* --- Breadcrumbs ------------------------------------------------------ */

.breadcrumb { padding-block: var(--space-4); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); font-size: var(--text-sm); }
.breadcrumb li { display: flex; align-items: center; gap: var(--space-2); color: var(--slate-500); }
.breadcrumb li + li::before { content: '/'; color: var(--slate-300); }
.breadcrumb a { color: var(--slate-600); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand-600); text-decoration: underline; }
.breadcrumb [aria-current='page'] { color: var(--ink); font-weight: 500; }


/* --- Accordion (FAQ) -------------------------------------------------- */

/* Built on <details>, so it opens and closes with zero JavaScript and is
   keyboard-operable and screen-reader-friendly for free. */
.accordion { border-top: 1px solid var(--slate-200); }

.accordion__item { border-bottom: 1px solid var(--slate-200); }

.accordion__item summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-5) 0;
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
}
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary:hover { color: var(--brand-600); }

.accordion__icon {
    flex: none;
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0.15rem;
    position: relative;
}
.accordion__icon::before,
.accordion__icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}
.accordion__icon::before { inset: 0.7rem 0.15rem; height: 2px; }
.accordion__icon::after  { inset: 0.15rem 0.7rem; width: 2px; }
.accordion__item[open] .accordion__icon::after { transform: scaleY(0); opacity: 0; }

.accordion__body { padding-bottom: var(--space-5); }
.accordion__body > * { max-width: var(--measure); }


/* Marks a card as example content while the site runs in demo mode. */
.is-example { position: relative; }
.is-example::before {
    content: attr(data-example);
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    z-index: 2;
    padding: 0.15em 0.6em;
    border-radius: var(--radius-pill);
    background: var(--warning);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}


/* --- Testimonials ----------------------------------------------------- */

.quote {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    height: 100%;
    padding: var(--space-5);
    background: var(--surface);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
}
.quote__text { font-size: var(--text-lg); line-height: 1.55; color: var(--ink); flex: 1; }
.quote__meta { display: flex; align-items: center; gap: var(--space-3); font-size: var(--text-sm); }
.quote__author { font-weight: 600; }
.quote__where { color: var(--slate-500); }

.stars { display: inline-flex; gap: 0.1rem; color: #E8A33D; }
.stars .icon { width: 1rem; height: 1rem; fill: currentColor; stroke: none; }


/* --- Process steps ---------------------------------------------------- */

.steps { counter-reset: step; display: grid; gap: var(--space-5); }
@media (min-width: 48em) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 68em) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step { counter-increment: step; position: relative; padding-top: var(--space-5); }
.step::before {
    content: counter(step);
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--text-sm);
}
.step h3 { margin-top: var(--space-6); margin-bottom: var(--space-2); font-size: var(--text-lg); }
.step p { color: var(--slate-600); font-size: var(--text-sm); }


/* --- Figures and galleries -------------------------------------------- */

figure { margin: 0; }
figure img { border-radius: var(--radius); }
figcaption {
    margin-top: var(--space-2);
    font-size: var(--text-xs);
    color: var(--slate-500);
}

.ba-grid { display: grid; gap: var(--space-4); }
@media (min-width: 40em) { .ba-grid { grid-template-columns: repeat(2, 1fr); } }
.ba-grid figure { position: relative; }
.ba-grid figcaption {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    margin: 0;
    padding: 0.2em 0.7em;
    background: rgb(13 18 24 / 82%);
    color: #fff;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: var(--text-xs);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}


/* --- Cookie banner ---------------------------------------------------- */

.cookie {
    position: fixed;
    left: var(--space-3);
    right: var(--space-3);
    bottom: calc(var(--mobile-bar-h) + var(--space-3));
    z-index: 120;
    max-width: 34rem;
    padding: var(--space-5);
    background: var(--surface);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
@media (min-width: 60em) {
    .cookie { left: var(--space-5); right: auto; bottom: var(--space-5); }
}
.cookie[hidden] { display: none; }
.cookie h2 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.cookie p { font-size: var(--text-sm); color: var(--slate-600); margin-bottom: var(--space-4); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }


/* --- Footer ----------------------------------------------------------- */

.site-footer {
    background: var(--ink);
    color: #C9D4E4;
    padding-block: var(--space-8) var(--space-6);
    font-size: var(--text-sm);
}
.site-footer h2, .site-footer h3 { color: #fff; }
.footer__grid { display: grid; gap: var(--space-6); }
@media (min-width: 48em) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: var(--space-5); } }

.footer__brand img { height: 2.2rem; width: auto; margin-bottom: var(--space-4); }
.footer__title {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: var(--space-3);
}
.footer__list li + li { margin-top: var(--space-2); }
.footer__list a, .site-footer a { color: #C9D4E4; text-decoration: none; }
.footer__list a:hover, .site-footer a:hover { color: #fff; text-decoration: underline; }

.footer__bottom {
    margin-top: var(--space-7);
    padding-top: var(--space-5);
    border-top: 1px solid rgb(255 255 255 / 12%);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3) var(--space-5);
    justify-content: space-between;
    align-items: center;
    color: var(--slate-400);
    font-size: var(--text-xs);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--space-4); }


/* == 7. Page sections ==================================================== */

/* --- Hero ------------------------------------------------------------- */

.hero { padding-block: clamp(2.5rem, 1.5rem + 5vw, 5rem); }
.hero__grid { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 62em) {
    .hero__grid { grid-template-columns: 1.05fr 1fr; gap: var(--space-8); }
    /* Before the company supplies photography there is no second column,
       so the text centres instead of hugging a blank half-screen. */
    .hero__grid--text-only { grid-template-columns: minmax(0, 46rem); justify-content: center; text-align: center; }
    .hero__grid--text-only .hero__sub,
    .hero__grid--text-only .lead { margin-inline: auto; max-width: 46ch; }
    .hero__grid--text-only .hero__actions,
    .hero__grid--text-only .hero__trust { justify-content: center; }
}

.hero__title { margin-bottom: var(--space-4); }
.hero__sub { font-size: var(--text-lg); color: var(--slate-600); max-width: 34ch; }
.hero__note {
    margin-top: var(--space-4);
    font-size: var(--text-sm);
    color: var(--slate-500);
}
.hero__actions { margin-top: var(--space-6); display: flex; flex-wrap: wrap; gap: var(--space-3); }

.hero__media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--slate-100);
    aspect-ratio: 4 / 3;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* Logo variant: brand lockup centred on the ink ground instead of a photo. */
.hero__media--logo {
    background: var(--ink);
    display: grid;
    place-items: center;
    padding: clamp(1.5rem, 6vw, 3.5rem);
}
.hero__media--logo img {
    width: min(72%, 300px);
    height: auto;
    object-fit: contain;
}

.hero__trust {
    margin-top: var(--space-6);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    font-size: var(--text-sm);
    color: var(--slate-600);
}
.hero__trust li { display: flex; align-items: center; gap: var(--space-2); }
.hero__trust .icon { width: 1.1rem; height: 1.1rem; color: var(--success); }


/* --- Page header (inner pages) ---------------------------------------- */

.page-head { padding-block: var(--space-7) var(--space-6); }
.page-head h1 { margin-bottom: var(--space-3); }
.page-head .lead { margin-bottom: 0; }

/* A .section immediately after the page header would double the vertical
   padding and leave a dead band. Collapse the first one. */
.page-head + .section { padding-top: 0; }


/* --- Service detail --------------------------------------------------- */

.service-layout { display: grid; gap: var(--space-7); }
@media (min-width: 62em) {
    .service-layout { grid-template-columns: minmax(0, 1fr) 20rem; gap: var(--space-8); align-items: start; }
}

.sidebar { display: grid; gap: var(--space-5); }
@media (min-width: 62em) {
    .sidebar { position: sticky; top: calc(var(--header-h) + var(--space-5)); }
}

.panel {
    padding: var(--space-5);
    background: var(--surface-alt);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
}
.panel--brand { background: var(--brand-50); border-color: var(--brand-100); }
.panel h2, .panel h3 { font-size: var(--h3); margin-bottom: var(--space-3); }
.panel p { font-size: var(--text-sm); color: var(--slate-600); }
.panel .btn { margin-top: var(--space-4); }

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    color: var(--slate-700);
}
.check-list li + li { margin-top: var(--space-3); }
.check-list .icon { width: 1.25rem; height: 1.25rem; color: var(--brand-600); margin-top: 0.15rem; }


/* --- Contact details -------------------------------------------------- */

.contact-list { display: grid; gap: var(--space-4); }
.contact-item {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}
.contact-item__label {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--slate-500);
    margin-bottom: 0.15rem;
}
.contact-item__value { font-size: var(--text-lg); font-weight: 600; }
.contact-item__value a { text-decoration: none; color: var(--ink); }
.contact-item__value a:hover { color: var(--brand-600); }

.hours-table { width: 100%; font-size: var(--text-sm); border-collapse: collapse; }
.hours-table th { text-align: left; font-weight: 500; color: var(--slate-600); padding: var(--space-2) 0; }
.hours-table td { text-align: right; font-variant-numeric: tabular-nums; padding: var(--space-2) 0; }
.hours-table tr + tr th, .hours-table tr + tr td { border-top: 1px solid var(--slate-200); }


/* --- CTA band --------------------------------------------------------- */

.cta-band { text-align: center; }
.cta-band .lead { margin-inline: auto; margin-top: var(--space-3); }
.cta-band__actions {
    margin-top: var(--space-6);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    justify-content: center;
}


/* == 8. Forms ============================================================ */

.form { display: grid; gap: var(--space-6); }

.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: var(--space-4); }
.fieldset > legend {
    padding: 0;
    margin-bottom: var(--space-2);
    font-family: var(--font-display);
    font-size: var(--h3);
    font-weight: 700;
    color: var(--ink);
}

.field { display: grid; gap: var(--space-2); }

.field__label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--ink);
}
.field__required { color: var(--danger); margin-left: 0.15em; }
.field__optional { font-weight: 400; color: var(--slate-500); }

.field__help { font-size: var(--text-xs); color: var(--slate-500); }

.field__error {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--danger);
}
.field__error .icon { width: 1rem; height: 1rem; margin-top: 0.15rem; }

.input, .select, .textarea {
    width: 100%;
    min-height: 3rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--slate-300);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink);
    font-size: var(--text-base);
    transition: border-color var(--transition), box-shadow var(--transition);
    /* 16px minimum stops iOS zooming in when a field is focused. */
}
.input::placeholder, .textarea::placeholder { color: var(--slate-400); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--slate-400); }
.input:focus, .select:focus, .textarea:focus {
    outline: none;
    border-color: var(--brand-600);
    box-shadow: 0 0 0 3px var(--brand-100);
}

.textarea { min-height: 9rem; resize: vertical; line-height: 1.6; }

.select {
    appearance: none;
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%234A5768' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 7.5l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 1.15rem;
}

[aria-invalid='true'].input,
[aria-invalid='true'].select,
[aria-invalid='true'].textarea {
    border-color: var(--danger);
    background: var(--danger-bg);
}
[aria-invalid='true'].input:focus { box-shadow: 0 0 0 3px #F5C6C2; }

/* --- Radio cards ------------------------------------------------------ */

.radio-cards { display: grid; gap: var(--space-3); }
@media (min-width: 34em) { .radio-cards { grid-template-columns: repeat(3, 1fr); } }

.radio-card { position: relative; }
.radio-card input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}
.radio-card label {
    display: block;
    height: 100%;
    padding: var(--space-4);
    border: 1px solid var(--slate-300);
    border-radius: var(--radius);
    background: var(--surface);
    cursor: pointer;
    transition: all var(--transition);
}
.radio-card label strong { display: block; font-size: var(--text-sm); font-weight: 600; }
.radio-card label span { display: block; margin-top: 0.2rem; font-size: var(--text-xs); color: var(--slate-500); }
.radio-card input:hover + label { border-color: var(--slate-400); }
.radio-card input:checked + label {
    border-color: var(--brand-600);
    background: var(--brand-50);
    box-shadow: inset 0 0 0 1px var(--brand-600);
}
.radio-card input:focus-visible + label { outline: 3px solid var(--brand-500); outline-offset: 2px; }

/* --- Checkbox --------------------------------------------------------- */

.checkbox { display: flex; align-items: flex-start; gap: var(--space-3); }
.checkbox input {
    flex: none;
    width: 1.3rem;
    height: 1.3rem;
    margin: 0.15rem 0 0;
    accent-color: var(--brand-600);
    cursor: pointer;
}
.checkbox label { font-size: var(--text-sm); color: var(--slate-700); cursor: pointer; }

/* --- File input ------------------------------------------------------- */

.file-drop {
    display: grid;
    place-items: center;
    gap: var(--space-2);
    padding: var(--space-6) var(--space-4);
    border: 2px dashed var(--slate-300);
    border-radius: var(--radius);
    background: var(--surface-alt);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
}
.file-drop:hover, .file-drop[data-dragging='true'] {
    border-color: var(--brand-600);
    background: var(--brand-50);
}
.file-drop .icon { width: 2rem; height: 2rem; color: var(--slate-400); }
.file-drop strong { font-size: var(--text-sm); }
.file-drop span { font-size: var(--text-xs); color: var(--slate-500); }
.file-drop input[type='file'] {
    position: absolute;
    width: 1px; height: 1px;
    opacity: 0;
}

.file-list { display: grid; gap: var(--space-2); margin-top: var(--space-3); }
.file-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding: var(--space-2) var(--space-3);
    background: var(--surface-alt);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
}
.file-list__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list__size { color: var(--slate-500); font-size: var(--text-xs); flex: none; }

/* Honeypot. Hidden from people, left in the DOM for bots. Not display:none
   — some bots skip those; this is off-screen but still "visible". */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); }
.form__note { font-size: var(--text-xs); color: var(--slate-500); }

.quote-layout { display: grid; gap: var(--space-7); }
@media (min-width: 62em) {
    .quote-layout { grid-template-columns: minmax(0, 1fr) 19rem; gap: var(--space-8); align-items: start; }
}


/* == 9. Utilities ======================================================== */

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mb-0 { margin-bottom: 0; }
.flow-tight > * + * { margin-top: var(--space-2); }
.hide { display: none !important; }

@media (max-width: 39.99em) { .hide-sm { display: none !important; } }
@media (min-width: 60em)    { .hide-lg { display: none !important; } }

.empty-state {
    padding: var(--space-7) var(--space-5);
    text-align: center;
    background: var(--surface-alt);
    border: 1px dashed var(--slate-300);
    border-radius: var(--radius-lg);
    color: var(--slate-600);
}
.empty-state .icon { width: 2.5rem; height: 2.5rem; margin: 0 auto var(--space-3); color: var(--slate-400); }


/* == 10. Print =========================================================== */

@media print {
    .site-header, .action-bar, .cookie, .mobile-nav,
    .btn, .lang, .skip-link, .site-footer nav { display: none !important; }

    body { padding: 0; color: #000; background: #fff; font-size: 11pt; }
    .section { padding-block: 1rem; }
    a[href^='http']::after { content: ' (' attr(href) ')'; font-size: 9pt; color: #555; }
    .card, .panel, .quote { border: 1px solid #999; break-inside: avoid; }
    h1, h2, h3 { break-after: avoid; }
}
