/* ============================================================
   FireOps 360 – Website Stylesheet
   ============================================================ */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --red:        #CC2929;
    --red-dark:   #A81E1E;
    --red-light:  #FEECEC;
    --red-mid:    #FCA5A5;
    --dark:       #111827;
    --body:       #374151;
    --muted:      #6B7280;
    --light:      #F9FAFB;
    --border:     #E5E7EB;
    --white:      #FFFFFF;
    --green:      #16A34A;
    --green-lt:   #DCFCE7;
    --orange:     #F97316;
    --orange-lt:  #FFEDD5;
    --yellow:     #EAB308;
    --yellow-lt:  #FEF9C3;
    --blue:       #2563EB;
    --blue-lt:    #DBEAFE;
    --purple:     #7C3AED;
    --purple-lt:  #EDE9FE;
    --crimson:    #991B1B;
    --crimson-lt: #FEE2E2;
    --r:          12px;
    --sh:         0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
    --sh-md:      0 4px 12px rgba(0,0,0,.09), 0 2px 6px rgba(0,0,0,.05);
    --sh-lg:      0 16px 32px rgba(0,0,0,.12), 0 6px 14px rgba(0,0,0,.06);
    --grey-bg:    #F3F4F6;
    --diamond-pattern: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='28'><path d='M14 2L26 14L14 26L2 14Z' fill='none' stroke='%23DDE0E6' stroke-width='0.6'/></svg>");
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--body);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

section[id] { scroll-margin-top: 80px; }

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

/* ===== TYPOGRAPHY ===== */
.section-header { margin-bottom: 28px; }
.section-header.center { text-align: center; }
.section-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.section-header p {
    font-size: 0.95rem;
    color: var(--muted);
    max-width: 580px;
    line-height: 1.7;
}
.section-header.center p { margin: 0 auto; }
.text-red { color: var(--red); }

/* ===== UTILITIES ===== */
.mb-20  { margin-bottom: 20px !important; }
.mt-auto { margin-top: auto; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    transition: background .18s, border-color .18s, color .18s, transform .15s, box-shadow .15s;
    white-space: nowrap;
    line-height: 1;
}
.btn-lg { padding: 13px 28px; font-size: 0.95rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-primary {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}
.btn-primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(204,41,41,.35);
}
.btn-outline {
    background: transparent;
    color: var(--dark);
    border-color: var(--border);
}
.btn-outline:hover { border-color: var(--dark); background: var(--light); }
.btn-outline-dark {
    background: transparent;
    color: var(--dark);
    border-color: #D1D5DB;
}
.btn-outline-dark:hover { background: var(--light); border-color: #9CA3AF; }
.btn-outline-red {
    background: transparent;
    color: var(--red);
    border-color: var(--red);
}
.btn-outline-red:hover { background: var(--red-light); }
.btn-whatsapp {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
}
.btn-whatsapp:hover {
    background: #1ebe5d;
    border-color: #1ebe5d;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37,211,102,.35);
}
.btn-wa-icon {
    font-size: 1.15em;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .65s ease, transform .65s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay { transition-delay: .15s; }

/* ===================================================================
   HEADER
   ================================================================= */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    height: 68px;
    display: flex;
    align-items: center;
    transition: box-shadow .2s;
}
.header.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    flex-shrink: 0;
}
.logo-icon {
    width: 34px; height: 34px;
    background: var(--red);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 15px;
}
.logo-text {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.01em;
}
.logo-text strong { color: var(--red); }
.logo-img { height: 42px; width: auto; display: block; }
.logo-dark-wrap {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    padding: 8px 16px;
}
.logo-dark-wrap .logo-img { height: 42px; }

/* Nav */
.nav {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    justify-content: center;
}
.nav-link {
    padding: 6px 13px;
    border-radius: 7px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--body);
    transition: color .18s;
    position: relative;
}
.nav-link:hover { color: var(--red); }
.nav-link.active { color: var(--red); font-weight: 600; }
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 13px; right: 13px;
    height: 2px;
    background: var(--red);
    border-radius: 1px;
}

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.hamburger span {
    display: block;
    width: 22px; height: 2.5px;
    background: var(--dark);
    border-radius: 2px;
    transition: .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===================================================================
   HERO
   ================================================================= */
.hero {
    padding: 96px 0 52px;
    background: var(--white);
    overflow: hidden;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: stretch;
}
.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 8px;
}
.hero-title {
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 900;
    line-height: 1.13;
    color: var(--dark);
    margin-bottom: 18px;
    letter-spacing: -0.03em;
}
.hero-title em { font-style: italic; }
.hero-sub {
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.6;
}
.hero-desc {
    font-size: 0.88rem;
    color: var(--muted);
    margin-bottom: 20px;
    line-height: 1.75;
}
.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px 9px 9px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--dark);
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0,0,0,.07);
    transition: box-shadow .2s, border-color .2s, transform .18s;
}
.hero-badge:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,.11);
    border-color: var(--red-mid);
    transform: translateY(-2px);
}
.hero-badge i {
    width: 30px;
    height: 30px;
    background: var(--red);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.78rem;
    flex-shrink: 0;
}

/* Hero visual wrapper — flex column so slider fills height and dots sit below */
.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
}

/* ---- Banner slider ---- */
.banner-slider {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--sh-lg);
}

/* First slide sets the container height naturally */
.banner-slide {
    width: 100%;
    transition: opacity .75s ease;
}
.banner-slide.active  { opacity: 1; }
.banner-slide:not(.active) { opacity: 0; }

/* Non-first slides stack absolutely on top */
.banner-slide:not(:first-child) {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}
.banner-slide:not(:first-child) .hero-banner-img {
    height: 100%;
    object-fit: contain;
}

.hero-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Dot indicators — below the slider, not overlaid on the image */
.banner-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding-top: 12px;
}
.bd {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    border: none;
    padding: 0;
    transition: background .25s, transform .25s;
}
.bd.active {
    background: var(--red);
    transform: scale(1.3);
}
.bd:hover { background: var(--red-mid); }

/* ===================================================================
   APP WINDOW (shared mock dashboard component)
   ================================================================= */
.app-window {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--sh-lg);
    overflow: hidden;
    border: 1px solid #D1D5DB;
    width: 100%;
}
.app-window.sm { border-radius: 10px; }

.aw-titlebar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    background: #1E2230;
    color: rgba(255,255,255,.8);
}
.aw-titlebar.sm { padding: 7px 10px; }
.aw-dots { display: flex; gap: 5px; }
.aw-dots span {
    width: 9px; height: 9px;
    border-radius: 50%;
}
.aw-dots span:nth-child(1) { background: #FF5F57; }
.aw-dots span:nth-child(2) { background: #FFBD2E; }
.aw-dots span:nth-child(3) { background: #28CA42; }
.aw-title { font-size: 0.68rem; font-weight: 600; flex: 1; text-align: center; opacity: .85; }
.aw-ctrl { display: flex; gap: 9px; font-size: 0.65rem; opacity: .6; }

.aw-body { display: flex; }

.aw-sidebar {
    width: 44px;
    background: #161C2D;
    padding: 12px 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
}
.aw-sidebar.sm { width: 36px; padding: 10px 5px; }

.aw-nav {
    width: 32px; height: 32px;
    border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.68rem;
    color: rgba(255,255,255,.4);
    cursor: pointer;
    transition: .2s;
}
.aw-sidebar.sm .aw-nav { width: 26px; height: 26px; font-size: 0.6rem; }
.aw-nav.active { background: var(--red); color: #fff; }
.aw-nav:hover:not(.active) { background: rgba(255,255,255,.1); color: rgba(255,255,255,.75); }

.aw-main {
    flex: 1;
    padding: 12px 14px;
    background: #F3F4F6;
    overflow: hidden;
    min-width: 0;
}
.aw-main.sm { padding: 10px 10px; }
.aw-page-title {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
}
.aw-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 12px;
}
.aw-stats.sm { gap: 4px; margin-bottom: 8px; }
.aw-stat {
    background: #fff;
    border-radius: 6px;
    padding: 7px 8px;
    border-top: 2.5px solid #E5E7EB;
}
.aw-stat.green  { border-top-color: var(--green); }
.aw-stat.orange { border-top-color: var(--orange); }
.aw-stat.red    { border-top-color: var(--red); }
.aw-stat.crimson { border-top-color: var(--crimson); }
.aw-stat-label  { font-size: 0.48rem; color: var(--muted); line-height: 1.3; margin-bottom: 2px; }
.aw-stat-val    { font-size: 0.9rem; font-weight: 800; color: var(--dark); }
.aw-stat-val.sm { font-size: 0.72rem; }
.aw-sub-title {
    font-size: 0.56rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: 8px;
}
.aw-chart-area {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}
.aw-chart-area.sm { gap: 6px; }
.aw-donut { flex-shrink: 0; }
.aw-legend {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.aw-leg {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.48rem;
    color: var(--muted);
}
.aw-leg b { margin-left: auto; color: var(--dark); font-weight: 700; }
.ld {
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}
.ld.green  { background: var(--green); }
.ld.orange { background: var(--orange); }
.ld.red    { background: #EF4444; }
.ld.gray   { background: var(--muted); }
.ld.blue   { background: var(--blue); }
.ld.purple { background: var(--purple); }
.aw-upcoming { flex-shrink: 0; min-width: 85px; }
.aw-up-title {
    font-size: 0.48rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 4px;
}
.aw-up-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.47rem;
    color: var(--muted);
    padding: 2px 0;
    border-bottom: 1px solid var(--border);
}
.aw-up-row b { color: var(--dark); font-weight: 700; }

/* Dashboard table */
.aw-table {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    font-size: 0.47rem;
    margin-top: 10px;
}
.aw-thead, .aw-trow {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 0.8fr 1fr 0.8fr;
    gap: 3px;
    padding: 4px 8px;
}
.aw-thead {
    background: var(--light);
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    font-size: 0.42rem;
    letter-spacing: .3px;
}
.aw-trow { border-bottom: 1px solid #F3F4F6; color: var(--body); }
.aw-trow:last-child { border-bottom: none; }
.aw-trow span:first-child { font-weight: 600; color: var(--dark); }
.tbl-link { color: var(--red); font-weight: 600; cursor: pointer; }

/* Small app window overrides */
.aw-mini-chart { flex: 1; min-width: 0; }
.mc-title {
    font-size: 0.49rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 5px;
}
.mc-row {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.44rem;
    color: var(--muted);
    margin-bottom: 4px;
}
.mc-row span { width: 68px; flex-shrink: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-bar { height: 4px; border-radius: 2px; }
.mc-row b { color: var(--dark); font-size: 0.46rem; white-space: nowrap; }

/* ===================================================================
   HEALTH STATUS SECTION
   ================================================================= */
/* Pattern: dot grid */
.health-section {
    padding: 40px 0;
    background-color: #F3F4F6;
    background-image: radial-gradient(circle, rgba(204,41,41,.12) 1.5px, transparent 1.5px);
    background-size: 22px 22px;
}
.status-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 14px;
}
.status-card {
    background: #fff;
    border-radius: var(--r);
    padding: 18px 14px;
    display: flex;
    align-items: center;
    gap: 11px;
    box-shadow: var(--sh);
    border: 1px solid var(--border);
    transition: transform .2s, box-shadow .2s;
}
.status-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.st-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.st-icon.green  { background: var(--green-lt);  color: var(--green); }
.st-icon.orange { background: var(--orange-lt); color: var(--orange); }
.st-icon.red    { background: var(--red-light); color: var(--red); }
.st-icon.crimson { background: var(--crimson-lt); color: var(--crimson); }
.st-icon.blue   { background: var(--blue-lt);   color: var(--blue); }
.st-icon.purple { background: var(--purple-lt); color: var(--purple); }
.st-icon.gray   { background: #F3F4F6; color: var(--muted); }
.st-label { font-size: 0.73rem; color: var(--muted); font-weight: 500; margin-bottom: 2px; }
.st-count { font-size: 1.35rem; font-weight: 900; color: var(--dark); letter-spacing: -0.02em; }

/* ===================================================================
   FEATURES SECTION
   ================================================================= */
.features-section {
    padding: 52px 0;
    background-color: var(--grey-bg);
    background-image: var(--diamond-pattern);
    background-size: 28px 28px;
}
.features-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    gap: 28px;
    align-items: center;
    margin-top: 20px;
}
.features-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.features-center { align-self: stretch; display: flex; align-items: center; }
.features-banner-img { width: 100%; height: auto; display: block; border-radius: 14px; box-shadow: var(--sh-lg); }
.feature-card {
    padding: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r);
    display: flex;
    gap: 12px;
    align-items: flex-start;
    transition: box-shadow .2s, border-color .2s;
    cursor: default;
}
.feature-card:hover { box-shadow: var(--sh-md); border-color: var(--red-mid); }
.fc-icon {
    width: 38px; height: 38px;
    background: var(--red-light);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--red);
    font-size: 0.9rem;
    flex-shrink: 0;
}
.fc-text h4 { font-size: 0.82rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; line-height: 1.3; }
.fc-text p  { font-size: 0.75rem; color: var(--muted); line-height: 1.55; }

/* ===================================================================
   ISO REPORTS SECTION
   ================================================================= */
/* Pattern: diamond grid (two diagonal line sets crossing at 45°) */
.iso-section {
    padding: 52px 0;
    background: #fff;
}
.iso-layout {
    display: grid;
    grid-template-columns: 1fr 268px;
    gap: 36px;
    align-items: start;
}
.iso-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.iso-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 13px 14px;
    background: #fff;
    border-radius: 9px;
    border: 1px solid var(--border);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--body);
    transition: box-shadow .2s, border-color .2s;
    cursor: pointer;
}
.iso-item:hover { box-shadow: var(--sh); border-color: var(--red-mid); }
.iso-item i { color: var(--red); font-size: 0.88rem; flex-shrink: 0; margin-top: 1px; }

.iso-cta-card {
    background: #fff;
    border-radius: 14px;
    padding: 20px 18px;
    box-shadow: var(--sh-md);
    border: 1px solid var(--border);
    text-align: center;
    position: sticky;
    top: 90px;
}
.iso-cta-illustration {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}
.iso-doc-icon {
    position: relative;
    display: inline-flex;
}
.iso-doc-icon > i { font-size: 3.2rem; color: var(--orange); }
.iso-badge-icon {
    position: absolute;
    bottom: -4px; right: -8px;
    background: var(--green);
    color: #fff;
    border-radius: 50%;
    width: 22px; height: 22px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.65rem;
    border: 2px solid #fff;
}
.iso-cta-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.35;
}
.iso-cta-card p {
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 20px;
    line-height: 1.65;
}

/* ===================================================================
   SOC 2 SECTION
   ================================================================= */
.soc2-section {
    padding: 52px 0;
    background-color: var(--grey-bg);
    background-image: var(--diamond-pattern);
    background-size: 28px 28px;
}
.soc2-doc-icon > i { font-size: 3.2rem; color: var(--blue); }
.soc2-item:hover { box-shadow: var(--sh); border-color: #93C5FD; }
.soc2-item i { color: var(--blue); font-size: 0.88rem; flex-shrink: 0; margin-top: 1px; }

/* ===================================================================
   RISK SECTION
   ================================================================= */
.risk-section {
    padding: 52px 0;
    background: #fff;
}
.risk-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 36px;
    align-items: center;
    margin-top: 20px;
}
.risk-banner-img { width: 100%; height: auto; display: block; border-radius: 14px; box-shadow: var(--sh-lg); }
.risk-list { display: flex; flex-direction: column; align-self: stretch; justify-content: center; }
.risk-row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
}
.risk-row:last-child { border-bottom: none; }
.rr-dot {
    width: 11px; height: 11px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
}
.rr-dot.blue    { background: var(--blue); }
.rr-dot.green   { background: var(--green); }
.rr-dot.orange  { background: var(--orange); }
.rr-dot.red     { background: #EF4444; }
.rr-dot.crimson { background: var(--crimson); }
.rr-dot.amber   { background: #D97706; }
.rr-dot.teal    { background: #0D9488; }
.rr-dot.fire    { background: #DC2626; }
.rr-dot.yellow  { background: var(--yellow); }
.rr-dot.indigo  { background: #4F46E5; }
.rr-body h4 { font-size: 0.88rem; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.rr-body p  { font-size: 0.78rem; color: var(--muted); line-height: 1.5; }

/* ===================================================================
   WORKFLOW SECTION
   ================================================================= */
/* Pattern: square grid */
.workflow-section {
    padding: 52px 0;
    background-color: var(--grey-bg);
    background-image: var(--diamond-pattern);
    background-size: 28px 28px;
}

.workflow-section .section-header p { max-width: none; white-space: nowrap; }
.wf-phases { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }

/* Phase header row */
.wf-phase-head { display: flex; align-items: center; gap: 14px; }
.wf-phase-tag {
    font-size: 0.72rem; font-weight: 700; padding: 4px 12px;
    border-radius: 20px; white-space: nowrap; flex-shrink: 0;
}
.wf-tag-green { background: #DCFCE7; color: #16A34A; border: 1px solid #BBF7D0; }
.wf-tag-red   { background: var(--red-light); color: var(--red); border: 1px solid var(--red-mid); }
.wf-phase-title { font-size: 0.88rem; font-weight: 700; color: var(--dark); white-space: nowrap; }
.wf-phase-hr { flex: 1; height: 1px; background: var(--border); }

/* Step cards row */
.wf-row-cards { display: flex; align-items: stretch; }

.wf-step-card {
    flex: 1;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 14px 10px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    cursor: default;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.wf-step-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--border); }

.wf-step-num {
    position: absolute; top: 9px; left: 10px;
    font-size: 0.62rem; font-weight: 800; color: var(--muted);
    background: #F1F5F9; border: 1px solid var(--border);
    border-radius: 20px; padding: 1px 6px; line-height: 1.6;
}
.wf-step-icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; margin-top: 6px;
}
.wf-step-icon.p1 { background: #DCFCE7; color: #16A34A; border: 1.5px solid #BBF7D0; }
.wf-step-icon.p2 { background: #FFF7ED; color: #F97316; border: 1.5px solid #FED7AA; }
.wf-step-name { font-size: 0.73rem; font-weight: 600; color: var(--dark); text-align: center; line-height: 1.4; }

/* Final step */
.wf-step-final { border-color: var(--red-mid); background: var(--red-light); }
.wf-step-final:hover { border-color: var(--red); }
.wf-num-final { background: var(--red) !important; color: #fff !important; border-color: var(--red) !important; }
.wf-icon-final { background: var(--red) !important; color: #fff !important; border-color: var(--red) !important; }
.wf-step-final .wf-step-name { color: var(--red); font-weight: 700; }

/* Arrow between steps */
.wf-arrow-icon { color: #CBD5E1; font-size: 0.65rem; flex-shrink: 0; padding: 0 6px; align-self: center; margin-top: 6px; }

/* Phase divider */
.wf-divider { display: flex; align-items: center; gap: 16px; padding: 2px 0; }
.wf-div-line { flex: 1; border-top: 2px dashed #CBD5E1; }
.wf-div-badge {
    display: flex; align-items: center; gap: 8px;
    background: #FFF7ED; border: 1.5px solid #FED7AA;
    border-radius: 20px; padding: 7px 18px;
    font-size: 0.78rem; font-weight: 600; color: #9A3412;
    white-space: nowrap;
}
.wf-div-badge i { color: #F97316; }

/* ===================================================================
   BUILT FOR SECTION
   ================================================================= */
.built-section {
    padding: 52px 0;
    background: #fff;
}
.industry-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 16px;
}
.industry-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r);
    text-align: center;
    transition: box-shadow .2s, border-color .2s, transform .2s;
    cursor: pointer;
}
.industry-card:hover {
    box-shadow: var(--sh-md);
    border-color: var(--red-mid);
    transform: translateY(-2px);
}
.ind-icon {
    width: 56px; height: 56px;
    background: var(--red-light);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    color: var(--red);
    transition: .2s;
}
.industry-card:hover .ind-icon { background: var(--red); color: #fff; }
.industry-card span { font-size: 0.78rem; font-weight: 600; color: var(--dark); line-height: 1.4; }

/* ===================================================================
   PRICING SECTION
   ================================================================= */
/* Pattern: diagonal stripes */
.pricing-section {
    padding: 52px 0 64px;
    background-color: var(--grey-bg);
    background-image: var(--diamond-pattern);
    background-size: 28px 28px;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

/* Card shell */
.price-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--sh-md);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow .25s, transform .25s;
}
.price-card:hover { box-shadow: var(--sh-lg); transform: translateY(-5px); }
.price-card.featured { border-color: var(--red); box-shadow: 0 0 0 2px var(--red), var(--sh-lg); }

/* Coloured header band */
.pc-header {
    padding: 26px 26px 22px;
    position: relative;
}
.pc-header-starter    { background: #F1F5F9; }
.pc-header-pro        { background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 100%); }
.pc-header-enterprise { background: var(--dark); }

/* Plan icon */
.pc-plan-icon {
    width: 42px; height: 42px;
    border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    margin-bottom: 14px;
}
.pc-header-starter    .pc-plan-icon { background: #fff; color: var(--body); box-shadow: var(--sh); }
.pc-header-pro        .pc-plan-icon { background: rgba(255,255,255,.2); color: #fff; }
.pc-header-enterprise .pc-plan-icon { background: rgba(255,255,255,.12); color: #fff; }

/* Plan name */
.pc-name {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 5px;
}
.pc-header-starter    .pc-name { color: var(--dark); }
.pc-header-pro        .pc-name,
.pc-header-enterprise .pc-name { color: #fff; }

/* Description */
.pc-desc {
    font-size: 0.81rem;
    line-height: 1.55;
    margin-bottom: 16px;
}
.pc-header-starter    .pc-desc { color: var(--muted); }
.pc-header-pro        .pc-desc { color: rgba(255,255,255,.78); }
.pc-header-enterprise .pc-desc { color: rgba(255,255,255,.6); }

/* Client count badge */
.pc-client-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 13px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
}
.pc-header-starter    .pc-client-badge { background: #fff; color: var(--dark); box-shadow: var(--sh); }
.pc-header-pro        .pc-client-badge { background: rgba(255,255,255,.22); color: #fff; }
.pc-header-enterprise .pc-client-badge { background: rgba(255,255,255,.1); color: rgba(255,255,255,.9); }

/* Most popular badge */
.pc-popular {
    position: absolute;
    top: 14px; right: 14px;
    background: rgba(255,255,255,.95);
    color: var(--red);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: var(--sh);
}

/* Card body */
.pc-body {
    padding: 22px 26px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.pc-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
    flex: 1;
}
.pc-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.83rem;
    color: var(--body);
}
.pc-features li i { color: var(--green); font-size: 0.78rem; flex-shrink: 0; }
.pc-trial {
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px dashed var(--border);
    color: var(--blue) !important;
    font-weight: 600 !important;
}
.pc-trial i { color: var(--blue) !important; }

/* ===================================================================
   CONTACT SECTION
   ================================================================= */
.contact-section {
    padding: 52px 0;
    background: #fff;
}
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.45fr;
    gap: 64px;
    align-items: center;
}
.contact-left h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.contact-left > p { color: var(--muted); margin-bottom: 20px; font-size: 0.95rem; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.ci-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--body);
}
.ci-icon {
    width: 38px; height: 38px;
    background: var(--red-light);
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    color: var(--red);
    font-size: 0.88rem;
    flex-shrink: 0;
}
.ci-row a { color: var(--body); text-decoration: none; transition: color .18s; }
.ci-row a:hover { color: var(--red); }

/* Form */
.contact-right {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: var(--sh-md);
    border: 1px solid var(--border);
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-group { display: flex; flex-direction: column; }
.cf-group input,
.cf-group textarea {
    padding: 12px 15px;
    border: 1.5px solid var(--border);
    border-radius: 9px;
    font-size: 0.88rem;
    font-family: inherit;
    color: var(--dark);
    background: var(--light);
    transition: border-color .18s, box-shadow .18s, background .18s;
    resize: vertical;
    width: 100%;
}
.cf-group input:focus,
.cf-group textarea:focus {
    outline: none;
    border-color: var(--red);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(204,41,41,.09);
}
.cf-group input::placeholder,
.cf-group textarea::placeholder { color: #9CA3AF; }
.cf-footer { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.cf-note {
    font-size: 0.78rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
}
.cf-note i { color: var(--orange); }

/* ===================================================================
   CITIES WE SERVE SECTION
   ================================================================= */
.cities-section {
    padding: 52px 0;
    background-color: var(--grey-bg);
    background-image: var(--diamond-pattern);
    background-size: 28px 28px;
}
.cities-tiers {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.cities-tier-row {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}
.cities-tier-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    color: var(--muted);
    min-width: 148px;
    padding-top: 6px;
    flex-shrink: 0;
}
.cities-tier-label i { color: var(--red); font-size: 0.78rem; }
.cities-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.cities-chips span {
    display: inline-block;
    padding: 5px 13px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--body);
    transition: border-color .18s, color .18s;
    cursor: default;
}
.cities-chips span:hover { border-color: var(--red-mid); color: var(--red); }

/* ===================================================================
   FOOTER
   ================================================================= */
.footer {
    background: linear-gradient(160deg, #0D1B2A 0%, #12243A 55%, #0D1B2A 100%);
    color: rgba(255,255,255,.7);
    padding: 0 0 0;
    position: relative;
}
.footer-accent-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--red) 0%, #FF6B35 60%, var(--red) 100%);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.1fr 1.6fr;
    gap: 44px;
    padding: 40px 0 32px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    align-items: start;
}
.footer-logo .logo-text { color: #fff; }
.footer-logo .logo-icon { background: var(--red); }
.footer-brand p {
    font-size: 0.82rem;
    color: rgba(255,255,255,.48);
    margin: 18px 0 24px;
    line-height: 1.8;
    max-width: 280px;
}
.social-links { display: flex; gap: 8px; flex-wrap: wrap; }
.social-links a {
    width: 36px; height: 36px;
    border-radius: 9px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.55);
    font-size: 0.8rem;
    text-decoration: none;
    transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.social-links a:hover {
    color: #fff;
    transform: translateY(-2px);
}
.social-links a[aria-label="LinkedIn"]:hover  { background: #0A66C2; border-color: #0A66C2; box-shadow: 0 4px 12px rgba(10,102,194,.4); }
.social-links a[aria-label="Instagram"]:hover { background: #E1306C; border-color: #E1306C; box-shadow: 0 4px 12px rgba(225,48,108,.4); }
.social-links a[aria-label="Facebook"]:hover  { background: #1877F2; border-color: #1877F2; box-shadow: 0 4px 12px rgba(24,119,242,.4); }
.social-links a[aria-label="YouTube"]:hover   { background: #FF0000; border-color: #FF0000; box-shadow: 0 4px 12px rgba(255,0,0,.4); }

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--red);
    display: inline-block;
}
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-col ul li { font-size: 0.82rem; }
.footer-col ul li a {
    color: rgba(255,255,255,.5);
    text-decoration: none;
    transition: color .18s, padding-left .18s;
    display: inline-block;
}
.footer-col ul li a:hover { color: #fff; padding-left: 4px; }
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: rgba(255,255,255,.5);
    font-size: 0.82rem;
    margin-bottom: 4px;
}
.footer-contact li i {
    color: var(--red);
    font-size: 0.85rem;
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}
.footer-contact li .footer-wa-icon {
    color: #25D366;
    font-size: 1rem;
}
.footer-contact li a { color: rgba(255,255,255,.5); text-decoration: none; transition: color .18s; }
.footer-contact li a:hover { color: #fff; }

.footer-map-col h4 { display: inline-block; }
.footer-map {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 4px 20px rgba(0,0,0,.4);
    margin-top: 4px;
}
.footer-map iframe { display: block; }

.footer-bottom {
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.78rem;
    color: rgba(255,255,255,.28);
}
.footer-tagline {
    font-size: 0.75rem;
    color: rgba(255,255,255,.2);
    letter-spacing: .04em;
}

/* ===================================================================
   RESPONSIVE BREAKPOINTS
   ================================================================= */

/* 1100px – narrow desktop */
@media (max-width: 1100px) {
    .industry-grid { grid-template-columns: repeat(4, 1fr); }
    .iso-grid      { grid-template-columns: repeat(3, 1fr); }
}

/* 960px – tablet landscape */
@media (max-width: 960px) {
    /* Nav → hamburger */
    .nav {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        position: fixed;
        top: 68px; left: 0; right: 0;
        background: #fff;
        padding: 16px 24px 20px;
        box-shadow: var(--sh-md);
        border-bottom: 1px solid var(--border);
        z-index: 999;
        gap: 2px;
    }
    .nav.open { display: flex; }
    .nav-link { padding: 10px 4px; font-size: 0.95rem; width: 100%; }
    .nav-link.active::after { left: 4px; right: 4px; bottom: 0; }
    .hamburger { display: flex; }
    .header-actions .btn { display: none; }

    /* Sections */
    .features-section,
    .iso-section,
    .risk-section,
    .workflow-section,
    .built-section,
    .pricing-section,
    .contact-section { padding: 48px 0; }

    /* Hero */
    .hero { padding: 92px 0 44px; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { display: none; }

    /* Features */
    .features-layout { grid-template-columns: 1fr; margin-top: 16px; }
    .features-center { display: none; }
    .features-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

    /* ISO */
    .iso-layout { grid-template-columns: 1fr; }
    .iso-grid { grid-template-columns: repeat(2, 1fr); }
    .iso-cta-card { position: static; max-width: 400px; }

    /* Risk */
    .risk-layout { grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 16px; }
    .risk-visual { display: none; }

    /* Workflow */
    .workflow-section .section-header p { white-space: normal; }
    .wf-row-cards { flex-wrap: wrap; gap: 10px; }
    .wf-step-card { flex: 1 1 calc(25% - 10px); min-width: 110px; }
    .wf-arrow-icon { display: none; }

    /* Industry */
    .industry-grid { grid-template-columns: repeat(4, 1fr); }

    /* Pricing */
    .pricing-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .price-card { padding: 24px 18px; }
    .price-card.featured { transform: none; }

    /* Contact */
    .contact-layout { grid-template-columns: 1fr; gap: 28px; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-map-col { grid-column: 1 / -1; }
    .footer-map iframe { height: 200px; }
}

/* 768px – tablet portrait */
@media (max-width: 768px) {
    .features-section,
    .iso-section,
    .risk-section,
    .workflow-section,
    .built-section,
    .pricing-section,
    .contact-section { padding: 40px 0; }
    .section-header { margin-bottom: 20px; }
    .section-header h2 { font-size: clamp(1.35rem, 4vw, 1.8rem); }
    .section-header.center p { font-size: 0.88rem; }

    .hero { padding: 88px 0 36px; }
    .hero-badges { gap: 8px; }

    /* Risk → single column */
    .risk-layout { grid-template-columns: 1fr; }

    /* Industry */
    .industry-grid { grid-template-columns: repeat(3, 1fr); }

    /* Pricing → single column */
    .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }

    /* Workflow */
    .wf-step-card { flex: 1 1 calc(33.33% - 10px); }
    .wf-phase-title { font-size: 0.82rem; }
    .wf-div-badge { font-size: 0.72rem; padding: 6px 14px; }

    /* Contact */
    .contact-right { padding: 22px 18px; }
}

/* 600px – large mobile */
@media (max-width: 600px) {
    .hero { padding: 80px 0 32px; }
    .hero-title { font-size: 1.8rem; }
    .hero-sub { font-size: 0.92rem; }
    .hero-cta { flex-direction: column; gap: 10px; }
    .hero-cta .btn-lg { width: 100%; justify-content: center; }
    .hero-badge { padding: 12px 14px; font-size: 0.78rem; }

    /* Features → single column */
    .features-col { grid-template-columns: 1fr; }

    /* ISO */
    .iso-grid { grid-template-columns: 1fr; }
    .iso-cta-card { max-width: 100%; }

    /* Workflow */
    .wf-step-card { flex: 1 1 calc(33.33% - 10px); min-width: 90px; }
    .wf-phase-head { flex-wrap: wrap; gap: 8px; }
    .wf-phase-hr { display: none; }
    .wf-div-badge { flex-wrap: wrap; justify-content: center; text-align: center; white-space: normal; }
    .wf-step-name { font-size: 0.7rem; }

    /* Industry */
    .industry-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .industry-card { padding: 14px 8px; }
    .ind-icon { width: 44px; height: 44px; font-size: 1.1rem; }

    /* Contact */
    .cf-row { grid-template-columns: 1fr; }
    .cf-footer { flex-direction: column; align-items: stretch; gap: 10px; }
    .cf-footer .btn { width: 100%; justify-content: center; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-brand p { max-width: 100%; }
    .footer-map-col { grid-column: auto; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 4px; }
}

/* 480px – small mobile */
@media (max-width: 480px) {
    .container { padding: 0 16px; }

    .hero { padding: 76px 0 28px; }
    .hero-title { font-size: 1.6rem; }
    .hero-desc { font-size: 0.84rem; }
    .hero-badge { padding: 10px 12px; font-size: 0.75rem; }
    .hero-badge i { font-size: 0.95rem; }

    .section-header h2 { font-size: 1.3rem; }

    .feature-card { padding: 13px; }
    .fc-icon { width: 34px; height: 34px; font-size: 0.82rem; }

    .iso-item { padding: 11px 12px; font-size: 0.78rem; }

    .industry-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }

    .wf-step-card { flex: 1 1 calc(50% - 8px); min-width: 80px; }
    .wf-step-icon { width: 42px; height: 42px; font-size: 1rem; }
    .wf-step-name { font-size: 0.66rem; }

    .price-card { padding: 22px 16px; }

    .contact-right { padding: 18px 14px; }

    .demo-modal-body iframe { height: 480px; }
}

/* 360px – extra-small mobile */
@media (max-width: 360px) {
    .container { padding: 0 12px; }
    .hero-title { font-size: 1.4rem; }
    .hero-cta .btn-lg { font-size: 0.88rem; padding: 12px 18px; }
    .industry-grid { grid-template-columns: repeat(2, 1fr); }
    .wf-step-card { flex: 1 1 calc(50% - 8px); }
    .nav-link { font-size: 0.9rem; }
    .logo-img { height: 34px; }
}

/* ===================================================================
   DEMO SCHEDULER MODAL
   ================================================================= */
.demo-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.demo-modal.open { display: flex; }

.demo-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.demo-modal-box {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 780px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
    overflow: hidden;
    animation: modalIn .22s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(16px) scale(.97); }
    to   { opacity: 1; transform: translateY(0)   scale(1);    }
}

.demo-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.demo-modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
}

.gcal-icon { flex-shrink: 0; }

.demo-modal-close {
    width: 32px; height: 32px;
    border: none;
    background: var(--light);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 0.95rem;
    transition: background .18s, color .18s;
    flex-shrink: 0;
}
.demo-modal-close:hover { background: var(--red-light); color: var(--red); }

.demo-modal-body {
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

.demo-modal-body iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

@media (max-width: 700px) {
    .demo-modal-box { max-height: 95vh; border-radius: 12px; }
    .demo-modal-body iframe { height: 520px; }
}
