/* =========================================================================
   LOTUS ALUMINIUM — stylesheet
   Design tokens:
     charcoal   #1B2228 / #262F36   base dark, structural
     steel      #55707D / #A9BEC7   aluminium sheen accent
     amber      #C97A2C             CTA / warmth accent
     offwhite   #F6F7F7             page background
     ink        #20262A             body text
   Type: Space Grotesk (headings, technical/structural) + Inter (body)
   Motif: thin repeated vertical "extrusion rib" lines echo an aluminium
   profile cross-section; used as section dividers instead of generic rules.
   ========================================================================= */

:root {
    --charcoal: #1B2228;
    --charcoal-2: #262F36;
    --steel: #55707D;
    --steel-light: #A9BEC7;
    --amber: #C97A2C;
    --amber-dark: #A8631E;
    --offwhite: #F6F7F7;
    --ink: #20262A;
    --ink-soft: #4B565C;
    --border: #DDE3E5;
    --white: #FFFFFF;

    --font-head: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
    --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

    --radius: 4px;
    --wrap: 1200px;
    --shadow: 0 10px 30px rgba(27, 34, 40, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--offwhite);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--charcoal);
    line-height: 1.18;
    margin: 0 0 0.5em;
    font-weight: 600;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; color: var(--ink-soft); max-width: 68ch; }

a { color: var(--steel); text-decoration: none; }
a:hover { color: var(--amber); }

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

.skip-link {
    position: absolute; left: -9999px; top: 0; background: var(--charcoal); color: #fff;
    padding: 12px 18px; z-index: 999; border-radius: 0 0 4px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 2px;
}

.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 24px;
}

section { padding: 88px 0; }
@media (max-width: 780px) { section { padding: 56px 0; } }

.section-head {
    max-width: 620px;
    margin: 0 0 44px;
}
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--ink-soft); }

/* ---------- Extrusion-rib motif (structural divider) -------------------- */
.ribs {
    display: flex;
    gap: 6px;
    align-items: stretch;
    height: 34px;
    margin: 0 0 18px;
}
.ribs span { width: 2px; background: var(--amber); opacity: 0.85; }
.ribs span:nth-child(1) { height: 60%; align-self: flex-end; }
.ribs span:nth-child(2) { height: 100%; }
.ribs span:nth-child(3) { height: 45%; align-self: flex-end; }
.ribs span:nth-child(4) { height: 80%; align-self: flex-end; }

.section-tint { background: var(--white); }
.section-charcoal { background: var(--charcoal); color: #fff; }
/* Scoped to .section-head only — NOT a blanket h2/h3/p rule — so it can't
   bleed into nested white components (e.g. .feature-card) that also sit
   inside a charcoal section. */
.section-charcoal .section-head h2,
.section-charcoal .section-head h3 { color: #fff; }
.section-charcoal .section-head p { color: #C6D0D5; }

/* ---------- Buttons ------------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
    white-space: nowrap;
}
.btn--amber { background: var(--amber); color: #fff; }
.btn--amber:hover { background: var(--amber-dark); color: #fff; transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn--outline:hover { background: var(--charcoal); color: #fff; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn--outline-light:hover { background: #fff; color: var(--charcoal); }
.btn--lg { padding: 16px 32px; font-size: 1rem; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Header -------------------------------------------------------- */
.site-header { position: relative; z-index: 50; }

.topbar { background: var(--charcoal); color: #C6D0D5; font-size: 0.85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 24px; gap: 16px; flex-wrap: wrap; }
.topbar__info { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar__info a { color: #C6D0D5; }
.topbar__info a:hover { color: var(--amber); }
.topbar__info i { color: var(--amber); margin-right: 4px; }
.topbar__social { display: flex; gap: 12px; }
.topbar__social a { color: #C6D0D5; }

.navbar { background: #fff; border-bottom: 1px solid var(--border); }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 52px; height: 42px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--charcoal); letter-spacing: 0.01em; }
.brand__tag { font-size: 0.72rem; color: var(--steel); text-transform: uppercase; letter-spacing: 0.08em; }

.mainnav { display: flex; align-items: center; gap: 32px; }
.mainnav ul { display: flex; gap: 28px; }
.mainnav a:not(.btn) {
    color: var(--ink);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}
.mainnav a:not(.btn):hover,
.mainnav a.is-active { color: var(--charcoal); border-bottom-color: var(--amber); }

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px; height: 42px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
}
.hamburger span { display: block; height: 2px; width: 20px; margin: 0 auto; background: var(--charcoal); transition: transform 0.2s ease, opacity 0.2s ease; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
    .topbar__info li:nth-child(3) { display: none; } /* hide email in cramped topbar, keep phone+address */
    .hamburger { display: flex; }
    .mainnav {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #fff;
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
        box-shadow: var(--shadow);
    }
    .mainnav.is-open { max-height: 420px; }
    .mainnav ul { flex-direction: column; padding: 8px 24px; gap: 0; }
    .mainnav ul li { border-top: 1px solid var(--border); }
    .mainnav ul li:first-child { border-top: none; }
    .mainnav a:not(.btn) { display: block; padding: 14px 0; border-bottom: none; }
    .mainnav a.is-active { color: var(--amber); }
    .navbar__cta { margin: 12px 24px 20px; }
}

@media (max-width: 560px) {
    .topbar__inner { padding: 8px 16px; font-size: 0.78rem; gap: 10px 16px; }
    .navbar__inner { padding: 12px 16px; }
    .brand__tag { display: none; }
}

/* ---------- Hero slider ---------------------------------------------------- */
.hero-slider { position: relative; overflow: hidden; background: var(--charcoal); }
.hero-slide {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 620px) 1fr;
    min-height: 620px;
}
.hero-slide:not(:first-child) { display: none; }
.hero-slide__panel {
    background: var(--charcoal);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 56px;
    position: relative;
    z-index: 2;
}
.hero-slide__panel::after {
    content: "";
    position: absolute;
    top: 0; right: -40px; bottom: 0; width: 80px;
    background: var(--charcoal);
    transform: skewX(-6deg);
    z-index: -1;
}
.hero-slide__eyebrow { color: var(--amber); font-weight: 600; margin-bottom: 14px; font-family: var(--font-head); }
.hero-slide__panel h1 { color: #fff; margin-bottom: 18px; }
.hero-slide__panel p { color: #C6D0D5; font-size: 1.05rem; margin-bottom: 28px; }
.hero-slide__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-slide__media { position: relative; }
.hero-slide__media img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }

.slider-controls {
    position: absolute; z-index: 5; bottom: 26px; left: 56px;
    display: flex; align-items: center; gap: 18px;
}
.slider-arrow {
    width: 42px; height: 42px; border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background-color 0.18s ease;
}
.slider-arrow:hover { background: var(--amber); border-color: var(--amber); }
.slider-dots { display: flex; gap: 8px; }
.slider-dots button {
    width: 9px; height: 9px; border-radius: 50%; border: none;
    background: rgba(255,255,255,0.4); cursor: pointer; padding: 0;
}
.slider-dots button.is-active { background: var(--amber); width: 22px; border-radius: 5px; transition: width 0.2s ease; }

@media (max-width: 900px) {
    .hero-slide { grid-template-columns: 1fr; min-height: 0; }
    .hero-slide__panel { padding: 48px 24px 36px; order: 2; }
    .hero-slide__panel::after { display: none; }
    .hero-slide__media img { min-height: 260px; }
    .hero-slide__media { order: 1; }
    .slider-controls { position: static; padding: 16px 24px; background: var(--charcoal); justify-content: center; }
}

/* ---------- Intro / two column ------------------------------------------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); }
.split__media::before {
    content: "";
    position: absolute; inset: -14px -14px auto auto;
    width: 90px; height: 90px;
    border-top: 3px solid var(--amber);
    border-right: 3px solid var(--amber);
    z-index: -1;
}
.feature-list { margin-top: 22px; display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); }
.feature-list i { color: var(--amber); margin-top: 4px; }

@media (max-width: 860px) {
    .split { grid-template-columns: 1fr; gap: 32px; }
    .split--reverse .split__media { order: -1; }
}

/* ---------- Why choose us / feature cards --------------------------------- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px;
}
.feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-top: 3px solid var(--steel);
    padding: 32px 26px;
    border-radius: 2px;
    transition: border-color 0.18s ease, transform 0.18s ease;
}
.feature-card:hover { border-top-color: var(--amber); transform: translateY(-3px); }
.feature-card__icon {
    width: 68px; height: 68px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--offwhite);
    color: var(--steel);
    border-radius: 50%;
    font-size: 1.6rem;
    margin-bottom: 18px;
}
/* Explicit colors here, not inherited: a .feature-card can sit inside a
   .section-charcoal wrapper (see "Why Choose Us" / "Our Services"), and
   without these the card's own white background would be paired with the
   section's white/pale text meant for the dark section background. */
.feature-card h3 { margin-bottom: 8px; color: var(--charcoal); }
.feature-card p { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- Product cards -------------------------------------------------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}
.product-card {
    background: #fff;
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.product-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__body { padding: 24px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.product-card__body h3 { margin-bottom: 10px; }
.product-card__body p { font-size: 0.95rem; margin-bottom: 16px; }
.product-card__link { margin-top: auto; font-family: var(--font-head); font-weight: 600; color: var(--steel); display: inline-flex; align-items: center; gap: 6px; }
.product-card__link:hover { color: var(--amber); }

.product-full {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    padding: 56px 0;
    border-bottom: 1px solid var(--border);
    align-items: start;
}
.product-full:last-child { border-bottom: none; }
.product-full__media img { border-radius: 2px; }
.product-full__features { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.product-full__features li { display: flex; gap: 10px; color: var(--ink-soft); font-size: 0.95rem; }
.product-full__features i { color: var(--amber); margin-top: 5px; }
.product-tag { display: inline-block; font-family: var(--font-head); font-size: 0.75rem; letter-spacing: 0.05em; color: var(--steel); background: var(--offwhite); padding: 5px 12px; border-radius: 20px; margin-bottom: 14px; }

@media (max-width: 780px) {
    .product-full { grid-template-columns: 1fr; gap: 22px; padding: 40px 0; }
}

/* ---------- Project gallery -------------------------------------------------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 2px;
    aspect-ratio: 4 / 3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item__caption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 18px 18px 14px;
    background: linear-gradient(to top, rgba(27,34,40,0.88), rgba(27,34,40,0));
    color: #fff;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.95rem;
}
.gallery-item__caption span { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.78rem; color: var(--steel-light); margin-top: 2px; }

/* ---------- CTA band -------------------------------------------------------- */
.cta-band { background: #2d3f4e; color: #fff; padding: 56px 0; }
.cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: #C6D0D5; margin: 0; }

/* ---------- Site footer ----------------------------------------------------- */
.site-footer { background: var(--charcoal); color: #C6D0D5; padding-top: 64px; }
.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}
.footer__col h3 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer__col ul { display: grid; gap: 11px; }
.footer__col a { color: #C6D0D5; }
.footer__col a:hover { color: var(--amber); }
.footer__col p { color: #A9BEC4; font-size: 0.92rem; }

.footer__brand img { background: #fff; padding: 4px; border-radius: 2px; margin-bottom: 16px; }
.footer__brand strong { color: #fff; font-family: var(--font-head); font-size: 1.05rem; }

.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact i { color: var(--amber); margin-top: 4px; width: 14px; }
.footer__contact a { color: #C6D0D5; }
.footer__contact a:hover { color: var(--amber); }

.footer__social { display: flex; gap: 12px; }
.footer__social a {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff;
    transition: background-color 0.18s ease, border-color 0.18s ease;
}
.footer__social a:hover { background: var(--amber); border-color: var(--amber); color: #fff; }

.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.14); padding: 20px 0; margin-top: 8px; }
.footer__bottom p { margin: 0; font-size: 0.85rem; color: #9FB0B8; text-align: center; }

/* ---------- Contact page --------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.contact-info { display: grid; gap: 22px; }
.contact-info__item { display: flex; gap: 16px; }
.contact-info__icon {
    width: 46px; height: 46px; flex-shrink: 0;
    background: var(--charcoal); color: var(--amber);
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
}
.contact-info__item h3 { margin-bottom: 4px; font-size: 1rem; }
.contact-info__item p { margin: 0; font-size: 0.95rem; }
.map-embed { margin-top: 8px; border: 1px solid var(--border); border-radius: 2px; overflow: hidden; }
.map-embed iframe { display: block; width: 100%; height: 260px; border: 0; }

.form-card { background: #fff; border: 1px solid var(--border); padding: 36px; border-radius: 2px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; color: var(--charcoal); }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--offwhite);
}
.form-group input:focus, .form-group textarea:focus { outline: 2px solid var(--steel); outline-offset: 1px; background: #fff; }
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 10px; }
.form-alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 22px; font-size: 0.92rem; }
.form-alert--success { background: #E7F3EC; color: #205C39; border: 1px solid #BCE0C9; }
.form-alert--error { background: #FBEAEA; color: #8A2C2C; border: 1px solid #F0C4C4; }
.field-error { color: #B23A3A; font-size: 0.8rem; margin-top: 4px; display: block; }

@media (max-width: 860px) {
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .form-row { grid-template-columns: 1fr; }
}

/* ---------- Page header banner (interior pages) ---------------------------- */
.page-banner {
    background: var(--charcoal);
    color: #fff;
    padding: 64px 0 44px;
    position: relative;
    overflow: hidden;
}
.page-banner .wrap { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; margin-bottom: 10px; }
.breadcrumb { display: flex; gap: 8px; color: var(--steel-light); font-size: 0.9rem; }
.breadcrumb a { color: var(--steel-light); }
.breadcrumb a:hover { color: var(--amber); }
.page-banner__ribs { position: absolute; top: 0; right: 40px; bottom: 0; display: flex; gap: 8px; opacity: 0.5; }
.page-banner__ribs span { width: 2px; background: var(--steel); }

/* ---------- Breadcrumb schema visually hidden helper ----------------------- */
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

/* ---------- Misc ------------------------------------------------------------ */
.lazy-fade { opacity: 0; }
.lazy-fade.is-loaded { opacity: 1; transition: opacity 0.35s ease; }
