/* ==========================================================================
   SHINE VIEW TECHNICAL SERVICES — MAIN STYLESHEET
   Table of contents:
   1. CSS Variables
   2. Reset & Base
   3. Typography
   4. Layout helpers
   5. Buttons
   6. Navbar
   7. Hero
   8. Trust strip
   9. Section headings
   10. Service cards
   11. About / preview sections
   12. Why choose us
   13. How it works
   14. CTA band
   15. Contact preview / contact page
   16. Footer
   17. Forms
   18. Modal (quote request)
   19. Floating buttons (WhatsApp / Back to top)
   20. Breadcrumbs
   21. Service page specific
   22. 404 page
   ========================================================================== */

/* 1. CSS Variables ------------------------------------------------------- */
:root {
    --primary: #2563eb;        /* professional royal blue */
    --primary-dark: #1d4ed8;
    --secondary: #11284f;      /* deep navy blue */
    --dark: #0b1730;           /* near-black navy for text/footer */
    --light: #f4f7fb;          /* light gray background */
    --white: #ffffff;
    --text: #1e2a3d;           /* dark navy/black body text */
    --text-muted: #56637a;
    --border: #e3e8f0;
    --accent: #e8580c;         /* restrained orange/red CTA accent */
    --accent-dark: #c74807;
    --success: #16a34a;
    --danger: #dc2626;

    --shadow-sm: 0 2px 8px rgba(11, 23, 48, 0.06);
    --shadow-md: 0 8px 24px rgba(11, 23, 48, 0.10);
    --shadow-lg: 0 20px 48px rgba(11, 23, 48, 0.16);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;

    --container-width: 1180px;
    --nav-height: 84px;
    --nav-height-scrolled: 68px;

    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* 2. Reset & Base --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-main);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

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

button { font-family: inherit; cursor: pointer; }

input, textarea, select { font-family: inherit; font-size: 1rem; }

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

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--primary);
    color: var(--white);
    padding: 12px 20px;
    z-index: 10000;
    border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* 3. Typography ----------------------------------------------------------- */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--secondary);
    margin: 0 0 16px;
}

h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 16px; color: var(--text-muted); }

.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(37, 99, 235, 0.08);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}

/* 4. Layout helpers --------------------------------------------------------*/
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.bg-light { background: var(--light); }
.bg-navy { background: var(--secondary); color: var(--white); }
.bg-navy h2, .bg-navy h3, .bg-navy p { color: var(--white); }
.bg-navy p { color: rgba(255,255,255,0.78); }

.section-head {
    max-width: 680px;
    margin: 0 auto 52px;
    text-align: center;
}
.section-head p { font-size: 1.05rem; }

.grid {
    display: grid;
    gap: 30px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.text-center { text-align: center; }

/* 5. Buttons ---------------------------------------------------------------*/
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
    border: 2px solid transparent;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
    white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--primary-dark); box-shadow: var(--shadow-lg); }

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
    box-shadow: var(--shadow-md);
}
.btn-whatsapp:hover { background: #1eb757; box-shadow: var(--shadow-lg); }

.btn-call {
    background: var(--white);
    color: var(--secondary);
    border-color: var(--border);
}
.btn-call:hover { border-color: var(--primary); color: var(--primary); }

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.btn-outline-dark {
    background: transparent;
    color: var(--secondary);
    border-color: var(--border);
}
.btn-outline-dark:hover { border-color: var(--primary); color: var(--primary); }

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

.btn-block { width: 100%; }
.btn-lg { padding: 17px 32px; font-size: 1rem; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* 6. Navbar ------------------------------------------------------------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid var(--border);
    transition: height 0.25s ease, box-shadow 0.25s ease;
}
.navbar.is-scrolled { box-shadow: var(--shadow-md); }

.navbar-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: height 0.25s ease;
}
.navbar.is-scrolled .navbar-inner { height: var(--nav-height-scrolled); }

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand img { height: 52px; width: auto; transition: height 0.25s ease; }
.navbar.is-scrolled .brand img { height: 42px; }
.brand-text {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--secondary);
    line-height: 1.15;
}
.brand-text span {
    display: block;
    font-weight: 500;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-links a {
    padding: 10px 16px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
    border-radius: var(--radius-sm);
    transition: background 0.2s ease, color 0.2s ease;
    position: relative;
}
.nav-links a:hover { color: var(--primary); background: rgba(37,99,235,0.06); }
.nav-links a.active { color: var(--primary); }
.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 16px; right: 16px; bottom: 5px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

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

/* Services dropdown (desktop) ---------------------------------------------*/
.nav-item-dropdown { position: relative; }
.nav-item-dropdown > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-item-dropdown > a svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.nav-item-dropdown:hover > a svg,
.nav-item-dropdown:focus-within > a svg { transform: rotate(180deg); }

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 14px;
    min-width: 480px;
    column-count: 2;
    column-gap: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1100;
}
.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text);
    break-inside: avoid;
    white-space: nowrap;
}
.dropdown-menu a:hover { background: rgba(37,99,235,0.07); color: var(--primary); }
.dropdown-menu a svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }
.dropdown-menu .dropdown-view-all {
    column-span: all;
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    color: var(--primary);
    justify-content: center;
}
.dropdown-menu .dropdown-view-all svg { color: var(--primary); width: 16px; height: 16px; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
    content: "";
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--secondary);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle span { margin: 6px 0; }
.nav-toggle[aria-expanded="true"] span { opacity: 0; }
.nav-toggle[aria-expanded="true"]::before { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after { transform: translateY(-8.5px) rotate(-45deg); }

.mobile-panel {
    display: none;
    position: fixed;
    inset: 0;
    top: var(--nav-height-scrolled);
    background: var(--white);
    z-index: 999;
    padding: 24px;
    overflow-y: auto;
}
.mobile-panel.is-open { display: block; }
.mobile-panel a {
    display: block;
    padding: 16px 6px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    border-bottom: 1px solid var(--border);
}
.mobile-panel a.active { color: var(--primary); }
.mobile-panel .btn { margin-top: 24px; }

/* Services accordion (mobile) ----------------------------------------------*/
.mobile-accordion { border-bottom: 1px solid var(--border); }
.mobile-accordion-head { display: flex; align-items: center; justify-content: space-between; }
.mobile-accordion-head a { flex: 1; border-bottom: none; padding: 16px 6px; }
.mobile-accordion-toggle {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: var(--light);
    border: none;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
}
.mobile-accordion-toggle svg { width: 18px; height: 18px; transition: transform 0.25s ease; }
.mobile-accordion-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.mobile-accordion-panel.is-open { max-height: 900px; }
.mobile-accordion-panel a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 6px 12px 14px;
    font-size: 0.95rem;
    font-weight: 600;
    border-bottom: none;
    color: var(--text-muted);
}
.mobile-accordion-panel a svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }
body.menu-open { overflow: hidden; }

/* 7. Hero ----------------------------------------------------------------*/
.hero {
    position: relative;
    padding: 72px 0 90px;
    background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--secondary);
    margin-bottom: 22px;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }

.hero h1 { margin-bottom: 18px; }
.hero h1 .highlight { color: var(--primary); }
.hero-sub { font-size: 1.12rem; margin-bottom: 30px; max-width: 540px; }

.hero-media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 8/6.2; }

.hero-badge {
    position: absolute;
    right: 24px;
    top: 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 260px;
}
.hero-badge .icon-circle { background: rgba(37,99,235,0.1); color: var(--primary); }
.hero-badge strong { display: block; font-size: 0.95rem; color: var(--secondary); }
.hero-badge span { font-size: 0.8rem; color: var(--text-muted); }

/* 8. Trust strip ---------------------------------------------------------*/
.trust-strip {
    padding: 46px 0 20px;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.icon-circle {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-circle svg { width: 24px; height: 24px; }
.trust-item strong { display: block; font-size: 0.98rem; color: var(--secondary); }
.trust-item span { font-size: 0.85rem; color: var(--text-muted); }

/* 9. Section headings handled above (.section-head) */

/* 10. Service cards --------------------------------------------------------*/
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.service-card-media { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .service-card-media img { transform: scale(1.07); }

.service-card-icon {
    position: absolute;
    left: 16px;
    bottom: -22px;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}
.service-card-icon svg { width: 26px; height: 26px; }

.service-card-body {
    padding: 34px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.service-card-body h3 { margin-bottom: 10px; }
.service-card-body p { flex: 1; font-size: 0.95rem; }
.service-card-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}
.service-card-actions .btn { flex: 1; padding: 12px 14px; font-size: 0.85rem; }

/* 11. About / preview sections ---------------------------------------------*/
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-media .badge-float {
    position: absolute;
    right: -18px;
    bottom: -18px;
    background: var(--secondary);
    color: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-width: 220px;
}
.about-media .badge-float strong { display: block; font-size: 1rem; margin-bottom: 4px; }
.about-media .badge-float span { font-size: 0.82rem; opacity: 0.8; }

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-weight: 600;
    color: var(--secondary);
}
.check-list li svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: var(--primary);
    margin-top: 2px;
}

/* 12. Why choose us ---------------------------------------------------------*/
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 30px 26px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card .icon-circle { margin-bottom: 18px; width: 54px; height: 54px; }
.feature-card .icon-circle svg { width: 28px; height: 28px; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { margin-bottom: 0; font-size: 0.93rem; }

/* 13. How it works -----------------------------------------------------------*/
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: step;
}
.step-card {
    position: relative;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--radius-md);
    padding: 30px 24px;
    text-align: center;
}
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-weight: 800;
    margin-bottom: 18px;
}
.step-card h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 8px; }
.step-card p { font-size: 0.88rem; margin-bottom: 0; }

/* 14. CTA band ---------------------------------------------------------------*/
.cta-band {
    background: linear-gradient(120deg, var(--secondary), var(--primary));
    border-radius: var(--radius-lg);
    padding: 56px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 0; }
.cta-band .btn-group { flex-shrink: 0; }

/* 15. Contact preview / contact page -----------------------------------------*/
.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 44px;
    align-items: flex-start;
}
.contact-info-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 34px;
    box-shadow: var(--shadow-sm);
}
.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item h4 { margin-bottom: 4px; }
.contact-info-item p { margin-bottom: 0; font-size: 0.93rem; }
.contact-info-item a { color: var(--primary); font-weight: 600; }

.contact-form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 38px;
    box-shadow: var(--shadow-md);
}

/* 16. Footer -------------------------------------------------------------------*/
.site-footer { background: var(--dark); color: rgba(255,255,255,0.72); padding-top: 70px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.8fr 1.6fr 0.9fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { height: 46px; filter: brightness(0) invert(1); }
.footer-brand-text { font-weight: 800; color: var(--white); font-size: 1rem; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    transition: background 0.2s ease, color 0.2s ease;
}
.footer-social-link svg { width: 18px; height: 18px; }
.footer-social-link:hover { background: var(--primary); color: var(--white); }
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 20px; }
.site-footer p { color: rgba(255,255,255,0.65); font-size: 0.92rem; }
.footer-links li { margin-bottom: 12px; break-inside: avoid; }
.footer-links a { font-size: 0.92rem; color: rgba(255,255,255,0.68); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--white); }
.footer-links-services { column-count: 2; column-gap: 20px; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; font-size: 0.92rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--primary); }
.footer-contact a { color: rgba(255,255,255,0.75); }
.footer-contact a:hover { color: var(--white); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,0.6); }

/* 17. Forms --------------------------------------------------------------------*/
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group.full { grid-column: 1 / -1; }
label {
    display: block;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--secondary);
    margin-bottom: 8px;
}
label .req { color: var(--danger); }
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
input[type="time"],
select,
textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37,99,235,0.12);
    outline: none;
}
input.invalid, select.invalid, textarea.invalid {
    border-color: var(--danger);
    box-shadow: 0 0 0 4px rgba(220,38,38,0.08);
}
.field-error {
    display: none;
    color: var(--danger);
    font-size: 0.82rem;
    margin-top: 6px;
    font-weight: 600;
}
.field-error.show { display: block; }

.form-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }

.form-status {
    display: none;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}
.form-status.show { display: block; }
.form-status.success { background: rgba(22,163,74,0.1); color: var(--success); }
.form-status.error { background: rgba(220,38,38,0.1); color: var(--danger); }

/* 18. Modal ----------------------------------------------------------------------*/
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 23, 48, 0.6);
    backdrop-filter: blur(3px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}
.modal-overlay.is-open { display: flex; }
.modal-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 34px;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: modalPop 0.25s ease;
}
.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--light);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    transition: background 0.2s ease;
}
.modal-close:hover { background: var(--border); }
.modal-box h3 { margin-bottom: 6px; }
.modal-sub { margin-bottom: 24px; font-size: 0.92rem; }

/* 19. Floating buttons -------------------------------------------------------------*/
.float-buttons {
    position: fixed;
    right: 22px;
    bottom: 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    z-index: 900;
}
.whatsapp-float {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float .tooltip {
    position: absolute;
    right: 72px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark);
    color: var(--white);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.whatsapp-float:hover .tooltip { opacity: 1; }

.back-to-top {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; }

/* 20. Breadcrumbs -------------------------------------------------------------------*/
.breadcrumb {
    padding: 18px 0;
    background: var(--light);
    border-bottom: 1px solid var(--border);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.88rem; }
.breadcrumb a { color: var(--text-muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb li[aria-current="page"] { color: var(--secondary); font-weight: 700; }
.breadcrumb .sep { color: var(--border); display: flex; align-items: center; }
.breadcrumb .sep svg { width: 14px; height: 14px; flex-shrink: 0; }

/* 21. Service page specific ------------------------------------------------------------*/
.service-hero {
    background: linear-gradient(120deg, var(--secondary), var(--primary));
    color: var(--white);
    padding: 60px 0;
}
.service-hero h1 { color: var(--white); margin-bottom: 12px; }
.service-hero p { color: rgba(255,255,255,0.85); max-width: 620px; margin-bottom: 0; }

.offer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.offer-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.offer-item .icon-circle { width: 42px; height: 42px; }
.offer-item .icon-circle svg { width: 20px; height: 20px; }
.offer-item h4 { margin-bottom: 4px; }
.offer-item p { margin-bottom: 0; font-size: 0.9rem; }

.problem-list li {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px dashed var(--border);
    font-weight: 600;
    color: var(--secondary);
}
.problem-list li:last-child { border-bottom: none; }
.problem-list svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.related-card img { aspect-ratio: 4/3; object-fit: cover; }
.related-card-body { padding: 18px 20px; }
.related-card-body h4 { margin-bottom: 6px; }
.related-card-body a { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 700; font-size: 0.88rem; }
.related-card-body a svg { width: 16px; height: 16px; flex-shrink: 0; }

.before-after { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.before-after figure { margin: 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); position: relative; }
.before-after figcaption {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(11,23,48,0.75);
    color: var(--white);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
}

/* 22. 404 page -----------------------------------------------------------------------*/
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 90px 24px;
}
.error-code {
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 10px;
}
.error-page p { max-width: 460px; margin-left: auto; margin-right: auto; }

/* Utility variants (kept here so no page needs inline style="") ------------*/
.cta-band-light {
    background: var(--white);
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.cta-band-light h2 { color: var(--secondary); }
.cta-band-light p { color: var(--text-muted); }

.eyebrow-on-dark {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.25);
}

.service-hero .btn-group { margin-top: 26px; }

.about-media-narrow { max-width: 900px; margin: 0 auto; }

.mobile-panel .btn-call { margin-top: 12px; }

.btn-group-center { justify-content: center; }

.mt-lg { margin-top: 36px; }

/* Reveal animation hook (see animations.css) */
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

