/* =============================================
   Kurjers Rīgā — Global Stylesheet
   Brand: Navy #1a2b5e | Red #cc1b2b
   ============================================= */

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

:root {
  --navy:        #1a2b5e;
  --navy-med:    #1e3268;
  --navy-light:  #263d7a;
  --red:         #cc1b2b;
  --red-dark:    #a51522;
  --bg:          #f4f6f9;
  --white:       #ffffff;
  --text:        #0d1b2a;
  --text-med:    #4a5568;
  --border:      #dde3ed;
  --green:       #2d7a4f;
  --radius:      10px;
  --radius-lg:   16px;
  --shadow:      0 2px 12px rgba(26,43,94,0.10);
  --shadow-lg:   0 6px 30px rgba(26,43,94,0.15);
  --transition:  0.2s ease;
  --max-w:       1200px;
  --font:        'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* NOTIFICATION BAR */
.notif-bar { background: var(--red); color: #fff; text-align: center; padding: 10px 20px; font-size: 0.92rem; font-weight: 500; position: relative; z-index: 1001; line-height: 1.5; }
.notif-bar strong { font-weight: 800; }
.notif-pulse { display: inline-block; width: 8px; height: 8px; background: #fff; border-radius: 50%; vertical-align: middle; margin-right: 8px; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.7); } }

/* HEADER & NAV */
.site-header { background: var(--white); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 16px rgba(26,43,94,0.12); border-bottom: 3px solid var(--red); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0 24px; max-width: var(--max-w); margin: 0 auto; height: 68px; gap: 16px; position: relative; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 46px; width: auto; }
.main-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-list > li { position: relative; }
.nav-list > li > a { display: block; padding: 10px 14px; color: var(--navy); font-weight: 600; font-size: 0.92rem; border-radius: 6px; transition: background var(--transition), color var(--transition); white-space: nowrap; cursor: pointer; }
.nav-list > li > a:hover { background: var(--bg); color: var(--navy-light); }
.nav-cta { background: var(--red) !important; color: #fff !important; font-weight: 700 !important; padding: 9px 18px !important; border-radius: 8px !important; margin-left: 8px; }
.nav-cta:hover { background: var(--red-dark) !important; }
.has-dropdown { position: relative; }
.dropdown { position: absolute; top: calc(100% + 4px); left: 0; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); min-width: 260px; padding: 6px 0; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all 0.18s ease; border: 1px solid var(--border); list-style: none; z-index: 200; }
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a { display: block; padding: 10px 18px; color: var(--text); font-size: 0.9rem; transition: background var(--transition), color var(--transition); }
.dropdown li a:hover { background: var(--bg); color: var(--navy); }
.menu-toggle { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; width: 40px; height: 40px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.2s ease; }

@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy); padding: 12px 16px 20px; box-shadow: 0 8px 24px rgba(0,0,0,0.3); flex-direction: column; align-items: stretch; }
  .main-nav.open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
  .nav-list > li > a { padding: 12px 16px; color: rgba(255,255,255,0.88); }
  .nav-list > li > a:hover { background: rgba(255,255,255,0.10); color: #fff; }
  .has-dropdown .dropdown { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; background: rgba(255,255,255,0.06); border: none; border-radius: 6px; display: none; padding: 4px 0; }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown li a { color: rgba(255,255,255,0.8); padding: 9px 20px; font-size: 0.88rem; }
  .dropdown li a:hover { background: rgba(255,255,255,0.1); color: #fff; }
  .nav-cta { margin-top: 8px; text-align: center; margin-left: 0; }
}

/* HERO */
.hero { background: url('../img/hero_bg.jpg') center/cover no-repeat; position: relative; padding: 80px 0 72px; color: #fff; overflow: hidden; }
.hero::after { content: ''; position: absolute; top: -120px; right: -120px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(204,27,43,0.12) 0%, transparent 65%); pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero-split { display: grid; grid-template-columns: 1fr 520px; gap: 48px; align-items: center; }
@media (max-width: 960px) { .hero-split { grid-template-columns: 1fr; gap: 40px; } .hero { padding: 56px 0 60px; } }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(204,27,43,0.18); border: 1px solid rgba(204,27,43,0.45); color: #ff8a93; padding: 6px 16px; border-radius: 50px; font-size: 0.82rem; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.05em; }
.hero h1 { font-size: clamp(1.8rem, 3.8vw, 3rem); font-weight: 800; line-height: 1.15; margin-bottom: 18px; color: #fff; }
.hero-lead { font-size: clamp(0.97rem, 1.8vw, 1.1rem); color: rgba(255,255,255,0.82); margin-bottom: 28px; line-height: 1.7; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-bottom: 28px; }
.hero-trust span { color: rgba(255,255,255,0.85); font-size: 0.88rem; font-weight: 500; display: flex; align-items: center; gap: 5px; }
.hero-response-box { display: flex; align-items: flex-start; gap: 14px; background: rgba(204,27,43,0.12); border: 1px solid rgba(204,27,43,0.35); border-radius: var(--radius); padding: 16px 20px; margin-top: 8px; }
.hrb-icon { font-size: 1.8rem; flex-shrink: 0; }
.hero-response-box strong { color: #ff8a93; font-size: 1rem; display: block; margin-bottom: 4px; }
.hero-response-box p { color: rgba(255,255,255,0.78); font-size: 0.88rem; line-height: 1.5; margin: 0; }
.hero-form-box { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.35); }
.hfb-header { background: var(--navy); padding: 22px 28px 18px; color: #fff; }
.hfb-badge { display: inline-block; background: var(--red); color: #fff; font-size: 0.78rem; font-weight: 800; padding: 4px 12px; border-radius: 50px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.05em; }
.hfb-header h2 { font-size: 1.2rem; font-weight: 800; color: #fff; margin-bottom: 5px; }
.hfb-header p { color: rgba(255,255,255,0.72); font-size: 0.88rem; }
.hfb-header strong { color: #ff8a93; }
.hero-contact-form { padding: 24px 28px 20px; display: flex; flex-direction: column; gap: 14px; background: #fff; }
.hero-contact-form .form-group label { color: var(--text); font-size: 0.82rem; font-weight: 600; }
.hero-contact-form .form-group input, .hero-contact-form .form-group textarea, .hero-contact-form .form-group select { background: var(--bg); border: 1.5px solid var(--border); color: var(--text); border-radius: 7px; padding: 10px 14px; font-size: 0.95rem; font-family: inherit; outline: none; transition: border var(--transition); width: 100%; }
.hero-contact-form .form-group input::placeholder, .hero-contact-form .form-group textarea::placeholder { color: #aab; }
.hero-contact-form .form-group input:focus, .hero-contact-form .form-group textarea:focus, .hero-contact-form .form-group select:focus { border-color: var(--navy); background: #fff; }
.hero-contact-form .form-group textarea { min-height: 80px; resize: vertical; }
.hero-contact-form .form-note { color: var(--text-med); font-size: 0.73rem; text-align: center; margin-top: -6px; }
.hero-contact-form .form-checkbox { color: var(--text-med); }
.hero-contact-form .form-success { background: rgba(45,122,79,0.12); border: 1px solid rgba(45,122,79,0.4); border-radius: var(--radius); padding: 14px 18px; color: var(--green); text-align: center; font-size: 0.92rem; }
.hero-contact-form .form-error-msg { background: rgba(204,27,43,0.08); border: 1px solid rgba(204,27,43,0.25); border-radius: var(--radius); padding: 12px 16px; color: var(--red); text-align: center; font-size: 0.88rem; }

/* BUTTONS */
.btn-primary { background: var(--red); color: #fff; padding: 14px 32px; border-radius: 8px; font-weight: 700; font-size: 1rem; transition: background var(--transition), transform var(--transition), box-shadow var(--transition); display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 4px 16px rgba(204,27,43,0.30); border: none; cursor: pointer; text-decoration: none; }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(204,27,43,0.40); }
.btn-outline { background: transparent; color: #fff; padding: 14px 32px; border-radius: 8px; font-weight: 600; font-size: 1rem; border: 2px solid rgba(255,255,255,0.4); transition: all var(--transition); display: inline-flex; align-items: center; gap: 8px; cursor: pointer; text-decoration: none; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-outline-light { padding: 13px 28px; border-radius: 8px; font-weight: 700; font-size: 0.95rem; border: 2px solid rgba(255,255,255,0.5); color: #fff; background: transparent; text-decoration: none; transition: all 0.2s; }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* SECTIONS */
.section { padding: 72px 0; }
.section-alt { background: var(--white); }
.section-dark { background: var(--navy); color: #fff; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-header h2 { font-size: clamp(1.5rem, 3.5vw, 2.3rem); font-weight: 800; color: var(--navy); line-height: 1.25; margin-bottom: 14px; }
.section-header p { color: var(--text-med); font-size: 1rem; line-height: 1.6; }

/* GRIDS & CARDS */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--white); border-radius: var(--radius-lg); padding: 28px 24px; box-shadow: var(--shadow); border: 1px solid var(--border); transition: transform var(--transition), box-shadow var(--transition); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon { font-size: 2rem; margin-bottom: 16px; display: block; }
.card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.35; }
.card h3 a { color: var(--navy); }
.card h3 a:hover { color: var(--navy-light); text-decoration: underline; }
.card p { color: var(--text-med); font-size: 0.93rem; line-height: 1.6; }
.card-link { display: inline-flex; align-items: center; gap: 4px; color: var(--red); font-weight: 600; font-size: 0.88rem; margin-top: 14px; border-bottom: 2px solid var(--red); padding-bottom: 2px; transition: color var(--transition); }
.card-link:hover { color: var(--red-dark); }
.feature-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px 22px; box-shadow: var(--shadow); border: 1px solid var(--border); text-align: center; }
.feature-icon { font-size: 2.2rem; margin-bottom: 14px; display: block; }
.feature-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.feature-card p { color: var(--text-med); font-size: 0.9rem; line-height: 1.6; }

/* STEPS */
.steps { display: flex; gap: 0; flex-wrap: wrap; }
.step { flex: 1; min-width: 200px; text-align: center; padding: 32px 20px; position: relative; }
.step:not(:last-child)::after { content: '→'; position: absolute; right: -12px; top: 42px; font-size: 1.4rem; color: var(--red); }
.step-num { width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: #fff; font-size: 1.2rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.step h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: 0.88rem; color: var(--text-med); }
@media (max-width: 700px) { .step::after { display: none; } }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; background: var(--white); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 1rem; font-weight: 600; color: var(--navy); font-family: inherit; transition: background var(--transition); }
.faq-q:hover { background: var(--bg); }
.faq-arrow { font-size: 1rem; color: var(--red); transition: transform 0.25s; flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 24px 20px; color: var(--text-med); line-height: 1.7; font-size: 0.95rem; }
.faq-a a { color: var(--navy); text-decoration: underline; }
.faq-item.open .faq-a { display: block; }

/* CONTACT FORM (dark bg version) */
.form-section { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); color: #fff; padding: 72px 0; }
.form-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
@media (max-width: 900px) { .form-inner { grid-template-columns: 1fr; gap: 36px; } }
.form-text h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; color: #fff; margin-bottom: 14px; }
.form-text p { color: rgba(255,255,255,0.78); margin-bottom: 24px; line-height: 1.7; }
.form-benefits { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.form-benefits li { color: rgba(255,255,255,0.82); font-size: 0.95rem; display: flex; align-items: center; gap: 8px; }
.form-box { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-lg); padding: 32px 28px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.82); }
.form-group input, .form-group textarea, .form-group select { background: rgba(255,255,255,0.1); border: 1.5px solid rgba(255,255,255,0.2); border-radius: 8px; padding: 12px 16px; color: #fff; font-size: 0.97rem; font-family: inherit; transition: border var(--transition), background var(--transition); outline: none; width: 100%; }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.4); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--red); background: rgba(255,255,255,0.14); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select option { background: var(--navy); color: #fff; }
.form-submit { font-size: 1.05rem; padding: 15px; justify-content: center; }
.form-note { font-size: 0.76rem; color: rgba(255,255,255,0.45); text-align: center; margin-top: -4px; }
.form-success { background: rgba(45,122,79,0.25); border: 1px solid rgba(45,122,79,0.5); border-radius: var(--radius); padding: 18px 20px; color: #fff; text-align: center; margin-top: 8px; }
.form-error-msg { background: rgba(204,27,43,0.2); border: 1px solid rgba(204,27,43,0.4); border-radius: var(--radius); padding: 14px 18px; color: #ffaaaa; text-align: center; font-size: 0.9rem; margin-top: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 580px) { .form-row { grid-template-columns: 1fr; } }
.form-radio-group { display: flex; gap: 12px; flex-wrap: wrap; }
.form-radio-group label { display: flex; align-items: center; gap: 6px; cursor: pointer; font-size: 0.9rem; color: rgba(255,255,255,0.82); }
.form-checkbox { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 0.85rem; color: rgba(255,255,255,0.72); line-height: 1.5; }
.form-checkbox input[type="checkbox"] { width: 18px; height: 18px; margin-top: 1px; flex-shrink: 0; accent-color: var(--red); }

/* CONTACT FORM on light backgrounds (section pages) */
.section .contact-form .form-group label { color: var(--text); }
.section .contact-form .form-group input,
.section .contact-form .form-group textarea,
.section .contact-form .form-group select { background: #fff; border: 1.5px solid var(--border); color: var(--text); }
.section .contact-form .form-group input::placeholder,
.section .contact-form .form-group textarea::placeholder { color: #aab; }
.section .contact-form .form-group input:focus,
.section .contact-form .form-group textarea:focus,
.section .contact-form .form-group select:focus { border-color: var(--navy); background: #fff; }
.section .contact-form .form-group select option { background: #fff; color: var(--text); }
.section .contact-form .form-checkbox { color: var(--text-med); }

/* BREADCRUMB */
.breadcrumb { background: var(--white); padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 0.83rem; color: var(--text-med); }
.breadcrumb .container { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumb a { color: var(--navy); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }

/* PAGE HERO (interior pages) */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-med) 60%, var(--navy-light) 100%); color: #fff; padding: 64px 24px 60px; text-align: left; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -80px; right: -80px; width: 480px; height: 480px; background: radial-gradient(circle, rgba(204,27,43,0.12) 0%, transparent 70%); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(204,27,43,0.18); border: 1px solid rgba(204,27,43,0.4); color: #ff8a93; padding: 6px 16px; border-radius: 50px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 16px; }
.page-hero .hero-lead { font-size: 1.08rem; color: rgba(255,255,255,0.82); max-width: 700px; line-height: 1.7; margin-bottom: 28px; border: none; padding: 0; }
.page-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 36px; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 28px; }
.hero-stat-num { font-size: 1.8rem; font-weight: 800; color: #ff8a93; line-height: 1; display: block; }
.hero-stat-lbl { font-size: 0.8rem; color: rgba(255,255,255,0.65); margin-top: 4px; display: block; }

/* TRUST STRIP */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--border); padding: 18px 0; }
.trust-strip-inner { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-item-icon { font-size: 1.4rem; }
.trust-item-text strong { display: block; font-size: 0.88rem; font-weight: 700; color: var(--navy); }
.trust-item-text span { font-size: 0.78rem; color: var(--text-med); }

/* CONTENT INNER (sidebar layout) */
.content-inner { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
@media (max-width: 860px) { .content-inner { grid-template-columns: 1fr; } }
.content-main h2 { font-size: clamp(1.25rem, 2.5vw, 1.7rem); font-weight: 800; color: var(--navy); margin-top: 32px; margin-bottom: 14px; line-height: 1.3; }
.content-main h2:first-child { margin-top: 0; }
.content-main p { color: var(--text-med); margin-bottom: 16px; line-height: 1.7; font-size: 0.97rem; }
.content-main a { color: var(--navy); text-decoration: underline; }
.content-main a:hover { color: var(--navy-light); }
.content-main ul, .content-main ol { margin: 12px 0 20px 0; display: flex; flex-direction: column; gap: 10px; }
.content-main ul li, .content-main ol li { color: var(--text-med); font-size: 0.95rem; line-height: 1.6; padding-left: 4px; }
.content-main ul { list-style: disc; padding-left: 20px; }
.content-main ol { list-style: decimal; padding-left: 20px; }
.content-sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.sidebar-box h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--red); }
.sidebar-box ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.sidebar-box ul li { color: var(--text-med); font-size: 0.92rem; display: flex; align-items: center; gap: 8px; }
.sidebar-box ul li a { color: var(--navy); font-size: 0.92rem; transition: color var(--transition); }
.sidebar-box ul li a:hover { color: var(--red); text-decoration: underline; }
.sidebar-box p { color: var(--text-med); font-size: 0.9rem; line-height: 1.6; margin-bottom: 8px; }

/* COMPARISON TABLE */
.comparison-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 0.93rem; }
.comparison-table th { background: var(--navy); color: #fff; padding: 14px 18px; text-align: left; font-size: 0.95rem; font-weight: 700; }
.comparison-table th:first-child { border-radius: 10px 0 0 0; }
.comparison-table th:last-child { border-radius: 0 10px 0 0; }
.comparison-table td { padding: 13px 18px; border-bottom: 1px solid var(--border); background: var(--white); }
.comparison-table tr:hover td { background: var(--bg); }

/* FOOTER */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.70); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col { display: flex; flex-direction: column; gap: 0; }
.footer-logo { display: inline-block; margin-bottom: 14px; }
.footer-logo img { height: 44px; width: auto; filter: brightness(0) invert(1); }
.footer-col p { font-size: 0.87rem; line-height: 1.65; margin-bottom: 10px; }
.footer-col h4 { color: #fff; font-size: 0.87rem; font-weight: 700; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 0.87rem; color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer-col ul li a:hover { color: #ff8a93; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.10); padding: 18px 0; text-align: center; }
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.38); }
.footer-response { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: rgba(255,255,255,0.72); margin-top: 12px; }
.footer-response strong { color: #ff8a93; }
.fr-dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; flex-shrink: 0; animation: pulse 1.6s ease-in-out infinite; }

/* STICKY MOBILE CTA */
.sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--navy-med); padding: 10px 16px; box-shadow: 0 -3px 16px rgba(0,0,0,0.25); z-index: 999; gap: 10px; transform: translateY(100%); transition: transform 0.3s ease; }
@media (max-width: 680px) { .sticky-cta { display: flex; } body { padding-bottom: 64px; } }

/* RESPONSE BAR */
.response-bar { background: var(--navy); padding: 16px 0; }
.rb-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0; }
.rb-item { color: rgba(255,255,255,0.82); font-size: 0.88rem; padding: 6px 28px; display: flex; align-items: center; gap: 7px; }
.rb-item strong { color: #fff; }
.rb-divider { width: 1px; height: 22px; background: rgba(255,255,255,0.2); flex-shrink: 0; }
@media (max-width: 680px) { .rb-inner { flex-direction: column; gap: 6px; } .rb-divider { display: none; } }

/* MINI CTA BLOCK */
.mini-cta-block { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--navy); border-radius: var(--radius-lg); padding: 28px 36px; flex-wrap: wrap; }
.mcb-text strong { display: block; color: #fff; font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.mcb-text p { color: rgba(255,255,255,0.72); font-size: 0.92rem; margin: 0; }
.red-highlight { color: #ff8a93; font-weight: 700; }
@media (max-width: 580px) { .mini-cta-block { flex-direction: column; text-align: center; padding: 24px 20px; } }

/* TESTIMONIALS */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
@media (max-width: 860px) { .testimonials { grid-template-columns: 1fr; } }
.testimonial-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; position: relative; }
.testimonial-card::before { content: '"'; position: absolute; top: 12px; left: 20px; font-size: 4rem; color: var(--red); opacity: 0.2; line-height: 1; }
.stars { color: #f59e0b; font-size: 0.9rem; margin-bottom: 10px; }
.testimonial-card p { font-size: 0.9rem; color: var(--text); line-height: 1.65; margin: 0 0 14px; font-style: italic; }
.testimonial-author { font-size: 0.82rem; font-weight: 700; color: var(--navy); }

/* GUARANTEE STRIP */
.guarantee-strip { background: #f0fdf4; border: 1.5px solid #86efac; border-radius: var(--radius); padding: 24px 32px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 32px; }
.guarantee-icon { font-size: 2.4rem; flex-shrink: 0; }
.guarantee-text strong { display: block; font-size: 1.05rem; font-weight: 800; color: #15803d; margin-bottom: 4px; }
.guarantee-text p { font-size: 0.9rem; color: #166534; margin: 0; line-height: 1.5; }

/* SECTION LABEL */
.section-label { font-size: 0.78rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }

/* PRICE TABLE */
.price-table { width: 100%; border-collapse: collapse; margin-bottom: 32px; }
.price-table th { background: var(--navy); color: #fff; padding: 14px 20px; text-align: left; font-size: 0.93rem; font-weight: 700; }
.price-table th:first-child { border-radius: 10px 0 0 0; }
.price-table th:last-child { border-radius: 0 10px 0 0; text-align: right; }
.price-table td { padding: 14px 20px; border-bottom: 1px solid var(--border); background: var(--white); font-size: 0.93rem; color: var(--text-med); }
.price-table td:last-child { font-weight: 700; color: var(--navy); text-align: right; }
.price-table tr:hover td { background: var(--bg); }
.price-note { font-size: 0.82rem; color: var(--text-med); margin-top: -20px; margin-bottom: 28px; font-style: italic; }

/* UTILITY / LEGAL PAGES */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 1.3rem; font-weight: 700; color: var(--navy); margin: 32px 0 12px; }
.legal-content h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin: 24px 0 10px; }
.legal-content p { color: var(--text-med); line-height: 1.75; margin-bottom: 14px; font-size: 0.95rem; }
.legal-content ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.legal-content ul li { color: var(--text-med); font-size: 0.95rem; line-height: 1.6; }

/* =============================================
   SVG ICON SYSTEM
   ============================================= */

/* Base icon wrapper */
.icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon svg { display: block; }

/* Icon sizes */
.icon-sm svg  { width: 16px; height: 16px; }
.icon-md svg  { width: 22px; height: 22px; }
.icon-lg svg  { width: 32px; height: 32px; }
.icon-xl svg  { width: 48px; height: 48px; }

/* Icon colours */
.icon-navy  svg { stroke: var(--navy); }
.icon-red   svg { stroke: var(--red); }
.icon-white svg { stroke: #fff; }
.icon-muted svg { stroke: var(--text-med); }
.icon-pink  svg { stroke: #ff8a93; }

/* Card icon wrapper — replaces emoji .card-icon */
.card-icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 12px; background: rgba(26,43,94,0.07); margin-bottom: 18px; }
.card-icon svg { width: 26px; height: 26px; stroke: var(--navy); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Feature icon wrapper */
.feature-icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; background: rgba(26,43,94,0.07); margin: 0 auto 18px; }
.feature-icon svg { width: 28px; height: 28px; stroke: var(--navy); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Trust strip icon */
.trust-item-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(26,43,94,0.07); flex-shrink: 0; }
.trust-item-icon svg { width: 20px; height: 20px; stroke: var(--navy); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Hero response box icon */
.hrb-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(204,27,43,0.2); flex-shrink: 0; }
.hrb-icon svg { width: 22px; height: 22px; stroke: #ff8a93; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Guarantee icon */
.guarantee-icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: #dcfce7; flex-shrink: 0; }
.guarantee-icon svg { width: 26px; height: 26px; stroke: #16a34a; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Sidebar list icons */
.sidebar-box ul li .icon { width: 20px; height: 20px; border-radius: 6px; background: rgba(26,43,94,0.08); }
.sidebar-box ul li .icon svg { width: 12px; height: 12px; stroke: var(--navy); stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Page hero badge icon */
.page-hero-badge .icon svg, .hero-badge .icon svg { width: 14px; height: 14px; stroke: #ff8a93; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Notif bar icon */
.notif-icon { display: inline-flex; align-items: center; vertical-align: middle; margin-right: 6px; }
.notif-icon svg { width: 14px; height: 14px; stroke: #fff; stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Nav CTA icon */
.nav-cta .icon svg { width: 14px; height: 14px; stroke: #fff; stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Button icons */
.btn-primary .icon svg, .btn-outline .icon svg, .btn-outline-light .icon svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Step number stays as-is (numeral, not icon) */

/* Response bar icons */
.rb-item .icon { margin-right: 4px; }
.rb-item .icon svg { width: 16px; height: 16px; stroke: rgba(255,255,255,0.7); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Footer response dot stays as CSS */
/* Checkmark list items */
.hero-trust .icon svg { width: 14px; height: 14px; stroke: rgba(255,255,255,0.9); stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Form benefits list */
.form-benefits li .icon { flex-shrink: 0; }
.form-benefits li .icon svg { width: 18px; height: 18px; stroke: rgba(255,255,255,0.9); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Mini CTA block */
.mini-cta-block .icon svg { width: 16px; height: 16px; }

/* =============================================
   PREMIUM SERVICE PAGE SECTIONS
   ============================================= */

/* PROCESS TIMELINE */
.process-section { padding: 64px 0; background: var(--bg); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; margin-top: 40px; }
.process-steps::before { content: ''; position: absolute; top: 32px; left: calc(12.5% + 16px); right: calc(12.5% + 16px); height: 2px; background: linear-gradient(90deg, var(--red) 0%, var(--navy) 100%); z-index: 0; }
@media (max-width: 860px) { .process-steps { grid-template-columns: repeat(2, 1fr); gap: 24px; } .process-steps::before { display: none; } }
@media (max-width: 480px) { .process-steps { grid-template-columns: 1fr; } }
.process-step { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.process-step-num { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); border: 4px solid var(--bg); color: #fff; font-size: 1.3rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; box-shadow: 0 4px 16px rgba(26,43,94,0.22); }
.process-step-num.accent { background: var(--red); }
.process-step h3 { font-size: 0.97rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.35; }
.process-step p { font-size: 0.85rem; color: var(--text-med); line-height: 1.55; }

/* SCENARIO CARDS */
.scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
@media (max-width: 860px) { .scenario-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .scenario-grid { grid-template-columns: 1fr; } }
.scenario-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 22px; box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition); }
.scenario-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.scenario-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(26,43,94,0.07); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; font-size: 1.5rem; }
.scenario-card h3 { font-size: 0.97rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.35; }
.scenario-card p { font-size: 0.88rem; color: var(--text-med); line-height: 1.6; margin: 0; }

/* CHECKLIST SECTION (included / not included) */
.checklist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
@media (max-width: 600px) { .checklist-grid { grid-template-columns: 1fr; } }
.checklist-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 22px; box-shadow: var(--shadow); }
.checklist-box.yes { border-top: 4px solid #16a34a; }
.checklist-box.no  { border-top: 4px solid var(--red); }
.checklist-box h3 { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.checklist-box ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.checklist-box ul li { font-size: 0.9rem; color: var(--text-med); display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.chk-yes { color: #16a34a; font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.chk-no  { color: var(--red); font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }

/* PRICE CALLOUT */
.price-callout { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); border-radius: var(--radius-lg); padding: 28px 32px; margin: 32px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.price-callout-text strong { display: block; color: #fff; font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.price-items { display: flex; gap: 24px; flex-wrap: wrap; }
.price-item { text-align: center; }
.price-item-val { display: block; font-size: 1.5rem; font-weight: 800; color: #ff8a93; line-height: 1; }
.price-item-lbl { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.65); margin-top: 4px; }
@media (max-width: 580px) { .price-callout { flex-direction: column; align-items: flex-start; padding: 22px 20px; } }

/* UPSELL SERVICE CARDS */
.upsell-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 12px; }
@media (max-width: 700px) { .upsell-grid { grid-template-columns: 1fr; } }
.upsell-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 16px; display: flex; align-items: flex-start; gap: 12px; transition: border-color var(--transition), box-shadow var(--transition); text-decoration: none; }
.upsell-card:hover { border-color: var(--navy); box-shadow: var(--shadow); text-decoration: none; }
.upsell-card-icon { font-size: 1.4rem; flex-shrink: 0; }
.upsell-card-text strong { display: block; font-size: 0.9rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.upsell-card-text span { font-size: 0.82rem; color: var(--text-med); line-height: 1.4; display: block; }
.upsell-card-arrow { margin-left: auto; color: var(--red); font-size: 1rem; flex-shrink: 0; align-self: center; }

/* AREA GRID */
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
@media (max-width: 860px) { .area-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .area-grid { grid-template-columns: repeat(2, 1fr); } }
.area-item { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; display: flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 600; color: var(--navy); }
.area-item-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
.area-item-note { display: block; font-size: 0.75rem; font-weight: 400; color: var(--text-med); }

/* REVIEWS PLACEHOLDER */
.reviews-section { padding: 64px 0; background: var(--white); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
@media (max-width: 860px) { .reviews-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .reviews-grid { grid-template-columns: 1fr; } }
.review-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 20px; position: relative; }
.review-stars { color: #f59e0b; font-size: 0.95rem; margin-bottom: 10px; letter-spacing: 2px; }
.review-text { font-size: 0.9rem; color: var(--text); line-height: 1.65; margin-bottom: 14px; font-style: italic; }
.review-author { font-size: 0.82rem; font-weight: 700; color: var(--navy); }
.review-placeholder-note { text-align: center; margin-top: 28px; }
.review-placeholder-note p { font-size: 0.9rem; color: var(--text-med); margin-bottom: 12px; }

/* PROMISE BLOCK */
.promise-block { background: linear-gradient(135deg, rgba(26,43,94,0.04) 0%, rgba(204,27,43,0.04) 100%); border: 1.5px solid rgba(26,43,94,0.12); border-radius: var(--radius-lg); padding: 32px 36px; margin: 40px 0; }
.promise-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 20px; }
@media (max-width: 700px) { .promise-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .promise-steps { grid-template-columns: 1fr; } }
.promise-step { text-align: center; }
.promise-step-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 0.85rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.promise-step h4 { font-size: 0.88rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.promise-step p { font-size: 0.8rem; color: var(--text-med); line-height: 1.45; }

/* =============================================
   HERO BACKGROUND IMAGE SUPPORT
   ============================================= */

.hero { position: relative; }
.hero-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; opacity: 0.18; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,43,94,0.97) 0%, rgba(26,43,94,0.88) 55%, rgba(13,31,74,0.92) 100%); z-index: 0; }
.hero .container { position: relative; z-index: 2; }

/* GUARANTEE STRIP — used on pages without forms (piegades-noteikumi etc.) */
.guarantee-strip { display: flex; align-items: flex-start; gap: 16px; background: linear-gradient(135deg, rgba(26,43,94,0.05) 0%, rgba(204,27,43,0.05) 100%); border: 1.5px solid rgba(204,27,43,0.2); border-radius: var(--radius-lg); padding: 20px 24px; }
.guarantee-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.guarantee-icon svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.guarantee-text strong { display: block; font-size: 1rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.guarantee-text p { font-size: 0.88rem; color: var(--text-med); line-height: 1.6; margin: 0; }

/* FORM PROMISE BADGE — inline 5-min signal above submit button */
.form-promise-badge { display: flex; align-items: center; gap: 12px; background: linear-gradient(135deg, rgba(26,43,94,0.06) 0%, rgba(204,27,43,0.06) 100%); border: 1.5px solid rgba(204,27,43,0.22); border-radius: var(--radius); padding: 12px 16px; margin-top: 4px; margin-bottom: 4px; }
.fpb-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fpb-icon svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fpb-text strong { display: block; font-size: 0.92rem; font-weight: 800; color: var(--navy); }
.fpb-text span { font-size: 0.8rem; color: var(--text-med); }

/* When hero image is present — make overlay lighter on the right */
.hero.has-hero-img .hero-overlay { background: linear-gradient(105deg, rgba(26,43,94,0.97) 0%, rgba(26,43,94,0.82) 50%, rgba(26,43,94,0.65) 100%); }
.hero.has-hero-img .hero-bg-img { opacity: 0.35; }

/* Page hero image support */
.page-hero.has-hero-img { position: relative; }
.page-hero.has-hero-img .hero-bg-img { opacity: 0.22; }
.page-hero.has-hero-img .hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,43,94,0.95) 0%, rgba(26,43,94,0.80) 100%); z-index: 0; }
.page-hero.has-hero-img .container { position: relative; z-index: 2; }
