/* ==================================================================
   PRECISE POLISHING LLC
   Light design system — porcelain, chrome, steel blue.

   Direction: a polished surface under even shop light. The page is
   bright and quiet; structure is carried by chrome hairlines rather
   than boxes or shadows. Every rule and every card edge is a specular
   sweep — a 1px line that brightens to white at its centre, the way
   light catches a finished edge. That sweep is the signature.
   ================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Familjen+Grotesk:wght@500;600;700&family=Public+Sans:wght@400;500;600&display=swap');

:root{
    /* Colour ------------------------------------------------------ */
    --porcelain: #F6F7F9;      /* page ground                        */
    --white: #FFFFFF;          /* cards                              */
    --graphite: #191C20;       /* primary text, 18:1 on porcelain    */
    --slate: #59616A;          /* secondary text, 5.9:1 on porcelain */
    --steel: #2F5D7C;          /* accent: links, buttons, 6.6:1      */
    --steel-deep: #1E3E55;     /* accent pressed / hover             */
    --chrome: #C9CFD6;         /* hairline                           */
    --chrome-soft: #E4E8EC;    /* panel edge, hover fill             */
    --ink-band: #20262C;       /* the single dark band: the footer   */
    --on-band: #FFFFFF;
    --on-band-muted: #A7B0BA;  /* 6.9:1 on --ink-band                */

    /* Legacy tokens from the original template, remapped so nothing
       resolves to the old cyan/magenta palette. */
    --grey: var(--chrome);
    --grey-dark: var(--slate);
    --blue: var(--steel);
    --lemon: var(--steel);
    --bcg-1: var(--steel);
    --bcg-2: var(--steel);
    --bcg-3: var(--steel);
    --text-1: var(--graphite);
    --text-2: var(--graphite);
    --text-3: var(--graphite);
    --bcg: var(--porcelain);
    --text: var(--graphite);

    /* The signature sweep */
    --sweep: linear-gradient(90deg, rgba(201,207,214,0) 0%, var(--chrome) 14%, #FFFFFF 50%, var(--chrome) 86%, rgba(201,207,214,0) 100%);
    --sweep-dark: linear-gradient(90deg, rgba(255,255,255,0) 0%, #3B454F 14%, #8A97A3 50%, #3B454F 86%, rgba(255,255,255,0) 100%);

    /* Type -------------------------------------------------------- */
    --font-display: 'Familjen Grotesk', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Public Sans', -apple-system, 'Segoe UI', Arial, sans-serif;
    --font-mono: 'DM Mono', ui-monospace, 'Courier New', monospace;

    --step--1: clamp(0.8125rem, 0.79rem + 0.11vw, 0.875rem);
    --step-0:  clamp(1rem, 0.97rem + 0.16vw, 1.0625rem);
    --step-1:  clamp(1.125rem, 1.07rem + 0.28vw, 1.3125rem);
    --step-2:  clamp(1.375rem, 1.24rem + 0.62vw, 1.75rem);
    --step-3:  clamp(1.75rem, 1.48rem + 1.25vw, 2.5rem);
    --step-4:  clamp(2.25rem, 1.72rem + 2.4vw, 3.75rem);

    /* Space ------------------------------------------------------- */
    --gap-xs: 8px;
    --gap-sm: 16px;
    --gap-md: 26px;
    --gap-lg: 44px;
    --gap-xl: clamp(60px, 7.5vw, 116px);

    --radius: 3px;
    --ease: 220ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

body{
    direction: ltr;
    font-family: var(--font-body);
    font-size: var(--step-0);
    line-height: 1.68;
    color: var(--graphite);
    background-color: var(--porcelain);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img{
    max-width: 100%;
    height: auto;
    display: block;
}

ul{
    padding-left: 0;
    list-style: none;
}

button{
    white-space: normal;
    word-break: break-word;
    text-align: center;
    font-family: inherit;
}

a{
    color: var(--steel);
    text-decoration: none;
    text-underline-offset: 0.22em;
    transition: color var(--ease);
}

a:hover{
    color: var(--steel-deep);
    text-decoration: underline;
}

/* ------------------------------------------------------------------
   Typography
   ------------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6{
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.14;
    letter-spacing: -0.015em;
    color: var(--graphite);
    margin: 0 0 var(--gap-sm);
    text-wrap: balance;
}

h1{ font-size: var(--step-4); font-weight: 700; }
h2{ font-size: var(--step-3); }
h3{ font-size: var(--step-2); }
h4{ font-size: var(--step-1); }

p{ margin: 0 0 var(--gap-sm); }
p:last-child{ margin-bottom: 0; }

/* One focus treatment everywhere. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible{
    outline: 2px solid var(--steel);
    outline-offset: 3px;
    border-radius: var(--radius);
}

::selection{
    background: var(--steel);
    color: var(--white);
}

.skip-link{
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    padding: 12px 20px;
    font-family: var(--font-mono);
    font-size: var(--step--1);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--steel);
    color: var(--white);
}

.skip-link:focus{
    left: 0;
    color: var(--white);
    text-decoration: none;
}

/* ------------------------------------------------------------------
   Layout shells
   ------------------------------------------------------------------ */
.wrap-margin{
    padding: 0;
    margin: 0 auto;
    width: 100%;
}

.wrap-padding{
    padding: var(--gap-xl) 22px;
}

/* The dark pattern from the original template is gone; these are now
   plain light surfaces. */
.cube-container,
.cube-container-color{
    background-color: var(--porcelain);
    background-image: none;
    color: var(--graphite);
}

/* ------------------------------------------------------------------
   Signature: the specular sweep
   ------------------------------------------------------------------ */
.sweep-rule,
.about-title,
.team-title,
.section-subtitle,
.contact-title,
.page-title,
.footer-heading,
.section-box-title,
.section-wrap-title,
.policy-heading,
.agreement-title{
    position: relative;
    padding-top: 20px;
}

.sweep-rule::before,
.about-title::before,
.team-title::before,
.section-subtitle::before,
.contact-title::before,
.page-title::before,
.footer-heading::before,
.section-box-title::before,
.section-wrap-title::before,
.policy-heading::before,
.agreement-title::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 320px;
    height: 1px;
    background: var(--sweep);
    background-size: 200% 100%;
    background-position: 50% 0;
    transition: background-position var(--ease);
}

/* ------------------------------------------------------------------
   Header
   ------------------------------------------------------------------ */
.header-container{
    position: relative;
    /* The photograph stays, drained to luminosity so it reads as
       brushed metal rather than a stock picture. */
    background-color: #E6EAEE;
    background-image: url('static/images/image-2026-07-08_18-500.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-blend-mode: luminosity;
    color: var(--graphite);
    z-index: 1;
    overflow: hidden;
}

.header-container::before{
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(246, 247, 249, 0.86) 0%, rgba(246, 247, 249, 0.94) 62%, var(--porcelain) 100%);
}

.header-container > *{
    position: relative;
}

.header-menu-box{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--gap-md);
    padding: var(--gap-sm) 22px;
    background-color: rgba(255, 255, 255, 0.78);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--chrome);
}

.top-header-title{
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--graphite);
}

.top-header-title img{
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.top-header-title h3,
.top-header-title .site-name{
    font-family: var(--font-display);
    font-size: var(--step--1);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--graphite);
    margin: 0;
    line-height: 1.3;
}

.brand-link,
.brand-link:hover{
    text-decoration: none;
}

/* Desktop navigation. Below 900px the burger takes over; above it the
   inline list does, and only one of the two is ever in the tab order. */
.top-menu-list{
    display: none;
    gap: var(--gap-md);
    margin: 0;
}

@media (min-width: 900px){
    .top-menu-list{
        display: flex;
    }

    .burger{
        display: none;
    }
}

.top-menu-list a{
    font-family: var(--font-mono);
    font-size: var(--step--1);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--slate);
    position: relative;
    padding-bottom: 4px;
}

.top-menu-list a::after{
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--sweep);
    opacity: 0;
    transition: opacity var(--ease);
}

.top-menu-list a:hover,
.top-menu-list a:focus-visible{
    color: var(--graphite);
    text-decoration: none;
}

.top-menu-list a:hover::after,
.top-menu-list a:focus-visible::after{
    opacity: 1;
}

.burger{
    font-family: var(--font-mono);
    font-size: var(--step--1);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--graphite);
    background: transparent;
    border: 1px solid var(--chrome);
    border-radius: var(--radius);
    padding: 9px 14px;
    cursor: pointer;
    transition: border-color var(--ease), color var(--ease);
}

.burger:hover{
    border-color: var(--steel);
    color: var(--steel);
}

.mobile-menu{
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 86vw);
    height: auto;
    margin: 14px;
    border: 1px solid var(--chrome);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 18px 44px rgba(25, 28, 32, 0.14);
    padding: var(--gap-lg) var(--gap-md) var(--gap-md);
    transform: translateX(110%);
    transition: transform var(--ease);
    z-index: 1000;
}

.mobile-menu.active{
    display: block;
    transform: translateX(0);
}

.mobile-menu ul{
    text-align: start;
    margin: 0;
}

.mobile-menu ul li{
    padding: 0;
    border-top: 1px solid var(--chrome-soft);
}

.mobile-menu ul li:first-child{
    border-top: none;
}

.mobile-menu ul li a{
    display: block;
    padding: 14px 0;
    font-family: var(--font-mono);
    color: var(--graphite);
    font-size: var(--step--1);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color var(--ease);
}

.mobile-menu ul li a:hover{
    color: var(--steel);
    text-decoration: none;
}

.close{
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    position: absolute;
    top: 12px;
    right: 16px;
    color: var(--slate);
    background: transparent;
    border: none;
    padding: 4px 8px;
}

.close:hover{
    color: var(--graphite);
}

/* ------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------ */
.head-section{
    padding: var(--gap-xl) 22px;
}

.head-container{
    display: flex;
    justify-content: flex-start;
}

.head-text-btn{
    position: relative;
    border: none;
    max-width: 62ch;
    display: flex;
    flex-direction: column;
    gap: var(--gap-md);
}

.hero-eyebrow{
    font-family: var(--font-mono);
    font-size: var(--step--1);
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--slate);
    margin: 0;
    padding-bottom: 14px;
    position: relative;
}

.hero-eyebrow::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 220px;
    max-width: 100%;
    height: 1px;
    background: var(--sweep);
}

.hero-title{
    font-size: var(--step-4);
    font-weight: 700;
    letter-spacing: -0.026em;
    color: var(--graphite);
    margin: 0;
    max-width: 16ch;
    text-shadow: none;
}

.hero-subtitle{
    font-family: var(--font-display);
    font-size: var(--step-2);
    font-weight: 500;
    line-height: 1.28;
    color: var(--slate);
    margin: 0;
    max-width: 30ch;
}

.head-text-btn h2{
    position: static;
    left: auto;
    font-family: var(--font-body);
    font-size: var(--step-1);
    font-weight: 400;
    line-height: 1.6;
    color: var(--slate);
    text-shadow: none;
    max-width: 62ch;
    margin: 0;
}

.hero-actions{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--gap-md);
}

.hero-phone{
    font-family: var(--font-mono);
    font-size: var(--step-1);
    font-weight: 500;
    color: var(--graphite);
    padding-bottom: 4px;
    border-bottom: 1px solid var(--steel);
}

.hero-phone:hover{
    color: var(--steel);
    text-decoration: none;
}

.header-btn{
    margin: 0;
    position: static;
}

/* ------------------------------------------------------------------
   About
   ------------------------------------------------------------------ */
.about-container{
    padding: var(--gap-xl) 22px;
    color: var(--slate);
    background: var(--white);
    border-top: 1px solid var(--chrome-soft);
    border-bottom: 1px solid var(--chrome-soft);
}

.about-box{
    display: flex;
    flex-direction: row;
    gap: var(--gap-lg);
    align-items: center;
    flex-wrap: wrap;
}

.about-images{
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 320px;
    min-width: 0;
}

.about-images img{
    width: 100%;
    max-width: 560px;
    height: 235px;
    object-fit: cover;
    border: 1px solid var(--chrome);
    filter: saturate(0.55) contrast(1.04);
    transition: filter var(--ease);
}

.about-images img:hover{
    filter: saturate(1) contrast(1);
}

.about-content{
    flex: 1 1 320px;
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
    min-width: 0;
}

.about-title{
    color: var(--graphite);
    font-size: var(--step-3);
    text-shadow: none;
    transition: none;
}

.about-title:hover{
    color: var(--graphite);
    text-shadow: none;
}

.about-text{
    color: var(--slate);
    font-size: var(--step-0);
    max-width: 58ch;
}

/* ------------------------------------------------------------------
   Main long-form block
   ------------------------------------------------------------------ */
.main-container{
    background-color: var(--porcelain);
    color: var(--slate);
    position: relative;
    overflow: hidden;
    padding: var(--gap-xl) 22px;
    display: flex;
    justify-content: center;
}

/* The floating outline squares were noise, not structure. */
.main-container::before,
.main-container::after,
.main-container .square-extra{
    display: none;
}

.main-img-text{
    overflow: hidden;
}

.float-img{
    float: right;
    margin: 0 0 var(--gap-md) var(--gap-lg);
    max-width: 42%;
    height: auto;
    shape-margin: 1em;
    box-shadow: none;
    border: 1px solid var(--chrome);
    filter: saturate(0.6);
}

.main-box{
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--gap-md);
}

.main-img img{
    float: left;
    width: 272px;
    height: auto;
    margin: 0 var(--gap-md) var(--gap-sm) 0;
    border: 1px solid var(--chrome);
}

.main-img img:hover{
    transform: none;
}

.main-text h2{
    color: var(--graphite);
    text-shadow: none;
    font-size: var(--step-3);
    margin-bottom: var(--gap-md);
}

.main-content{
    font-size: var(--step-0);
    margin-bottom: var(--gap-md);
    max-width: 76ch;
}

.main-content p[style]{
    text-align: start !important;
}

.main-content strong{
    color: var(--graphite);
    font-weight: 600;
}

.main-content li{
    margin: 0 0 6px 22px;
    list-style: disc !important;
}

.main-content li::marker{
    color: var(--steel);
}

.price-text{
    font-family: var(--font-mono);
    font-size: var(--step-3);
    font-weight: 500;
    color: var(--graphite);
    text-align: center;
    margin: var(--gap-md) 0;
    padding: var(--gap-md);
    border: 1px solid var(--chrome);
    box-shadow: none;
    background: var(--white);
}

/* ------------------------------------------------------------------
   Stats — read as gauge readouts
   ------------------------------------------------------------------ */
.stats-section{
    padding: var(--gap-xl) 22px;
    text-align: start;
    background: var(--white);
    border-top: 1px solid var(--chrome-soft);
    border-bottom: 1px solid var(--chrome-soft);
}

.stats-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1px;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--chrome-soft);
    border: 1px solid var(--chrome-soft);
}

.stat-item{
    background: var(--white);
    padding: var(--gap-md);
    display: flex;
    flex-direction: column-reverse;
    gap: var(--gap-xs);
    align-items: flex-start;
}

.stat-item h3{
    font-family: var(--font-mono);
    font-size: var(--step--1);
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0;
    color: var(--slate);
}

.stat-item .count{
    font-family: var(--font-mono);
    font-size: var(--step-3);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--steel);
}

.list-st li{
    margin: 0 0 6px 22px;
    list-style: disc !important;
}

/* ------------------------------------------------------------------
   Team
   ------------------------------------------------------------------ */
.team-section{
    padding: var(--gap-xl) 22px;
    background: var(--porcelain);
    text-align: start;
}

.team-title{
    font-size: var(--step-3);
    margin: 0 auto var(--gap-lg);
    max-width: 1200px;
    color: var(--graphite);
}

.team-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    justify-content: center;
    gap: var(--gap-md);
    max-width: 1200px;
    margin: 0 auto;
}

.team-member{
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 340px;
    box-shadow: none;
    border: 1px solid var(--chrome);
    background: var(--white);
}

.team-member::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--sweep);
    z-index: 2;
}

.team-member img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.35) contrast(1.05);
    transition: filter var(--ease), transform var(--ease);
}

.team-member:hover img{
    filter: saturate(1) contrast(1);
    transform: none;
}

/* A light plate rather than a dark scrim: it stays on brand and keeps
   the names readable without hover. */
.overlay{
    position: absolute;
    inset: auto 0 0 0;
    background: rgba(255, 255, 255, 0.94);
    border-top: 1px solid var(--chrome);
    color: var(--graphite);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    opacity: 1;
    padding: var(--gap-sm);
    margin: 0;
}

.name{
    font-family: var(--font-display);
    font-size: var(--step-1);
    font-weight: 600;
    color: var(--graphite);
    margin: 0;
}

.role{
    font-family: var(--font-mono);
    font-size: var(--step--1);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 4px;
    color: var(--slate);
}

/* ------------------------------------------------------------------
   Services
   ------------------------------------------------------------------ */
.services-section{
    background-color: var(--white);
    color: var(--graphite);
    padding: var(--gap-xl) 22px;
    text-align: start;
    border-top: 1px solid var(--chrome-soft);
}

.services-section .container{
    max-width: 1200px;
    margin: 0 auto;
}

.section-subtitle{
    font-family: var(--font-mono);
    font-size: var(--step--1);
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--slate);
    margin-bottom: var(--gap-sm);
}

.section-title{
    font-size: var(--step-2);
    font-weight: 500;
    margin-bottom: var(--gap-lg);
    color: var(--graphite);
    max-width: 34ch;
}

.services-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--gap-md);
}

.service-card{
    position: relative;
    border: 1px solid var(--chrome);
    border-bottom: 1px solid var(--chrome);
    padding: var(--gap-md);
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
    transition: border-color var(--ease), background-color var(--ease);
}

.service-card::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--sweep);
    background-size: 220% 100%;
    background-position: 50% 0;
    transition: background-position 600ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.service-card:hover{
    border-color: var(--steel);
    transform: none;
}

/* The one micro-interaction on the site: light travels along the
   card's top edge, the way it does across a polished surface. */
.service-card:hover::before{
    background-position: 100% 0;
}

.service-card p{
    margin: 0;
    font-size: var(--step-0);
    color: var(--slate);
}

.service-card svg{
    color: var(--steel);
    width: 32px;
    height: 32px;
}

/* ------------------------------------------------------------------
   Gallery
   ------------------------------------------------------------------ */
.gallery-container{
    background-color: var(--porcelain);
    padding: var(--gap-xl) 0;
}

.gallery{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 12px;
    padding: 0 22px;
    max-width: 1200px;
    margin: auto;
}

.gallery img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid var(--chrome);
    filter: saturate(0.4) contrast(1.05);
    transition: filter var(--ease);
}

.gallery img:hover{
    filter: saturate(1) contrast(1);
    transform: none;
}

.big-left{
    grid-row: 1 / 3;
    grid-column: 1 / 2;
}

.big-right{
    grid-row: 1 / 3;
    grid-column: 4 / 5;
}

.modal{
    position: fixed;
    inset: 0;
    background: rgba(25, 28, 32, 0.86);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1500;
}

.modal img{
    max-width: 90%;
    max-height: 80vh;
    border: 1px solid var(--chrome);
}

.close-btn{
    position: absolute;
    top: 18px;
    right: 22px;
    color: var(--white);
    font-family: var(--font-mono);
    font-size: var(--step--1);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius);
    padding: 8px 14px;
    cursor: pointer;
}

.close-btn:hover{
    border-color: var(--white);
}

/* ------------------------------------------------------------------
   Contact block and form
   ------------------------------------------------------------------ */
.form-contact-wrap{
    background-color: var(--white);
    border-top: 1px solid var(--chrome-soft);
}

.form-cont-flex{
    display: flex;
    flex-direction: row;
    gap: var(--gap-lg);
    align-items: flex-start;
    padding: var(--gap-xl) 22px;
}

.form-section{
    flex: 2;
    padding: 0;
    min-width: 0;
}

.contact-section{
    color: var(--slate);
    flex: 1;
    padding: 0;
    min-width: 0;
}

.contact-container{
    max-width: 1200px;
    margin: 0 auto;
}

.contact-title{
    font-size: var(--step-3);
    color: var(--graphite);
    text-align: start;
    margin-bottom: var(--gap-md);
    text-shadow: none;
}

.contact-items{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0;
    border-top: 1px solid var(--chrome-soft);
}

.contact-i{
    display: flex;
    align-items: flex-start;
    gap: var(--gap-sm);
    padding: var(--gap-sm) 0;
    border-bottom: 1px solid var(--chrome-soft);
    transition: none;
}

.contact-i svg{
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    padding: 7px;
    border-radius: 0;
    border: 1px solid var(--chrome);
    background-color: var(--white);
    fill: var(--steel);
    transition: border-color var(--ease);
}

.contact-i:hover svg{
    transform: none;
    border-color: var(--steel);
}

.contact-i a,
.contact-i p{
    font-size: var(--step-0);
    color: var(--graphite);
    word-break: normal;
    overflow-wrap: anywhere;
    margin: 0;
}

.contact-i .contact-label{
    display: block;
    font-family: var(--font-mono);
    font-size: var(--step--1);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate);
    margin-bottom: 2px;
}

.contact-i a{
    color: var(--steel);
}

.map{
    width: 100%;
    min-height: 320px;
    border: 1px solid var(--chrome);
    overflow: hidden;
    margin-top: var(--gap-md);
}

.map iframe{
    display: block;
    width: 100%;
    height: 320px;
    border: 0;
    filter: grayscale(0.4) contrast(1.04);
}

.form{
    color: var(--graphite);
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--gap-md);
    max-width: 640px;
}

.form-intro{
    color: var(--slate);
    margin: 0;
}

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

.field-label{
    font-family: var(--font-mono);
    font-size: var(--step--1);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate);
}

.input-formwrapper_group,
.textarea-formwrapper_group{
    width: 100%;
    margin-bottom: 0;
    height: 48px;
    border-radius: var(--radius);
    border: 1px solid var(--chrome);
    background-color: var(--white);
    padding: 12px 14px;
    color: var(--graphite);
    font-family: var(--font-body);
    font-size: var(--step-0);
    outline: none;
    transition: border-color var(--ease), box-shadow var(--ease);
}

.textarea-formwrapper_group{
    height: auto;
    min-height: 140px;
    resize: vertical;
}

.input-formwrapper_group::placeholder,
.textarea-formwrapper_group::placeholder{
    color: #8A929B;
}

.input-formwrapper_group:hover,
.textarea-formwrapper_group:hover{
    border-color: #A9B2BB;
}

.input-formwrapper_group:focus,
.textarea-formwrapper_group:focus{
    border: 1px solid var(--steel);
    box-shadow: 0 0 0 3px rgba(47, 93, 124, 0.14);
    outline: none;
}

.input-formwrapper_group.is-invalid,
.textarea-formwrapper_group.is-invalid{
    border-color: #B3402E;
}

.field-error{
    font-size: var(--step--1);
    color: #8E3022;   /* 6.4:1 on white */
    margin: 0;
}

.form-check{
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: var(--step--1);
    color: var(--slate);
}

.form-check input[type="checkbox"]{
    width: 18px;
    height: 18px;
    margin: 3px 0 0;
    flex: 0 0 18px;
    accent-color: var(--steel);
}

.form-check a{
    color: var(--steel);
}

.btn-form{
    margin-top: 0;
    text-align: start;
}

.form-status{
    font-family: var(--font-mono);
    font-size: var(--step--1);
    margin: 0;
    padding: 12px 14px;
    border: 1px solid var(--chrome);
    border-left: 3px solid var(--chrome);
    background: var(--porcelain);
    color: var(--slate);
}

.form-status-success{
    border-left-color: #2E7D5B;
    color: #1F5A41;
}

.form-status-error{
    border-left-color: #B3402E;
    color: #8E3022;
}

.form-status-pending{
    border-left-color: var(--steel);
    color: var(--slate);
}

/* ------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------ */
.button-1,
.button-2,
.button-3,
.button-4,
.button-5{
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 100%;
    background: var(--steel);
    background-image: none;
    color: var(--white);
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: var(--step--1);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid var(--steel);
    border-radius: var(--radius);
    padding: 14px 28px;
    min-height: 48px;
    cursor: pointer;
    box-shadow: none;
    animation: none;
    transition: background-color var(--ease), border-color var(--ease), color var(--ease);
}

.button-1:hover,
.button-2:hover,
.button-3:hover,
.button-4:hover,
.button-5:hover{
    background: var(--steel-deep);
    background-image: none;
    border-color: var(--steel-deep);
    color: var(--white);
    animation: none;
    transform: none;
    filter: none;
    text-decoration: none;
}

.button-1:active,
.button-4:active,
.button-5:active{
    transform: none;
    box-shadow: none;
}

.button-2::after,
.button-5{
    box-shadow: none;
}

.button-2::after{
    content: none;
}

.button-1:disabled,
.button-2:disabled,
.button-5:disabled{
    opacity: 0.55;
    cursor: not-allowed;
    color: var(--white);
}

/* Secondary: outlined, for use next to the primary action */
.button-ghost{
    background: transparent;
    color: var(--steel);
    border: 1px solid var(--chrome);
}

.button-ghost:hover{
    background: var(--chrome-soft);
    border-color: var(--steel);
    color: var(--steel-deep);
}

/* ------------------------------------------------------------------
   Long-form pages: legal, About, 404
   ------------------------------------------------------------------ */
.privacy-wrap,
.page-wrap{
    max-width: 78ch;
    margin: 0 auto;
    padding: var(--gap-xl) 22px;
    color: var(--slate);
}

.page-wrap-wide{
    max-width: 1200px;
}

.contact-columns{
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap-lg);
    align-items: start;
}

.contact-col{
    min-width: 0;
}

@media (min-width: 900px){
    .contact-columns{
        grid-template-columns: 1fr 1fr;
        gap: var(--gap-xl);
    }
}

.privacy-wrap p{
    word-break: normal;
    overflow-wrap: anywhere;
}

.page-title{
    font-size: var(--step-3);
    color: var(--graphite);
    margin-bottom: var(--gap-md);
}

.agreement-title{
    font-size: var(--step-3);
    color: var(--graphite);
    margin-bottom: var(--gap-md);
}

.section-box-title,
.section-wrap-title,
.policy-heading,
.privacy-wrap h2{
    font-size: var(--step-2);
    color: var(--graphite);
    margin-top: var(--gap-lg);
    margin-bottom: var(--gap-sm);
}

.privacy-wrap h3{
    font-size: var(--step-1);
    color: var(--graphite);
    margin-top: var(--gap-md);
}

.privacy-wrap ul,
.contact-list,
.definition-list{
    margin: 0 0 var(--gap-sm);
    padding-left: 22px;
}

.privacy-wrap li,
.contact-list li,
.definition-list li{
    list-style: disc;
    margin-bottom: 6px;
}

.privacy-wrap li::marker,
.contact-list li::marker{
    color: var(--steel);
}

.agreement-date,
.date-section-container{
    font-family: var(--font-mono);
    font-size: var(--step--1);
    letter-spacing: 0.04em;
    color: var(--slate);
}

.error-code{
    font-family: var(--font-mono);
    font-size: var(--step-2);
    letter-spacing: 0.24em;
    color: var(--slate);
    margin-bottom: var(--gap-xs);
}

.error-links{
    list-style: none;
    padding: 0;
    margin: 0 0 var(--gap-md);
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-sm) var(--gap-md);
}

.error-links li{
    list-style: none;
    margin: 0;
}

.error-links a{
    font-family: var(--font-mono);
    font-size: var(--step--1);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding-bottom: 3px;
    border-bottom: 1px solid var(--steel);
}

.error-links a:hover{
    text-decoration: none;
}

/* ------------------------------------------------------------------
   Footer — the single dark band on the site
   ------------------------------------------------------------------ */
.footer-section{
    background-color: var(--ink-band);
    color: var(--on-band-muted);
    padding: var(--gap-xl) 22px var(--gap-lg);
    position: relative;
}

.footer-section::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--sweep-dark);
}

.footer-container{
    max-width: 1200px;
    margin: 0 auto;
}

.footer-menu{
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap-lg);
    align-items: start;
}

.footer-col{
    min-width: 0;
}

.bottom-logo{
    display: flex;
    align-items: center;
    gap: 12px;
}

.bottom-logo img{
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.bottom-logo p{
    font-family: var(--font-display);
    font-size: var(--step--1);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0;
    color: var(--on-band);
}

.footer-heading{
    font-family: var(--font-mono);
    font-size: var(--step--1);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--on-band);
    margin-bottom: var(--gap-sm);
}

.footer-heading::before{
    background: var(--sweep-dark);
}

.footer-heading-gap{
    margin-top: var(--gap-md);
}

.footer-address{
    font-style: normal;
    line-height: 1.9;
    margin: 0;
}

.footer-address a{
    font-family: var(--font-mono);
    color: var(--on-band);
    border-bottom: 1px solid var(--steel);
}

.footer-address a:hover{
    color: var(--on-band);
    border-bottom-color: var(--on-band);
    text-decoration: none;
}

.footer-line{
    margin: 0 0 4px;
    line-height: 1.7;
}

.footer-menu-container{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 6px;
}

.footer-menu-container a{
    color: var(--on-band-muted);
    font-size: var(--step-0);
    border-bottom: 1px solid transparent;
    width: fit-content;
    transition: color var(--ease), border-color var(--ease);
}

.footer-menu-container a:hover{
    color: var(--on-band);
    border-bottom-color: var(--steel);
    text-decoration: none;
}

.footer-copy{
    border-top: 1px solid #333B44;
    margin-top: var(--gap-lg);
    padding-top: var(--gap-md);
    color: var(--on-band-muted);
    font-family: var(--font-mono);
    font-size: var(--step--1);
}

.footer-copy a{
    color: var(--on-band);
}

/* ------------------------------------------------------------------
   Cookie consent
   ------------------------------------------------------------------ */
#privacy-popup{
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 340px;
    background: var(--white);
    background-image: none;
    color: var(--slate);
    padding: var(--gap-md);
    border: 1px solid var(--chrome);
    border-radius: var(--radius);
    box-shadow: 0 12px 36px rgba(25, 28, 32, 0.16);
    z-index: 99999;
    display: none;
    font-family: var(--font-body);
}

#privacy-popup p{
    margin: 0 0 var(--gap-sm);
    font-size: var(--step--1);
    line-height: 1.6;
}

#privacy-popup a{
    color: var(--steel);
    text-decoration: underline;
}

#privacy-popup .btn-container{
    display: flex;
    gap: 10px;
}

#privacy-popup button{
    flex: 1;
    padding: 10px 16px;
    border-radius: var(--radius);
    font-family: var(--font-mono);
    font-size: var(--step--1);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color var(--ease), color var(--ease), border-color var(--ease);
}

#privacy-popup .accept-btn{
    background: var(--steel);
    color: var(--white);
    border: 1px solid var(--steel);
}

#privacy-popup .accept-btn:hover{
    background: var(--steel-deep);
    border-color: var(--steel-deep);
}

#privacy-popup .decline-btn{
    background: transparent;
    color: var(--slate);
    border: 1px solid var(--chrome);
}

#privacy-popup .decline-btn:hover{
    background: var(--chrome-soft);
    color: var(--graphite);
}

/* ------------------------------------------------------------------
   Responsive: 360px → 1920px
   ------------------------------------------------------------------ */
@media screen and (min-width: 480px){
    .wrap-margin{ max-width: 480px; }
}

@media screen and (min-width: 768px){
    .wrap-margin{ max-width: 768px; }

    .footer-menu{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (min-width: 1200px){
    .wrap-margin{ max-width: 1200px; }

    .footer-menu{
        grid-template-columns: 1.2fr 1fr 1.2fr 1fr;
        gap: var(--gap-lg);
    }
}

@media (max-width: 1000px){
    .form-cont-flex{
        flex-direction: column;
    }
}

@media (max-width: 768px){
    .about-box{
        flex-direction: column;
        gap: var(--gap-md);
    }

    .about-title,
    .about-text{
        text-align: start;
    }

    .main-box{
        flex-direction: column;
        align-items: stretch;
    }

    .float-img{
        float: none;
        margin: 0 0 var(--gap-md);
        max-width: 100%;
    }

    .main-img img{
        float: none;
        width: 100%;
        margin: 0 0 var(--gap-sm);
    }

    .team-member{
        height: 320px;
    }

    .gallery{
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .big-left,
    .big-right{
        grid-column: 1 / -1;
        grid-row: auto;
        height: 240px;
    }

    .gallery img{
        height: 170px;
    }

    .hero-actions .button-1{
        width: 100%;
    }
}

@media (max-width: 480px){
    .header-menu-box{
        padding: 12px 16px;
    }

    .wrap-padding,
    .head-section{
        padding-left: 16px;
        padding-right: 16px;
    }

    .privacy-wrap,
    .page-wrap{
        padding-left: 16px;
        padding-right: 16px;
    }

    #privacy-popup{
        bottom: 0;
        right: 0;
        left: 0;
        max-width: 100%;
        border-radius: var(--radius) var(--radius) 0 0;
    }

    .about-images img{
        height: 200px;
    }
}

@media (max-width: 375px){
    .burger{
        padding: 8px 10px;
    }
}

@media (min-width: 1600px){
    .wrap-margin,
    .contact-container,
    .footer-container,
    .services-section .container,
    .team-container,
    .stats-container,
    .gallery{
        max-width: 1360px;
    }
}

@media (prefers-reduced-motion: reduce){
    *,
    *::before,
    *::after{
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .service-card:hover::before{
        background-position: 50% 0;
    }
}
