/* ==========================================================================
   Smart Home Alarm Automation — site styles
   Colours taken from the company logo: navy, teal and amber.
   ========================================================================== */

:root {
    --navy: #0c4a7d;
    --navy-dark: #082d4f;
    --navy-deep: #061f38;
    --teal: #129cad;
    --teal-dark: #0d7f8d;
    --teal-soft: #e7f6f8;
    --amber: #f6a623;
    --amber-dark: #e08e0b;
    --ink: #15263a;
    --body: #4a5b6d;
    --muted: #7a8a9b;
    --line: #e2e9f0;
    --soft: #f3f7fb;
    --white: #ffffff;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 2px 10px rgba(8, 45, 79, 0.06);
    --shadow: 0 14px 40px rgba(8, 45, 79, 0.10);
    --shadow-lg: 0 24px 60px rgba(8, 45, 79, 0.18);
    --font-head: 'Poppins', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --header-h: 84px;
    --topbar-h: 40px; /* top bar + header border */
    --screen-below-header: calc(100vh - var(--header-h) - var(--topbar-h));
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--body);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal); }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--ink);
    line-height: 1.25;
    margin: 0 0 .6em;
}

h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1.1em; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; vertical-align: middle; }
.icon--sm { width: .9em; height: .9em; }

.skip-link {
    position: absolute; left: -999px; top: 8px; z-index: 1000;
    background: var(--navy); color: var(--white); padding: 8px 16px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

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

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

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .85em 1.6em;
    font-family: var(--font-head); font-weight: 600; font-size: .95rem;
    border-radius: 999px; border: 2px solid transparent;
    cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s, border-color .2s;
    line-height: 1.2; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn--primary { background: var(--navy); color: var(--white); box-shadow: 0 8px 20px rgba(12, 74, 125, .25); }
.btn--primary:hover { background: var(--teal); color: var(--white); }
.btn--accent { background: var(--amber); color: var(--navy-deep); box-shadow: 0 8px 20px rgba(246, 166, 35, .35); }
.btn--accent:hover { background: var(--white); color: var(--navy); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.btn--ghost-light:hover { background: var(--white); color: var(--navy); }
.btn--block { width: 100%; }

/* Section helpers ---------------------------------------------------------- */

.section { padding: clamp(48px, 6vw, 84px) 0; }
.section--soft { background: var(--soft); }

.section-heading { max-width: 760px; margin: 0 auto clamp(28px, 4vw, 44px); text-align: center; }
.section-heading p { color: var(--body); }

.eyebrow {
    display: inline-flex; align-items: center; gap: .5em;
    font-family: var(--font-head); font-size: .8rem; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--teal); margin-bottom: .9rem;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--amber); border-radius: 2px; }
.section-heading .eyebrow::after { content: ''; width: 28px; height: 2px; background: var(--amber); border-radius: 2px; }
.eyebrow--light { color: #8fe3ee; }
.eyebrow .icon { width: 1.1em; height: 1.1em; }

.section-actions { text-align: center; margin-top: 48px; }

.lead { font-size: 1.2rem; color: var(--navy); font-weight: 500; }

/* Topbar & header --------------------------------------------------------- */

.topbar { background: var(--navy-deep); color: #c5d6e6; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.topbar__info { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.topbar__info span, .topbar__info a { display: inline-flex; align-items: center; gap: 6px; color: #c5d6e6; }
.topbar__info a:hover { color: var(--amber); }
.topbar .icon { width: 15px; height: 15px; color: var(--amber); }

.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.brand img { width: auto; height: 56px; max-width: 220px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
.brand__text small { font-size: .82rem; color: var(--teal); font-weight: 500; letter-spacing: .04em; }
.brand:hover { color: var(--navy); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav > ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 10px 14px; font-family: var(--font-head); font-weight: 500; font-size: .95rem;
    color: var(--ink); border-radius: 8px; position: relative;
}
.main-nav > ul > li > a::after {
    content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
    background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.main-nav > ul > li > a:hover, .main-nav > ul > li > a.is-active { color: var(--navy); }
.main-nav > ul > li > a:hover::after, .main-nav > ul > li > a.is-active::after { transform: scaleX(1); }

.dropdown-toggle { display: none; }

.dropdown {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px;
    list-style: none; margin: 0; padding: 10px;
    background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-size: .92rem; }
.dropdown a .icon { color: var(--teal); }
.dropdown a:hover { background: var(--teal-soft); color: var(--navy); }

.nav-toggle {
    display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
    background: var(--white); color: var(--navy); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle .icon { width: 24px; height: 24px; }

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

.hero-slider { position: relative; height: max(480px, var(--screen-below-header)); overflow: hidden; background: var(--navy-deep); }
@supports (height: 100svh) {
    :root { --screen-below-header: calc(100svh - var(--header-h) - var(--topbar-h)); }
}

.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hero-slide.is-active .hero-slide__image { animation: kenburns 7s ease-out forwards; }
.hero-slide::after {
    content: ''; position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(6, 31, 56, .35) 0%, rgba(6, 31, 56, .55) 60%, rgba(6, 31, 56, .8) 100%),
        radial-gradient(ellipse at center, rgba(6, 31, 56, .1) 0%, rgba(6, 31, 56, .45) 100%);
}

@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero-slide__content {
    position: relative; z-index: 2; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
    color: var(--white); padding-bottom: 40px;
}
.hero-slide__eyebrow {
    font-family: var(--font-head); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: .8rem;
    color: var(--amber); margin-bottom: 18px; padding: 6px 16px; border: 1px solid rgba(246, 166, 35, .5); border-radius: 999px;
    background: rgba(6, 31, 56, .35);
}
.hero-slide__title {
    font-size: clamp(2rem, 1rem + 4vw, 4rem); font-weight: 800; text-transform: uppercase; letter-spacing: .01em;
    color: var(--white); margin: 0 0 16px; max-width: 900px; text-shadow: 0 4px 24px rgba(0, 0, 0, .35);
}
.hero-slide__text { font-size: clamp(1rem, .9rem + .5vw, 1.25rem); max-width: 680px; color: #e3edf6; margin-bottom: 30px; }
.hero-slide__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.hero-slide.is-active .hero-slide__eyebrow,
.hero-slide.is-active .hero-slide__title,
.hero-slide.is-active .hero-slide__text,
.hero-slide.is-active .hero-slide__actions { animation: slide-up .9s both; }
.hero-slide.is-active .hero-slide__title { animation-delay: .15s; }
.hero-slide.is-active .hero-slide__text { animation-delay: .3s; }
.hero-slide.is-active .hero-slide__actions { animation-delay: .45s; }

@keyframes slide-up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

.hero-slider__arrow {
    position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
    width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4);
    background: rgba(6, 31, 56, .35); color: var(--white); cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s;
}
.hero-slider__arrow:hover { background: var(--amber); border-color: var(--amber); color: var(--navy-deep); }
.hero-slider__arrow--prev { left: 24px; }
.hero-slider__arrow--next { right: 24px; }

.hero-slider__dots { position: absolute; bottom: 70px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.hero-slider__dots button {
    width: 12px; height: 12px; border-radius: 999px; border: 0; padding: 0; cursor: pointer;
    background: rgba(255, 255, 255, .5); transition: width .3s, background .3s;
}
.hero-slider__dots button.is-active { width: 36px; background: var(--amber); }

/* Highlights -------------------------------------------------------------- */

.highlights { position: relative; z-index: 5; margin-top: -48px; }
.highlights__grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.highlight { display: flex; gap: 18px; padding: 36px 32px; position: relative; transition: background .3s; }
.highlight + .highlight { border-left: 1px solid var(--line); }
.highlight::before {
    content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--teal)); transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.highlight:hover::before { transform: scaleX(1); }
.highlight:hover { background: #fbfdff; }
.highlight__icon {
    flex-shrink: 0; width: 64px; height: 64px; border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--navy), var(--teal)); color: var(--white);
    box-shadow: 0 10px 24px rgba(18, 156, 173, .3); position: relative;
}
.highlight__icon::after {
    content: ''; position: absolute; right: -4px; top: -4px; width: 14px; height: 14px; border-radius: 50%;
    background: var(--amber); border: 3px solid var(--white);
}
.highlight__icon .icon { width: 30px; height: 30px; }
.highlight h3 { font-size: 1.08rem; margin-bottom: .4em; }
.highlight p { font-size: .93rem; margin: 0; }

/* Why choose us ----------------------------------------------------------- */

.why-us__intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.why-us__text h2 { margin-bottom: .5em; }
.why-us__text p { font-size: 1.02rem; }
.why-us__text .btn { margin-top: 10px; }

.why-us__media { position: relative; display: flex; justify-content: center; }
.why-us__circle {
    width: min(460px, 100%); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
    border: 10px solid var(--white); box-shadow: 0 0 0 2px var(--teal-soft), var(--shadow-lg);
    position: relative;
}
.why-us__circle img { width: 100%; height: 100%; object-fit: cover; }
.why-us__media::before {
    content: ''; position: absolute; width: min(520px, 112%); aspect-ratio: 1; border-radius: 50%;
    border: 2px dashed rgba(18, 156, 173, .35); top: 50%; left: 50%; transform: translate(-50%, -50%);
    animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.why-us__badge {
    position: absolute; left: 0; bottom: 8%;
    background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 18px 22px;
    box-shadow: var(--shadow-lg); display: flex; flex-direction: column; max-width: 180px;
}
.why-us__badge strong { font-family: var(--font-head); font-size: 2rem; color: var(--amber); line-height: 1; }
.why-us__badge span { font-size: .82rem; color: #cfe0ef; margin-top: 6px; line-height: 1.4; }


.why-points {
    list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 28px;
    margin-top: clamp(36px, 5vw, 56px); margin-bottom: 0;
}
.why-point { display: flex; gap: 14px; align-items: flex-start; }
.why-point__icon {
    flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    background: var(--teal-soft); color: var(--teal);
}
.why-point__icon .icon { width: 22px; height: 22px; }
.why-point h3 { font-size: 1rem; margin-bottom: .25em; }
.why-point p { font-size: .9rem; line-height: 1.6; margin: 0; }
.feature-card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px;
    transition: transform .3s, box-shadow .3s, border-color .3s; position: relative; overflow: hidden;
}
.feature-card::after {
    content: ''; position: absolute; right: -40px; bottom: -40px; width: 110px; height: 110px; border-radius: 50%;
    background: var(--teal-soft); transition: transform .4s; z-index: 0;
}
.feature-card > * { position: relative; z-index: 1; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature-card:hover::after { transform: scale(1.6); }
.feature-card__icon {
    width: 56px; height: 56px; border-radius: 14px; margin-bottom: 18px;
    display: flex; align-items: center; justify-content: center;
    background: var(--teal-soft); color: var(--teal); transition: background .3s, color .3s;
}
.feature-card:hover .feature-card__icon { background: var(--navy); color: var(--amber); }
.feature-card__icon .icon { width: 28px; height: 28px; }
.feature-card h3 { font-size: 1.08rem; }
.feature-card p { font-size: .94rem; margin: 0; }

/* Stats ------------------------------------------------------------------- */

.stats { background: linear-gradient(120deg, var(--navy-dark), var(--navy) 55%, var(--teal-dark)); color: var(--white); padding: 56px 0; position: relative; overflow: hidden; }
.stats::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 22px 22px;
}
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 700; color: var(--amber); line-height: 1.1; }
.stat span { font-size: .95rem; color: #d3e3f1; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .15); }

/* Service cards ----------------------------------------------------------- */

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
    display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); color: var(--body);
    transition: transform .3s, box-shadow .3s;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); color: var(--body); }
.service-card__media { position: relative; aspect-ratio: 900 / 640; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service-card:hover .service-card__media img { transform: scale(1.08); }
.service-card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(6, 31, 56, .45)); }
.service-card__icon {
    position: absolute; left: 20px; bottom: -24px; z-index: 2; width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    background: var(--navy); color: var(--white); border: 3px solid var(--white); box-shadow: var(--shadow);
    transition: background .3s, color .3s;
}
.service-card:hover .service-card__icon { background: var(--amber); color: var(--navy-deep); }
.service-card__icon .icon { width: 24px; height: 24px; }
.service-card__media { overflow: visible; }
.service-card__media img { border-radius: var(--radius) var(--radius) 0 0; }
.service-card__media::after { border-radius: var(--radius) var(--radius) 0 0; }
.service-card__body { padding: 38px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.service-card__body h3 { font-size: 1.08rem; margin-bottom: .45em; }
.service-card__body p { font-size: .9rem; margin-bottom: 18px; flex: 1; }
.service-card__link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--teal); }
.service-card__link .icon { transition: transform .25s; }
.service-card:hover .service-card__link .icon { transform: translateX(5px); }

/* Brands ------------------------------------------------------------------ */

.brands__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.brands__grid li {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px;
    display: flex; align-items: center; justify-content: center; aspect-ratio: 2 / 1;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.brands__grid img { max-height: 80px; width: auto; object-fit: contain; transition: transform .3s; }
.brands__grid li:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.brands__grid li:hover img { transform: scale(1.05); }

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

.cta-band { padding: 0 0 clamp(48px, 6vw, 84px); }
.ideal-for + .cta-band { padding-top: clamp(48px, 6vw, 84px); }
.section--soft + .cta-band, .brands + .cta-band { padding-top: 0; }
.cta-band__inner {
    display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
    padding: clamp(36px, 5vw, 56px) clamp(28px, 5vw, 64px); border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 90% 10%, rgba(246, 166, 35, .25), transparent 40%),
        linear-gradient(120deg, var(--navy-dark), var(--navy) 60%, var(--teal-dark));
    color: var(--white); box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: var(--white); margin-bottom: .3em; }
.cta-band p { color: #d3e3f1; margin: 0; max-width: 620px; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Page hero --------------------------------------------------------------- */

.page-hero {
    position: relative; min-height: clamp(260px, 36vh, 360px); display: flex; align-items: center;
    background: var(--navy-deep) var(--hero-image) center / cover no-repeat; color: var(--white);
    padding: 48px 0;
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(6, 31, 56, .92) 0%, rgba(8, 45, 79, .75) 45%, rgba(12, 74, 125, .35) 100%);
}
.page-hero::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
    background: linear-gradient(90deg, var(--navy), var(--teal) 60%, var(--amber));
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero--full { min-height: max(440px, var(--screen-below-header)); }
.page-hero h1 { color: var(--white); font-size: clamp(2.1rem, 1.4rem + 3vw, 3.5rem); font-weight: 800; margin-bottom: .3em; }
.page-hero p { max-width: 640px; font-size: 1.1rem; color: #dbe7f2; }
.page-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .88rem; margin-bottom: 18px; color: #b7cbe0; }
.breadcrumbs a { color: #e3edf6; display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs a:hover { color: var(--amber); }
.breadcrumbs span { color: var(--amber); }
.breadcrumbs .icon { width: 15px; height: 15px; }

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

.service-overview { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.service-overview__text p { font-size: 1.02rem; }

.check-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--ink); font-size: .95rem; line-height: 1.5; }
.check-list .icon {
    width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--teal); color: var(--white); stroke-width: 3;
}

.service-overview__media { position: relative; padding-bottom: 0; }
.service-overview__media.has-secondary { padding: 0 0 70px 0; }
.service-overview__main { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 900 / 640; object-fit: cover; }
.service-overview__media.has-secondary .service-overview__main { width: 88%; margin-left: auto; }
.service-overview__secondary {
    position: absolute; left: 0; bottom: 0; width: 52%; border-radius: var(--radius);
    border: 6px solid var(--white); box-shadow: var(--shadow-lg); aspect-ratio: 900 / 640; object-fit: cover;
}
.service-overview__badge {
    position: absolute; right: -10px; top: 24px; display: flex; gap: 12px; align-items: center;
    background: var(--white); padding: 14px 18px; border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.service-overview__badge .icon { width: 38px; height: 38px; color: var(--teal); }
.service-overview__badge strong { display: block; font-family: var(--font-head); color: var(--navy); line-height: 1.2; }
.service-overview__badge span { font-size: .8rem; color: var(--muted); }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.ideal-for { background: linear-gradient(120deg, var(--navy-dark), var(--navy)); padding: 60px 0; color: var(--white); }
.ideal-for__inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: center; }
.ideal-for h2 { color: var(--white); margin: 0; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.chips li {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); font-weight: 500; font-size: .95rem;
    transition: background .2s;
}
.chips li:hover { background: rgba(246, 166, 35, .2); }
.chips .icon { color: var(--amber); width: 18px; height: 18px; stroke-width: 3; }



/* About ------------------------------------------------------------------- */

.welcome { padding-bottom: clamp(32px, 4vw, 48px); }
.welcome__inner { text-align: center; max-width: 820px; }
.welcome__inner .eyebrow::after { content: ''; width: 28px; height: 2px; background: var(--amber); border-radius: 2px; }

.vision-mission { background: var(--navy-deep); padding: clamp(44px, 5vw, 72px) 0; position: relative; overflow: hidden; }
.vision-mission::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(18, 156, 173, .25), transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(246, 166, 35, .15), transparent 40%);
}
.vision-mission__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.vm-card {
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-lg);
    padding: clamp(28px, 4vw, 44px); color: #d3e3f1; backdrop-filter: blur(4px); transition: transform .3s, border-color .3s;
}
.vm-card:hover { transform: translateY(-6px); border-color: rgba(246, 166, 35, .6); }
.vm-card h3 { color: var(--white); font-size: 1.5rem; }
.vm-card p { margin: 0; font-size: 1.02rem; }
.vm-card__icon {
    width: 64px; height: 64px; border-radius: 18px; margin-bottom: 20px;
    background: linear-gradient(135deg, var(--teal), var(--navy)); color: var(--white);
    display: flex; align-items: center; justify-content: center;
}
.vm-card__icon .icon { width: 30px; height: 30px; }

.about-intro { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about-intro__media { position: relative; }
.about-intro__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-intro__media::before {
    content: ''; position: absolute; left: -18px; top: -18px; width: 60%; height: 60%;
    border-radius: var(--radius-lg); background: var(--teal-soft); z-index: -1;
}
.about-intro__badge {
    position: absolute; right: -18px; bottom: 28px; background: var(--amber); color: var(--navy-deep);
    border-radius: var(--radius); padding: 18px 24px; box-shadow: var(--shadow-lg); text-align: center;
}
.about-intro__badge strong { display: block; font-family: var(--font-head); font-size: 2rem; line-height: 1; }
.about-intro__badge span { font-size: .85rem; font-weight: 600; }



.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.gallery__item {
    position: relative; padding: 0; border: 0; cursor: zoom-in; border-radius: var(--radius); overflow: hidden;
    aspect-ratio: 1 / 1; background: var(--soft);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery__item::after { content: ''; position: absolute; inset: 0; background: rgba(6, 31, 56, .45); opacity: 0; transition: opacity .3s; }
.gallery__zoom {
    position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(.6); opacity: 0;
    width: 56px; height: 56px; border-radius: 50%; background: var(--amber); color: var(--navy-deep);
    display: flex; align-items: center; justify-content: center; transition: all .3s;
}
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item:hover .gallery__zoom { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.lightbox {
    position: fixed; inset: 0; z-index: 300; background: rgba(6, 31, 56, .92);
    display: flex; align-items: center; justify-content: center; padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 85vh; width: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox__close {
    position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%; border: 0;
    background: var(--white); color: var(--navy); cursor: pointer; display: flex; align-items: center; justify-content: center;
}

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

.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.contact-card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; text-align: center;
    transition: transform .3s, box-shadow .3s;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.contact-card__icon {
    width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--navy), var(--teal)); color: var(--white); box-shadow: 0 10px 22px rgba(18, 156, 173, .3);
}
.contact-card__icon .icon { width: 28px; height: 28px; }
.contact-card h3 { margin-bottom: .4em; }
.contact-card p { margin: 0 0 .4em; font-size: .93rem; }
.contact-card a { display: block; font-weight: 600; font-size: .93rem; word-break: break-word; }

.contact-main__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: stretch; }
.contact-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 420px; background: var(--line); }
.contact-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

.enquiry { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(28px, 4vw, 44px); border-top: 5px solid var(--teal); }
.enquiry h2 { font-size: 1.7rem; margin-bottom: .2em; }
.enquiry__note { font-size: .88rem; color: var(--muted); }
.required { color: #d64545; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field label { font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
    font: inherit; font-size: .95rem; color: var(--ink); background: var(--soft);
    border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color .2s, background .2s, box-shadow .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: var(--white); box-shadow: 0 0 0 4px rgba(18, 156, 173, .12); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #d64545; background: #fff7f7; }
.field__error { color: #c53030; font-size: .82rem; margin-top: 5px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 10px; margin-bottom: 20px; font-size: .93rem; font-weight: 500; }
.alert--success { background: #e7f8ef; color: #17643d; border: 1px solid #b6e6c9; }
.alert--error { background: #fff1f1; color: #9b2c2c; border: 1px solid #f5c2c2; }


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

.site-footer { background: var(--navy-deep); color: #b9cbdc; font-size: .93rem; position: relative; }
.site-footer::before { content: ''; display: block; height: 5px; background: linear-gradient(90deg, var(--navy), var(--teal) 60%, var(--amber)); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1.3fr; gap: 40px; padding: 70px 0 50px; }
.site-footer h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 1.1em; position: relative; padding-bottom: 12px; }
.site-footer h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 3px; background: var(--amber); }
.site-footer__logo { display: inline-block; background: var(--white); border-radius: var(--radius); padding: 12px; margin-bottom: 18px; }
.site-footer__logo img { width: 120px; height: auto; }
.site-footer__about p { margin: 0; }

.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-links a { color: #b9cbdc; display: inline-flex; align-items: center; gap: 8px; transition: color .2s, transform .2s; }
.footer-links a::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.footer-links a:hover { color: var(--amber); transform: translateX(4px); }

.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.6; }
.footer-contact .icon { color: var(--amber); margin-top: 3px; }
.footer-contact a { color: #e3edf6; word-break: break-word; }
.footer-contact a:hover { color: var(--amber); }

.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0; font-size: .85rem; }
.site-footer__bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.site-footer__bottom p { margin: 0; }

/* Floating buttons -------------------------------------------------------- */

.whatsapp-float {
    position: fixed; left: 22px; bottom: 22px; z-index: 150; width: 58px; height: 58px; border-radius: 50%;
    background: #25d366; color: var(--white); display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, .45); animation: pulse 2.4s infinite;
}
.whatsapp-float:hover { color: var(--white); transform: scale(1.06); }
.whatsapp-float .icon { width: 30px; height: 30px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

.back-to-top {
    position: fixed; right: 22px; bottom: 22px; z-index: 150; width: 48px; height: 48px; border-radius: 50%; border: 0;
    background: var(--navy); color: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--amber); color: var(--navy-deep); }

/* Reveal on scroll -------------------------------------------------------- */

.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--delay, 0ms); }
.js [data-reveal].is-revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}

/* CMS content: rich text, empty states, social links ----------------------- */

.prose { color: var(--body); }
.prose p { font-size: 1.02rem; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose a { text-decoration: underline; }
.prose img { border-radius: var(--radius); margin: 1em 0; }

.empty-state {
    text-align: center; padding: 48px 24px; border: 2px dashed var(--line); border-radius: var(--radius);
    color: var(--muted); max-width: 720px; margin: 0 auto;
}

.footer-social { list-style: none; margin: 18px 0 0; padding: 0; display: flex; gap: 10px; }
.footer-social a {
    width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .08); color: var(--white); transition: background .2s, color .2s;
}
.footer-social a:hover { background: var(--amber); color: var(--navy-deep); }


.password-page {
    min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px;
    background: radial-gradient(circle at 80% 10%, rgba(246, 166, 35, .2), transparent 40%), linear-gradient(135deg, var(--navy-deep), var(--navy) 60%, var(--teal-dark));
}
.password-card {
    width: min(420px, 100%); background: var(--white); border-radius: var(--radius-lg); padding: 40px 34px; text-align: center; box-shadow: var(--shadow-lg);
}
.password-card__logo { width: 120px; margin: 0 auto 18px; }
.password-card h1 { font-size: 1.4rem; }
.password-card form { text-align: left; margin-top: 24px; }
.checkbox { display: flex; align-items: center; gap: 8px; font-size: .9rem; margin-bottom: 18px; cursor: pointer; }

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1100px) {
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-cards { grid-template-columns: repeat(2, 1fr); }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .main-nav { gap: 16px; }
    .main-nav > ul > li > a { padding: 10px 10px; }
}

@media (max-width: 960px) {
    :root { --header-h: 72px; }

    .nav-toggle { display: inline-flex; }
    .main-nav {
        position: fixed; inset: calc(var(--header-h) + 1px) 0 auto 0; z-index: 99;
        flex-direction: column; align-items: stretch; gap: 16px;
        background: var(--white); padding: 16px 20px 24px; box-shadow: var(--shadow-lg);
        max-height: calc(100vh - var(--header-h)); overflow-y: auto;
        opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all .25s;
    }
    .site-header { position: sticky; }
    .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
    .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav > ul > li { border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; }
    .main-nav > ul > li > a { flex: 1; padding: 14px 4px; font-size: 1rem; }
    .main-nav > ul > li > a::after { display: none; }
    .main-nav > ul > li > a .icon--sm { display: none; }
    .dropdown-toggle {
        display: inline-flex; width: 40px; height: 40px; border: 0; border-radius: 8px; background: var(--soft); color: var(--navy);
        align-items: center; justify-content: center; cursor: pointer; transition: transform .2s;
    }
    .has-dropdown.is-open .dropdown-toggle { transform: rotate(180deg); }
    .dropdown {
        position: static; width: 100%; min-width: 0; box-shadow: none; border: 0; padding: 0 0 10px;
        opacity: 1; visibility: visible; transform: none; display: none;
    }
    .has-dropdown:hover .dropdown { display: none; }
    .has-dropdown.is-open .dropdown, .has-dropdown.is-open:hover .dropdown { display: block; }

    .topbar__info:first-child span:nth-child(2) { display: none; }

    .highlights__grid { grid-template-columns: 1fr; }
    .highlight + .highlight { border-left: 0; border-top: 1px solid var(--line); }

    .why-us__intro, .service-overview, .about-intro, .ideal-for__inner, .contact-main__grid { grid-template-columns: 1fr; }
    .why-us__media { order: -1; }
    .features-grid, .why-points { grid-template-columns: repeat(2, 1fr); }
    .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
    .stat:nth-child(3) { border-left: 0; }
    .brands__grid { grid-template-columns: repeat(3, 1fr); }
    .vision-mission__grid { grid-template-columns: 1fr; }
    .about-intro__media { max-width: 520px; }
    .about-intro__badge { right: 12px; }
    .service-overview__badge { right: 12px; }
    .gallery { grid-template-columns: repeat(3, 1fr); }
    .hero-slider__arrow { display: none; }
}

@media (max-width: 640px) {
    body { font-size: 15px; }
    .container { width: calc(100% - 32px); }
    .topbar__inner { justify-content: center; }
    .topbar__info:first-child { display: none; }
    .brand__text strong { font-size: 1.15rem; }
    .brand__text small { font-size: .75rem; }
    .hero-slider { height: max(520px, var(--screen-below-header)); }
    .hero-slider__dots { bottom: 64px; }
    .hero-slide__actions .btn { padding: .8em 1.3em; }
    .highlight { padding: 26px 22px; }
    .features-grid, .why-points, .service-grid, .contact-cards { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .brand img { height: 46px; }
    .brands__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .check-list { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; }
    .why-us__badge { left: 4px; bottom: 0; padding: 14px 16px; }
    .why-us__badge strong { font-size: 1.6rem; }
    .cta-band__actions { width: 100%; }
    .cta-band__actions .btn { flex: 1; }
    .whatsapp-float { width: 52px; height: 52px; left: 16px; bottom: 16px; }
    .back-to-top { right: 16px; bottom: 16px; }
}
