/* ==========================================================================
   Wood-Tech PVC & WPC Solutions
   Design tokens: brand navy + orange from the trade brochure, hexagon motif
   taken from the logo mark, condensed display type for the industrial voice.
   ========================================================================== */

:root {
    --navy: #142238;
    --navy-mid: #1c3050;
    --navy-soft: #26405f;
    --orange: #e8541f;
    --orange-dark: #c74310;
    --paper: #f1f3f6;
    --paper-warm: #f7f8fa;
    --white: #ffffff;
    --slate: #5c6b7e;
    --line: #dce2ea;

    --shell: 1180px;
    --gutter: 24px;

    --display: "Oswald", "Arial Narrow", sans-serif;
    --body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --hex: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--navy);
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--orange);
    text-decoration: none;
}

a:hover {
    color: var(--orange-dark);
}

:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
    font-family: var(--display);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: 0.01em;
    margin: 0 0 0.5em;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(2.4rem, 5.6vw, 4.1rem);
}

h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

h3 {
    font-size: 1.28rem;
}

p {
    margin: 0 0 1.1em;
    max-width: 68ch;
}

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

.section {
    padding-block: clamp(56px, 8vw, 96px);
}

.section--paper {
    background: var(--paper);
}

.section--navy {
    background: var(--navy);
    color: var(--white);
}

.section--navy h2,
.section--navy h3 {
    color: var(--white);
}

.section-head {
    max-width: 62ch;
    margin-bottom: 44px;
}

.section-head p {
    color: var(--slate);
    margin-bottom: 0;
}

.section--navy .section-head p {
    color: #b9c6d6;
}

.lede {
    font-size: 1.14rem;
    color: var(--slate);
}

/* Rule that reads as a brand mark rather than a divider */
.rule {
    width: 68px;
    height: 4px;
    background: var(--orange);
    border: 0;
    margin: 0 0 20px;
}

/* --------------------------------------------------------------- buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--display);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 14px 26px;
    border: 2px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn--primary {
    background: var(--orange);
    color: var(--white);
}

.btn--primary:hover {
    background: var(--orange-dark);
    color: var(--white);
}

.btn--ghost {
    border-color: rgba(255, 255, 255, 0.45);
    color: var(--white);
}

.btn--ghost:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.btn--outline {
    border-color: var(--navy);
    color: var(--navy);
}

.btn--outline:hover {
    background: var(--navy);
    color: var(--white);
}

/* ---------------------------------------------------------------- header */
.topbar {
    background: var(--navy);
    color: #c3d0df;
    font-size: 0.85rem;
}

.topbar .shell {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 26px;
    align-items: center;
    justify-content: flex-end;
    min-height: 42px;
}

.topbar a {
    color: #dfe7ef;
}

.topbar a:hover {
    color: var(--orange);
}

.masthead {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.masthead .shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 96px;
}

.brand img {
    height: 72px;
    width: auto;
}

.brand-text {
    font-family: var(--display);
    font-size: 1.6rem;
    color: var(--navy);
    letter-spacing: 0.02em;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav a {
    font-family: var(--display);
    font-size: 1.02rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--navy);
    padding-block: 6px;
    border-bottom: 3px solid transparent;
}

.nav a:hover {
    color: var(--orange);
}

.nav a[aria-current="page"] {
    color: var(--orange);
    border-bottom-color: var(--orange);
}

.nav-toggle {
    display: none;
    background: none;
    border: 2px solid var(--line);
    border-radius: 2px;
    padding: 9px 12px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    margin: 4px 0;
}

/* ------------------------------------------------------------------ hero */
.hero {
    position: relative;
    background: var(--navy);
    color: var(--white);
    overflow: hidden;
}

/* Honeycomb field, echoing the logo mark. Sits behind everything, low contrast. */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='96' viewBox='0 0 56 96'%3E%3Cpath d='M28 0l24 14v28L28 56 4 42V14z' fill='none' stroke='%23ffffff' stroke-opacity='0.055' stroke-width='2'/%3E%3Cpath d='M28 56l24 14v28L28 112 4 98V70z' fill='none' stroke='%23ffffff' stroke-opacity='0.055' stroke-width='2'/%3E%3C/svg%3E");
    opacity: 0.9;
}

.hero .shell {
    position: relative;
    padding-block: clamp(56px, 8vw, 104px);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 56px;
    align-items: center;
}

.hero h1 {
    margin-bottom: 22px;
}

.hero h1 em {
    font-style: normal;
    color: var(--orange);
    display: block;
}

.hero p {
    color: #c5d2e0;
    font-size: 1.12rem;
    max-width: 52ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

/* Four short guarantees under the hero copy */
.assurances {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin-top: 38px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    list-style: none;
    padding-left: 0;
}

.assurances li {
    font-family: var(--display);
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #d7e1ec;
    display: flex;
    align-items: center;
    gap: 9px;
}

.assurances li::before {
    content: "";
    width: 9px;
    height: 10px;
    background: var(--orange);
    clip-path: var(--hex);
}

/* --------------------------------------------------------- hexagon cluster */
.hex-cluster {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.hex {
    position: relative;
    aspect-ratio: 1 / 1.1;
    clip-path: var(--hex);
    background: var(--navy-mid);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 12px;
    text-align: center;
    border: 0;
}

.hex--offset {
    transform: translateY(34px);
}

.hex svg {
    width: 30px;
    height: 30px;
    stroke: var(--orange);
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

.hex span {
    font-family: var(--display);
    font-size: 0.76rem;
    line-height: 1.25;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--white);
}

/* Standalone strengths grid (about page) */
.strengths {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 26px;
}

.strength {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.strength-mark {
    flex: 0 0 52px;
    height: 58px;
    background: var(--navy);
    clip-path: var(--hex);
    display: grid;
    place-items: center;
}

/* Navy on navy disappears, so lift the mark a shade inside dark sections. */
.section--navy .strength-mark {
    background: var(--navy-mid);
}

.strength-mark svg {
    width: 26px;
    height: 26px;
    stroke: var(--orange);
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.strength-mark img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.strength h3 {
    font-size: 1.02rem;
    margin-bottom: 4px;
}

.strength p {
    margin: 0;
    font-size: 0.94rem;
    color: var(--slate);
}

.section--navy .strength p {
    color: #b3c2d3;
}

/* ------------------------------------------------------------- statement */
.statement {
    background: var(--orange);
    color: var(--white);
}

.statement .shell {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 34px;
}

.statement p {
    font-family: var(--display);
    font-size: clamp(1.3rem, 2.6vw, 1.9rem);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.15;
    margin: 0;
    max-width: 30ch;
}

.statement .btn {
    background: var(--white);
    color: var(--navy);
}

.statement .btn:hover {
    background: var(--navy);
    color: var(--white);
}

/* -------------------------------------------------------------- products */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 26px;
}

.product-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 3px;
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.product-card:hover {
    border-color: var(--navy);
    box-shadow: 0 14px 30px rgba(20, 34, 56, 0.09);
}

.product-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--paper);
}

.product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card__badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: var(--navy);
    color: var(--white);
    font-family: var(--display);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 7px 12px;
    border-radius: 2px;
}

.product-card__body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card__body h3 {
    margin-bottom: 10px;
}

.product-card__body p {
    color: var(--slate);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.tick-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: grid;
    gap: 8px;
}

.tick-list li {
    position: relative;
    padding-left: 24px;
    font-size: 0.94rem;
    color: var(--navy);
}

.tick-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 11px;
    height: 12px;
    background: var(--orange);
    clip-path: var(--hex);
}

.section--navy .tick-list li {
    color: #d6e0ea;
}

.product-card__link {
    margin-top: auto;
    font-family: var(--display);
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-top: 1px solid var(--line);
    padding-top: 16px;
}

/* Product detail */
.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 52px;
    align-items: start;
}

.product-detail__media img {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 3px;
}

.thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0 28px;
}

.spec-table th,
.spec-table td {
    text-align: left;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.96rem;
    vertical-align: top;
}

.spec-table th {
    width: 42%;
    font-family: var(--display);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--navy);
}

.spec-table td {
    color: var(--slate);
}

/* ---------------------------------------------------------- applications */
.applications {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 18px;
}

.application {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 24px 20px;
    text-align: center;
}

.application svg {
    width: 38px;
    height: 38px;
    margin: 0 auto 14px;
    stroke: var(--orange);
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.application img {
    width: 40px;
    height: 40px;
    margin: 0 auto 14px;
    object-fit: contain;
}

.application h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.application p {
    font-size: 0.88rem;
    color: var(--slate);
    margin: 0;
}

/* --------------------------------------------------------------- numbers */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 28px;
}

.stat strong {
    display: block;
    font-family: var(--display);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    color: var(--orange);
}

.stat span {
    display: block;
    margin-top: 8px;
    font-size: 0.93rem;
    color: #b9c6d6;
}

/* ----------------------------------------------------------------- split */
.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 52px;
    align-items: start;
}

.panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 4px solid var(--orange);
    border-radius: 3px;
    padding: 26px 28px;
}

.panel h3 {
    margin-bottom: 8px;
}

.panel p:last-child {
    margin-bottom: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 3px;
}

/* ----------------------------------------------------------------- forms */
.form-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 32px;
}

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    font-family: var(--display);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    font-family: var(--body);
    font-size: 1rem;
    color: var(--navy);
    padding: 12px 14px;
    background: var(--paper-warm);
    border: 1px solid var(--line);
    border-radius: 2px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--orange);
    background: var(--white);
}

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

.field .error {
    display: block;
    margin-top: 6px;
    font-size: 0.88rem;
    color: #c0261b;
}

.field-pair {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0 18px;
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.notice {
    background: #e8f4ec;
    border-left: 4px solid #2e7d4f;
    padding: 16px 20px;
    margin-bottom: 26px;
    border-radius: 2px;
}

.notice p {
    margin: 0;
}

/* -------------------------------------------------------------- branches */
.branches {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.branch {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 26px;
}

.branch h3 {
    margin-bottom: 10px;
}

.branch address {
    font-style: normal;
    color: var(--slate);
    font-size: 0.96rem;
}

/* Phone and email each get their own line under the address. */
.branch address a {
    display: block;
    margin-top: 6px;
}

.map-frame {
    margin-top: 18px;
    aspect-ratio: 16 / 9;
    border-radius: 3px;
    overflow: hidden;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---------------------------------------------------------------- footer */
.footer {
    background: var(--navy);
    color: #b6c4d4;
    padding-block: 58px 0;
}

.footer h4 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.footer a {
    color: #cfdae6;
}

.footer a:hover {
    color: var(--orange);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
    font-size: 0.95rem;
}

.footer p {
    font-size: 0.95rem;
}

.footer-brand img {
    height: 62px;
    background: var(--white);
    padding: 8px 12px;
    border-radius: 3px;
    margin-bottom: 18px;
}

.footer-bottom {
    margin-top: 46px;
    padding-block: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    justify-content: space-between;
    font-size: 0.87rem;
}

.socials {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.socials a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: var(--navy-soft);
    border-radius: 2px;
}

.socials svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* WhatsApp quick contact */
.floating-call {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 50;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.floating-call svg {
    width: 27px;
    height: 27px;
    fill: currentColor;
}

/* --------------------------------------------------------- page headings */
.page-head {
    background: var(--navy);
    color: var(--white);
    padding-block: clamp(46px, 6vw, 76px);
    position: relative;
    overflow: hidden;
}

.page-head::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='96' viewBox='0 0 56 96'%3E%3Cpath d='M28 0l24 14v28L28 56 4 42V14z' fill='none' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='2'/%3E%3C/svg%3E");
}

/* Optional uploaded banner, dimmed so the heading keeps its contrast. */
.page-head--image {
    background-size: cover;
    background-position: center;
}

.page-head--image::before {
    background-color: rgba(20, 34, 56, 0.82);
}

.page-head .shell {
    position: relative;
}

.page-head p {
    color: #c2cfdd;
    max-width: 58ch;
    margin-bottom: 0;
}

.crumbs {
    font-size: 0.86rem;
    color: #8fa3ba;
    margin-bottom: 14px;
}

.crumbs a {
    color: #c2cfdd;
}

/* --------------------------------------------------------------- motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}

/* ------------------------------------------------------------ responsive */
@media (max-width: 980px) {
    .hero-grid,
    .product-detail {
        grid-template-columns: 1fr;
    }

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

    .hex--offset {
        transform: none;
    }
}

@media (max-width: 760px) {
    body {
        font-size: 16px;
    }

    .nav-toggle {
        display: block;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        padding: 8px 24px 18px;
    }

    .nav.is-open {
        display: flex;
    }

    .nav a {
        padding: 13px 0;
        border-bottom: 1px solid var(--line);
    }

    .nav a[aria-current="page"] {
        border-bottom-color: var(--line);
    }

    .masthead .shell {
        position: relative;
        min-height: 72px;
    }

    .brand img {
        height: 52px;
    }

    /* Three across keeps the honeycomb readable without a page of scrolling. */
    .hex-cluster {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .hex {
        aspect-ratio: 1 / 0.98;
        padding: 10px 8px;
        gap: 6px;
    }

    .hex svg {
        width: 24px;
        height: 24px;
    }

    .hex span {
        font-size: 0.66rem;
    }

    .topbar .shell {
        justify-content: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

