/* ───── DESIGN TOKENS ───── */
:root {
  --bg: #ffffff;
  --bg-soft: #f7f5f1;
  --bg-card: #fafaf8;
  --ink: #1a2332;
  --ink-soft: #4a5568;
  --muted: #718096;
  --line: #e5e2dc;
  --brand: #c8202d;
  --brand-dark: #a61824;
  --accent: #f4b740;
  --green: #2f7d51;
  --radius: 8px;
  --maxw: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg); color: var(--ink);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
  font-weight: 700; line-height: 1.15;
  letter-spacing: -0.01em; color: var(--ink);
}

.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand); margin-bottom: 16px;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600; font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer; border-radius: var(--radius);
  transition: all 0.25s ease; white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(200, 32, 45, 0.25);
}
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline.on-dark { color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline.on-dark:hover { background: #fff; color: var(--ink); }
.btn .arr { display: inline-block; transition: transform 0.2s; }
.btn:hover .arr { transform: translateX(4px); }

/* ───── TOP BAR ───── */
.topbar { background: var(--ink); color: rgba(255,255,255,0.85); font-size: 13px; padding: 10px 0; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; flex-wrap: wrap; gap: 12px; }
.topbar-inner span { display: inline-flex; align-items: center; gap: 8px; }
.topbar-inner a:hover { color: var(--accent); }
.topbar-right { display: flex; gap: 24px; flex-wrap: wrap; }
@media (max-width: 640px) { .topbar { font-size: 12px; } .topbar-right { gap: 14px; } }

/* ───── NAV ───── */
.nav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; max-width: var(--maxw); margin: 0 auto; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 48px; height: 48px; background: var(--brand); color: #fff; border-radius: var(--radius); display: grid; place-items: center; font-family: 'Fraunces', serif; font-weight: 800; font-size: 18px; flex-shrink: 0; }
.logo-text { font-family: 'Fraunces', serif; font-weight: 700; font-size: 20px; color: var(--ink); line-height: 1.1; }
.logo-text small { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 0.06em; margin-top: 2px; }
.nav-links { display: flex; gap: 24px; list-style: none; font-size: 15px; font-weight: 500; }
.nav-links a { color: var(--ink-soft); transition: color 0.2s; padding: 4px 0; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--brand); }
.nav-links a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--brand); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-phone { font-weight: 700; color: var(--ink); font-size: 16px; }
.menu-toggle { display: none; background: transparent; border: 1.5px solid var(--ink); padding: 8px 12px; border-radius: var(--radius); cursor: pointer; font-size: 18px; }
@media (max-width: 1024px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px 24px; gap: 0; border-bottom: 1px solid var(--line); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 540px) { .nav-phone { display: none; } .logo-text small { display: none; } }

/* ───── PAGE HERO (smaller hero for inner pages) ───── */
.page-hero { position: relative; background: linear-gradient(135deg, #1a2332 0%, #2c3e54 100%); color: #fff; padding: 80px 0 100px; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.12; filter: grayscale(100%); }
.page-hero.hero-cars::before { background-image: url('https://images.pexels.com/photos/1149831/pexels-photo-1149831.jpeg?auto=compress&cs=tinysrgb&w=1600'); }
.page-hero.hero-team::before { background-image: url('https://images.pexels.com/photos/3807386/pexels-photo-3807386.jpeg?auto=compress&cs=tinysrgb&w=1600'); }
.page-hero.hero-blog::before { background-image: url('https://images.pexels.com/photos/3807172/pexels-photo-3807172.jpeg?auto=compress&cs=tinysrgb&w=1600'); }
.page-hero.hero-map::before { background-image: url('https://images.pexels.com/photos/1119796/pexels-photo-1119796.jpeg?auto=compress&cs=tinysrgb&w=1600'); }
.page-hero.hero-tools::before { background-image: url('https://images.pexels.com/photos/4489702/pexels-photo-4489702.jpeg?auto=compress&cs=tinysrgb&w=1600'); }
.page-hero.hero-contact::before { background-image: url('https://images.pexels.com/photos/164474/pexels-photo-164474.jpeg?auto=compress&cs=tinysrgb&w=1600'); }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,35,50,0.92) 0%, rgba(44,62,84,0.88) 100%); }
.page-hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.7); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { margin: 0 8px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 60px); color: #fff; margin-bottom: 16px; max-width: 860px; }
.page-hero p.lead { font-size: clamp(16px, 1.4vw, 19px); color: rgba(255,255,255,0.85); max-width: 660px; line-height: 1.55; }

/* ───── HOMEPAGE HERO (larger) ───── */
.hero { position: relative; background: linear-gradient(135deg, #1a2332 0%, #2c3e54 100%); color: #fff; padding: 100px 0 120px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: url('https://images.pexels.com/photos/1149831/pexels-photo-1149831.jpeg?auto=compress&cs=tinysrgb&w=1600'); background-size: cover; background-position: center; opacity: 0.15; filter: grayscale(100%); }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,35,50,0.92) 0%, rgba(44,62,84,0.88) 100%); }
.hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.hero-region { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); padding: 8px 16px; border-radius: 100px; font-size: 13px; font-weight: 500; margin-bottom: 28px; backdrop-filter: blur(10px); }
.hero-region::before { content: ''; width: 8px; height: 8px; background: #4ade80; border-radius: 50%; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,0.6); } 100% { box-shadow: 0 0 0 8px rgba(74,222,128,0); } }
.hero h1 { font-size: clamp(40px, 5.6vw, 76px); color: #fff; margin-bottom: 24px; max-width: 900px; }
.hero h1 .accent { color: var(--accent); font-style: italic; }
.hero p.lead { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,0.85); max-width: 640px; margin-bottom: 40px; line-height: 1.55; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-perks { display: flex; gap: 32px; flex-wrap: wrap; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.15); }
.perk { display: flex; align-items: center; gap: 12px; font-size: 15px; color: rgba(255,255,255,0.9); }
.perk-icon { width: 40px; height: 40px; background: rgba(244,183,64,0.15); border: 1px solid rgba(244,183,64,0.3); border-radius: 50%; display: grid; place-items: center; color: var(--accent); flex-shrink: 0; }
.perk-icon svg { width: 18px; height: 18px; }

/* ───── ANCHOR NAV ───── */
.anchor-nav { background: var(--bg-soft); border-bottom: 1px solid var(--line); position: sticky; top: 81px; z-index: 50; }
.anchor-nav-inner { display: flex; justify-content: center; gap: 0; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; overflow-x: auto; scrollbar-width: none; }
.anchor-nav-inner::-webkit-scrollbar { display: none; }
.anchor-nav a { padding: 18px 28px; font-size: 14px; font-weight: 600; color: var(--ink-soft); border-bottom: 3px solid transparent; white-space: nowrap; transition: all 0.2s; }
.anchor-nav a:hover { color: var(--brand); border-bottom-color: var(--brand); }

/* ───── STATS ───── */
.stats { padding: 70px 0; background: #fff; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .num { font-family: 'Fraunces', serif; font-size: clamp(40px, 5vw, 64px); font-weight: 700; color: var(--brand); line-height: 1; margin-bottom: 8px; letter-spacing: -0.02em; }
.stat .label { font-size: 14px; font-weight: 500; color: var(--ink-soft); letter-spacing: 0.02em; }
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; } }

/* ───── SECTION ───── */
.section { padding: 100px 0; }
.section-bg-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 52px); margin-bottom: 16px; }
.section-head p { font-size: 17px; color: var(--ink-soft); line-height: 1.6; }

/* ───── BUY CARDS ───── */
.buy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 980px) { .buy-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.buy-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.buy-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(26, 35, 50, 0.1); }
.buy-card-img { height: 240px; position: relative; overflow: hidden; }
.buy-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.buy-card:hover .buy-card-img img { transform: scale(1.06); }
.buy-card-tag { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); color: var(--ink); padding: 6px 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; border-radius: 100px; text-transform: uppercase; }
.buy-card-body { padding: 32px; flex: 1; display: flex; flex-direction: column; }
.buy-card h3 { font-size: 26px; margin-bottom: 12px; }
.buy-card .pitch { font-size: 15px; font-style: italic; color: var(--brand); margin-bottom: 16px; font-weight: 500; }
.buy-card .desc { font-size: 15px; color: var(--ink-soft); margin-bottom: 24px; line-height: 1.6; }
.buy-card ul { list-style: none; margin-bottom: 28px; }
.buy-card ul li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.buy-card ul li::before { content: ''; width: 18px; height: 18px; background: rgba(47,125,81,0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f7d51' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center/12px no-repeat; border-radius: 50%; flex-shrink: 0; }
.buy-card .card-cta { margin-top: auto; font-weight: 600; font-size: 14px; color: var(--brand); display: inline-flex; align-items: center; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.buy-card .card-cta::after { content: '→'; transition: transform 0.2s; }
.buy-card .card-cta:hover::after { transform: translateX(4px); }

/* ───── PROCESS ───── */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
@media (max-width: 920px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .process-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; } }
.process-grid::before { content: ''; position: absolute; top: 38px; left: 12.5%; right: 12.5%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0, var(--line) 8px, transparent 8px, transparent 16px); z-index: 0; }
@media (max-width: 920px) { .process-grid::before { display: none; } }
.step { text-align: center; position: relative; z-index: 1; }
.step-num { width: 76px; height: 76px; background: #fff; border: 2px solid var(--brand); border-radius: 50%; display: grid; place-items: center; font-family: 'Fraunces', serif; font-size: 28px; font-weight: 700; color: var(--brand); margin: 0 auto 24px; position: relative; }
.step-num::after { content: ''; position: absolute; inset: -6px; border: 1px dashed var(--brand); border-radius: 50%; opacity: 0.4; }
.step h3 { font-size: 22px; margin-bottom: 12px; }
.step p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; max-width: 240px; margin: 0 auto; }
.process-cta { text-align: center; margin-top: 56px; }

/* ───── WHY US ───── */
.why-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 60px; align-items: start; }
@media (max-width: 980px) { .why-grid { grid-template-columns: 1fr; gap: 40px; } }
.why-feature-image { position: sticky; top: 160px; border-radius: var(--radius); overflow: hidden; height: 540px; box-shadow: 0 20px 50px rgba(26, 35, 50, 0.15); }
.why-feature-image img { width: 100%; height: 100%; object-fit: cover; }
.why-feature-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(26,35,50,0.85) 100%); }
.why-feature-text { position: absolute; bottom: 32px; left: 32px; right: 32px; color: #fff; }
.why-feature-text small { display: inline-block; background: var(--brand); padding: 4px 12px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; border-radius: 100px; text-transform: uppercase; margin-bottom: 14px; }
.why-feature-text h4 { color: #fff; font-size: 28px; letter-spacing: -0.01em; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 28px; }
@media (max-width: 640px) { .why-list { grid-template-columns: 1fr; } }
.why-item { display: flex; flex-direction: column; gap: 12px; }
.why-icon { width: 48px; height: 48px; background: rgba(200,32,45,0.08); border-radius: var(--radius); display: grid; place-items: center; color: var(--brand); margin-bottom: 4px; }
.why-icon svg { width: 22px; height: 22px; }
.why-item h3 { font-size: 19px; margin-bottom: 4px; }
.why-item p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }

/* ───── QUOTE ───── */
.quote-section { background: linear-gradient(135deg, #1a2332 0%, #2c3e54 100%); color: #fff; position: relative; overflow: hidden; }
.quote-section::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 30%, rgba(244,183,64,0.08), transparent 40%), radial-gradient(circle at 80% 70%, rgba(200,32,45,0.1), transparent 40%); }
.quote-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; position: relative; }
@media (max-width: 980px) { .quote-grid { grid-template-columns: 1fr; gap: 40px; } }
.quote-info .eyebrow { color: var(--accent); }
.quote-info h2 { color: #fff; font-size: clamp(36px, 4.6vw, 56px); margin-bottom: 20px; }
.quote-info > p { font-size: 17px; color: rgba(255,255,255,0.8); margin-bottom: 36px; max-width: 480px; line-height: 1.6; }
.cat-options { display: grid; gap: 12px; }
.cat-option { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 18px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); align-items: center; transition: background 0.2s; }
.cat-option:hover { background: rgba(255,255,255,0.08); }
.cat-letter { width: 40px; height: 40px; background: var(--accent); color: var(--ink); border-radius: 50%; display: grid; place-items: center; font-family: 'Fraunces', serif; font-weight: 700; font-size: 18px; }
.cat-option strong { display: block; font-size: 15px; font-weight: 700; margin-bottom: 2px; color: #fff; }
.cat-option span { font-size: 13px; color: rgba(255,255,255,0.7); }

/* ───── FORM ───── */
.quote-form { background: #fff; color: var(--ink); padding: 40px; border-radius: var(--radius); box-shadow: 0 30px 60px rgba(0,0,0,0.25); }
@media (max-width: 600px) { .quote-form { padding: 28px; } }
.quote-form-head { margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.quote-form-head h3 { font-size: 26px; margin-bottom: 6px; }
.quote-form-head p { font-size: 14px; color: var(--muted); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field label .req { color: var(--brand); }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); background: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; border-radius: var(--radius); outline: none; transition: border-color 0.2s, box-shadow 0.2s; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(200, 32, 45, 0.1); }
.field textarea { resize: vertical; min-height: 90px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.submit-bar { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.submit-bar .btn { width: 100%; justify-content: center; padding: 18px; font-size: 16px; }
.submit-bar .legal { font-size: 13px; color: var(--muted); text-align: center; }

/* ───── CTA STRIP ───── */
.cta-strip { background: var(--brand); color: #fff; padding: 60px 0; }
.cta-strip-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-strip h3 { font-size: clamp(26px, 3.4vw, 36px); color: #fff; max-width: 640px; }
.cta-strip-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.cta-strip .btn-primary { background: #fff; color: var(--brand); }
.cta-strip .btn-primary:hover { background: var(--ink); color: #fff; box-shadow: 0 10px 24px rgba(0,0,0,0.2); }
.cta-strip .btn-outline { border-color: rgba(255,255,255,0.6); color: #fff; }
.cta-strip .btn-outline:hover { background: #fff; color: var(--brand); }

/* ───── FOOTER ───── */
footer { background: var(--ink); color: rgba(255,255,255,0.75); padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 48px; margin-bottom: 56px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h5 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col li { padding: 6px 0; font-size: 14.5px; }
.footer-col a:hover { color: var(--accent); }
.footer-brand .logo { margin-bottom: 20px; }
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-text small { color: rgba(255,255,255,0.6); }
.footer-brand p { font-size: 14.5px; line-height: 1.7; max-width: 340px; }
.footer-contact .phone { font-family: 'Fraunces', serif; font-size: 26px; color: #fff; font-weight: 700; display: block; margin-bottom: 8px; }
.footer-contact .email { font-size: 14.5px; }
.footer-contact address { font-style: normal; font-size: 13.5px; margin-top: 16px; line-height: 1.7; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 13px; flex-wrap: wrap; gap: 16px; color: rgba(255,255,255,0.55); }
.footer-bottom .legal-links { display: flex; gap: 24px; }

/* ───── ABOUT PAGE ───── */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 880px) { .about-intro { grid-template-columns: 1fr; gap: 40px; } }
.about-intro img { border-radius: var(--radius); box-shadow: 0 20px 50px rgba(26,35,50,0.15); }
.about-intro h2 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 20px; }
.about-intro p { font-size: 16px; color: var(--ink-soft); margin-bottom: 16px; line-height: 1.7; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 880px) { .values-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.value-card { background: #fff; padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.value-card .icon-wrap { width: 64px; height: 64px; background: rgba(200,32,45,0.08); border-radius: 50%; display: grid; place-items: center; margin: 0 auto 20px; color: var(--brand); }
.value-card .icon-wrap svg { width: 28px; height: 28px; }
.value-card h3 { font-size: 22px; margin-bottom: 12px; }
.value-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }

/* ───── BLOG ───── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 980px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(26, 35, 50, 0.1); }
.blog-img { height: 220px; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-img img { transform: scale(1.06); }
.blog-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.blog-meta { display: flex; gap: 16px; font-size: 12px; color: var(--muted); margin-bottom: 12px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }
.blog-meta .cat { color: var(--brand); }
.blog-card h3 { font-size: 22px; margin-bottom: 12px; line-height: 1.25; }
.blog-card p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 20px; line-height: 1.6; flex: 1; }
.blog-card .read-more { font-weight: 600; font-size: 14px; color: var(--brand); display: inline-flex; align-items: center; gap: 8px; }
.blog-card .read-more::after { content: '→'; transition: transform 0.2s; }
.blog-card:hover .read-more::after { transform: translateX(4px); }

/* ───── SERVICE AREA ───── */
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 980px) { .area-grid { grid-template-columns: 1fr; } }
.area-map-wrap { position: relative; border-radius: var(--radius); overflow: hidden; height: 480px; background: var(--bg-soft); border: 1px solid var(--line); }
.area-map-wrap iframe { width: 100%; height: 100%; border: 0; }
.suburbs-list { columns: 2; column-gap: 32px; }

/* Service Region Cards */
.region-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 880px) { .region-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.region-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; }
.region-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(26, 35, 50, 0.1); }
.region-card-img { height: 200px; position: relative; overflow: hidden; }
.region-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.region-card:hover .region-card-img img { transform: scale(1.06); }
.region-card-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(26,35,50,0.6) 100%); }
.region-card-tag { position: absolute; top: 16px; left: 16px; background: var(--brand); color: #fff; padding: 6px 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; border-radius: 100px; text-transform: uppercase; z-index: 2; }
.region-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.region-card h3 { font-size: 26px; margin-bottom: 12px; }
.region-card p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 20px; line-height: 1.6; flex: 1; }
.region-card .key-areas { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.region-card .key-areas span { background: var(--bg-soft); border: 1px solid var(--line); padding: 4px 10px; font-size: 12px; font-weight: 500; color: var(--ink-soft); border-radius: 100px; }
.region-card .stat-row { display: flex; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line); }
.region-card .stat-row div { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.region-card .stat-row strong { display: block; font-family: 'Fraunces', serif; font-size: 18px; font-weight: 700; color: var(--brand); margin-top: 2px; letter-spacing: -0.01em; text-transform: none; }
@media (max-width: 480px) { .suburbs-list { columns: 1; } }
.suburbs-list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; display: flex; align-items: center; gap: 10px; break-inside: avoid; }
.suburbs-list li::before { content: ''; width: 8px; height: 8px; background: var(--brand); border-radius: 50%; flex-shrink: 0; }

/* ───── SERVICES ───── */
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 60px 0; border-bottom: 1px solid var(--line); }
.service-row:last-child { border-bottom: none; }
.service-row.reversed { direction: rtl; }
.service-row.reversed > * { direction: ltr; }
@media (max-width: 880px) { .service-row, .service-row.reversed { grid-template-columns: 1fr; gap: 32px; direction: ltr; padding: 40px 0; } }
.service-img { border-radius: var(--radius); overflow: hidden; height: 360px; }
.service-img img { width: 100%; height: 100%; object-fit: cover; }
.service-content h3 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 16px; }
.service-content > p { font-size: 16px; color: var(--ink-soft); margin-bottom: 24px; line-height: 1.7; }
.service-content ul { list-style: none; margin-bottom: 28px; }
.service-content ul li { padding: 8px 0; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.service-content ul li::before { content: ''; width: 18px; height: 18px; background: rgba(47,125,81,0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f7d51' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center/12px no-repeat; border-radius: 50%; flex-shrink: 0; }

/* ───── CONTACT PAGE ───── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-cards { display: grid; gap: 16px; margin-bottom: 32px; }
.contact-card { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); align-items: center; }
.contact-card .ico { width: 56px; height: 56px; background: rgba(200,32,45,0.08); border-radius: var(--radius); display: grid; place-items: center; color: var(--brand); }
.contact-card .ico svg { width: 24px; height: 24px; }
.contact-card .label { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; margin-bottom: 4px; }
.contact-card .value { font-size: 17px; font-weight: 600; color: var(--ink); }
.contact-card .value a:hover { color: var(--brand); }
.contact-card .sub { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }
.contact-form-card { background: #fff; padding: 40px; border-radius: var(--radius); border: 1px solid var(--line); }
@media (max-width: 600px) { .contact-form-card { padding: 28px; } }
.map-embed { border-radius: var(--radius); overflow: hidden; height: 380px; margin-top: 40px; }

/* ───── REVEAL ───── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
::selection { background: var(--brand); color: #fff; }


/* ───── BLOG POST PAGE ───── */
.post-hero { background: linear-gradient(135deg, #1a2332 0%, #2c3e54 100%); color: #fff; padding: 70px 0 60px; position: relative; overflow: hidden; }
.post-hero::before { content: ''; position: absolute; inset: 0; background-image: url('https://images.pexels.com/photos/2244746/pexels-photo-2244746.jpeg?auto=compress&cs=tinysrgb&w=1600'); background-size: cover; background-position: center; opacity: 0.12; filter: grayscale(100%); }
.post-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,35,50,0.92) 0%, rgba(44,62,84,0.88) 100%); }
.post-hero-inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; padding: 0 24px; text-align: center; }
.post-hero .breadcrumb { color: rgba(255,255,255,0.7); margin-bottom: 24px; }
.post-hero .post-cat { display: inline-block; background: var(--brand); color: #fff; padding: 6px 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 100px; margin-bottom: 20px; }
.post-hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 52px); margin-bottom: 24px; line-height: 1.15; }
.post-hero .post-meta { display: flex; justify-content: center; gap: 24px; font-size: 14px; color: rgba(255,255,255,0.75); flex-wrap: wrap; }
.post-hero .post-meta span { display: inline-flex; align-items: center; gap: 8px; }

.post-featured-img { max-width: 1040px; margin: -40px auto 0; padding: 0 24px; position: relative; z-index: 5; }
.post-featured-img img { width: 100%; height: 480px; object-fit: cover; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(26,35,50,0.25); }
@media (max-width: 700px) { .post-featured-img img { height: 280px; } }

.post-body { max-width: 760px; margin: 0 auto; padding: 80px 24px; }
.post-body p.intro { font-size: 21px; line-height: 1.55; color: var(--ink); font-family: 'Fraunces', serif; font-weight: 500; margin-bottom: 36px; padding-bottom: 28px; border-bottom: 2px solid var(--line); font-style: italic; }
.post-body h2 { font-size: clamp(26px, 3vw, 34px); margin: 48px 0 20px; }
.post-body h3 { font-size: 22px; margin: 36px 0 14px; }
.post-body p { font-size: 17px; line-height: 1.75; color: var(--ink); margin-bottom: 22px; }
.post-body ul, .post-body ol { margin: 0 0 24px 24px; }
.post-body li { font-size: 17px; line-height: 1.75; color: var(--ink); margin-bottom: 10px; }
.post-body strong { font-weight: 700; color: var(--ink); }
.post-body a { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.post-body a:hover { color: var(--brand-dark); }
.post-body blockquote { border-left: 4px solid var(--brand); padding: 16px 24px; margin: 32px 0; background: var(--bg-soft); font-family: 'Fraunces', serif; font-size: 19px; font-style: italic; color: var(--ink); border-radius: 0 var(--radius) var(--radius) 0; }
.post-body .pull-cta { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; margin: 40px 0; text-align: center; }
.post-body .pull-cta h4 { font-size: 22px; margin-bottom: 8px; }
.post-body .pull-cta p { font-size: 15px; color: var(--ink-soft); margin-bottom: 20px; }

.post-author-card { display: flex; align-items: center; gap: 16px; margin-top: 60px; padding-top: 32px; border-top: 1px solid var(--line); }
.post-author-card .avatar { width: 56px; height: 56px; background: var(--brand); color: #fff; border-radius: 50%; display: grid; place-items: center; font-family: 'Fraunces', serif; font-weight: 700; font-size: 20px; flex-shrink: 0; }
.post-author-card .info .name { font-weight: 700; font-size: 16px; color: var(--ink); }
.post-author-card .info .role { font-size: 13px; color: var(--muted); }

.post-share { display: flex; align-items: center; gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.post-share .label { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.post-share .share-btns { display: flex; gap: 10px; }
.post-share a { width: 38px; height: 38px; border: 1.5px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--ink-soft); transition: all 0.2s; }
.post-share a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.post-share a svg { width: 16px; height: 16px; }

/* Related posts */
.related-posts { background: var(--bg-soft); padding: 80px 0; border-top: 1px solid var(--line); }
.related-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.related-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 12px; }
.related-head p { color: var(--ink-soft); font-size: 16px; }

/* ───── BLOG POST PAGE ───── */
.post-hero { background: linear-gradient(135deg, #1a2332 0%, #2c3e54 100%); color: #fff; padding: 70px 0 60px; position: relative; overflow: hidden; }
.post-hero::before { content: ''; position: absolute; inset: 0; background-image: var(--bg-img, url('https://images.pexels.com/photos/2244746/pexels-photo-2244746.jpeg?auto=compress&cs=tinysrgb&w=1600')); background-size: cover; background-position: center; opacity: 0.12; filter: grayscale(100%); }
.post-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,35,50,0.92) 0%, rgba(44,62,84,0.88) 100%); }
.post-hero-inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; padding: 0 24px; text-align: center; }
.post-hero .breadcrumb { color: rgba(255,255,255,0.7); margin-bottom: 24px; }
.post-hero .post-cat { display: inline-block; background: var(--brand); color: #fff; padding: 6px 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 100px; margin-bottom: 20px; }
.post-hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 52px); margin-bottom: 24px; line-height: 1.15; }
.post-hero .post-meta { display: flex; justify-content: center; gap: 24px; font-size: 14px; color: rgba(255,255,255,0.75); flex-wrap: wrap; }
.post-hero .post-meta span { display: inline-flex; align-items: center; gap: 8px; }

.post-featured-img { max-width: 1040px; margin: -40px auto 0; padding: 0 24px; position: relative; z-index: 5; }
.post-featured-img img { width: 100%; height: 480px; object-fit: cover; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(26,35,50,0.25); }
@media (max-width: 700px) { .post-featured-img img { height: 280px; } }

.post-body { max-width: 760px; margin: 0 auto; padding: 80px 24px; }
.post-body p.intro { font-size: 21px; line-height: 1.55; color: var(--ink); font-family: 'Fraunces', serif; font-weight: 500; margin-bottom: 36px; padding-bottom: 28px; border-bottom: 2px solid var(--line); font-style: italic; }
.post-body h2 { font-size: clamp(26px, 3vw, 34px); margin: 48px 0 20px; }
.post-body h3 { font-size: 22px; margin: 36px 0 14px; }
.post-body p { font-size: 17px; line-height: 1.75; color: var(--ink); margin-bottom: 22px; }
.post-body ul, .post-body ol { margin: 0 0 24px 24px; }
.post-body li { font-size: 17px; line-height: 1.75; color: var(--ink); margin-bottom: 10px; }
.post-body strong { font-weight: 700; color: var(--ink); }
.post-body a { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.post-body a:hover { color: var(--brand-dark); }
.post-body blockquote { border-left: 4px solid var(--brand); padding: 16px 24px; margin: 32px 0; background: var(--bg-soft); font-family: 'Fraunces', serif; font-size: 19px; font-style: italic; color: var(--ink); border-radius: 0 var(--radius) var(--radius) 0; }
.post-body img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 24px 0; }

.post-author-card { display: flex; align-items: center; gap: 16px; margin-top: 60px; padding-top: 32px; border-top: 1px solid var(--line); }
.post-author-card .avatar { width: 56px; height: 56px; background: var(--brand); color: #fff; border-radius: 50%; display: grid; place-items: center; font-family: 'Fraunces', serif; font-weight: 700; font-size: 20px; flex-shrink: 0; }
.post-author-card .info .name { font-weight: 700; font-size: 16px; color: var(--ink); }
.post-author-card .info .role { font-size: 13px; color: var(--muted); }

.post-share { display: flex; align-items: center; gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.post-share .label { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.post-share .share-btns { display: flex; gap: 10px; }
.post-share a { width: 38px; height: 38px; border: 1.5px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--ink-soft); transition: all 0.2s; }
.post-share a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.post-share a svg { width: 16px; height: 16px; }

.related-posts { background: var(--bg-soft); padding: 80px 0; border-top: 1px solid var(--line); }
.related-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.related-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 12px; }
.related-head p { color: var(--ink-soft); font-size: 16px; }

/* ───── WORDPRESS-SPECIFIC ───── */
/* WP menu output class compatibility */
.nav-links li { list-style: none; }
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a { color: var(--brand); }
@media (min-width: 1025px) {
	.nav-links .current-menu-item > a::after,
	.nav-links .current_page_item > a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--brand); }
}

/* Pagination */
.nav-links.pagination, .pagination { display: inline-flex; gap: 8px; }
.page-numbers { padding: 10px 16px; border: 1.5px solid var(--line); border-radius: var(--radius); font-weight: 600; color: var(--ink-soft); transition: all 0.2s; }
.page-numbers:hover, .page-numbers.current { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Custom logo */
.custom-logo { max-height: 60px; width: auto; }

/* WP comments block (Gutenberg) */
.wp-block-image img { border-radius: var(--radius); }

/* Footer logo for WP custom-logo case */
footer .custom-logo { filter: brightness(0) invert(1); }

/* ───── THANK YOU PAGE ───── */
.thank-you-hero { background: linear-gradient(135deg, #1a2332 0%, #2c3e54 100%); color: #fff; padding: 100px 0 80px; position: relative; overflow: hidden; min-height: calc(100vh - 200px); display: flex; align-items: center; }
.thank-you-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(47, 125, 81, 0.15) 0%, transparent 50%), radial-gradient(circle at 70% 80%, rgba(244, 183, 64, 0.1) 0%, transparent 50%); }
.thank-you-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; padding: 0 24px; text-align: center; }

.success-icon { width: 100px; height: 100px; margin: 0 auto 32px; color: var(--green); background: rgba(47, 125, 81, 0.15); border-radius: 50%; display: grid; place-items: center; animation: success-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.success-icon svg { width: 56px; height: 56px; }
@keyframes success-pop {
	0% { transform: scale(0); opacity: 0; }
	60% { transform: scale(1.1); opacity: 1; }
	100% { transform: scale(1); opacity: 1; }
}

.thank-you-hero .eyebrow { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; display: block; margin-bottom: 16px; }
.thank-you-hero h1 { color: #fff; font-size: clamp(36px, 5vw, 56px); margin-bottom: 20px; line-height: 1.15; }
.thank-you-hero .lead { font-size: 18px; color: rgba(255,255,255,0.85); line-height: 1.65; margin-bottom: 48px; max-width: 580px; margin-left: auto; margin-right: auto; }

.next-steps { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 32px; margin-bottom: 40px; backdrop-filter: blur(10px); }
.next-steps .step-item { display: flex; gap: 20px; text-align: left; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.next-steps .step-item:last-child { border-bottom: none; padding-bottom: 0; }
.next-steps .step-item:first-child { padding-top: 0; }
.next-steps .num { width: 40px; height: 40px; background: var(--brand); color: #fff; border-radius: 50%; display: grid; place-items: center; font-family: 'Fraunces', serif; font-weight: 700; font-size: 18px; flex-shrink: 0; }
.next-steps .text strong { display: block; color: #fff; font-size: 17px; margin-bottom: 4px; font-weight: 600; }
.next-steps .text span { color: rgba(255,255,255,0.7); font-size: 14px; }

.thank-you-contact { margin-bottom: 36px; }
.thank-you-contact .urgency { color: rgba(255,255,255,0.8); font-size: 15px; margin-bottom: 16px; }
.thank-you-contact .btn { font-size: 18px; padding: 18px 36px; }

.thank-you-links { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.thank-you-links a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s; }
.thank-you-links a:hover { color: var(--accent); }
.thank-you-links .divider { color: rgba(255,255,255,0.3); }

@media (max-width: 600px) {
	.thank-you-hero { padding: 60px 0; }
	.next-steps { padding: 24px 20px; }
	.next-steps .step-item { gap: 14px; }
}


/* Contact Form 7 styling for Contact page */
.contact-form-card .wpcf7,
.sgs-cf7-form {
  width: 100%;
}

.sgs-cf7-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.sgs-form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sgs-form-full,
.sgs-form-submit {
  grid-column: 1 / -1;
}

.sgs-cf7-form label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.sgs-cf7-form .sgs-input,
.sgs-cf7-form input,
.sgs-cf7-form select,
.sgs-cf7-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 15px;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.sgs-cf7-form textarea {
  min-height: 132px;
  resize: vertical;
}

.sgs-cf7-form input:focus,
.sgs-cf7-form select:focus,
.sgs-cf7-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(200, 32, 45, 0.08);
}

.sgs-cf7-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 13px;
}

.sgs-cf7-form .wpcf7-response-output {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
}

.sgs-cf7-form .sgs-btn,
.sgs-cf7-form input[type="submit"] {
  border: 0;
  cursor: pointer;
}

.sgs-cf7-missing-notice {
  border: 1px dashed var(--line);
  border-radius: 16px;
  padding: 18px;
  background: #fff7f7;
  color: var(--ink);
}

.sgs-cf7-missing-notice code {
  display: inline-block;
  max-width: 100%;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff;
  white-space: normal;
  word-break: break-word;
}

@media (max-width: 767px) {
  .sgs-cf7-form {
    grid-template-columns: 1fr;
  }
}

/* CF7 submit button fix: works even when the CF7 form does not use the custom .sgs-cf7-form wrapper */
.contact-form-card .wpcf7 input[type="submit"],
.contact-form-card .wpcf7-submit,
.contact-form-card .sgs-btn.sgs-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding: 16px 28px;
  border: 2px solid transparent !important;
  border-radius: var(--radius);
  background: var(--brand) !important;
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
}

.contact-form-card .wpcf7 input[type="submit"]:hover,
.contact-form-card .wpcf7-submit:hover,
.contact-form-card .sgs-btn.sgs-btn-primary:hover {
  background: var(--brand-dark) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(200, 32, 45, 0.25);
}

.contact-form-card .wpcf7 input[type="submit"]:disabled,
.contact-form-card .wpcf7-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.contact-form-card .wpcf7-spinner {
  margin-left: 10px;
}

/* Rich text / internal link support for ACF editors and normal page content */
.sgs-rich-text {
  color: inherit;
}

.sgs-rich-text p {
  margin: 0 0 1em;
}

.sgs-rich-text p:last-child,
.sgs-rich-text ul:last-child,
.sgs-rich-text ol:last-child {
  margin-bottom: 0;
}

.sgs-rich-text ul,
.sgs-rich-text ol {
  margin: 0 0 1em 1.25rem;
  padding-left: 1rem;
}

.sgs-rich-text li {
  margin-bottom: 0.45em;
}

.sgs-rich-text a,
.about-intro a,
.service-content a:not(.btn),
.region-card-body a,
.page_sections a,
.post-body a {
  color: #2563eb;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  font-weight: 600;
}

.sgs-rich-text a:hover,
.about-intro a:hover,
.service-content a:not(.btn):hover,
.region-card-body a:hover,
.page_sections a:hover,
.post-body a:hover {
  color: #1d4ed8;
  text-decoration-thickness: 2px;
}

.hero .lead {
  font-size: clamp(17px, 1.6vw, 20px);
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin-bottom: 40px;
  line-height: 1.55;
}

.page-hero .lead {
  font-size: clamp(16px, 1.4vw, 19px);
  color: rgba(255,255,255,0.85);
  max-width: 660px;
  line-height: 1.55;
}

.thank-you-hero .lead {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
  margin-bottom: 48px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.hero .sgs-rich-text a,
.page-hero .sgs-rich-text a,
.thank-you-hero .sgs-rich-text a {
  color: #93c5fd;
}

.hero .sgs-rich-text a:hover,
.page-hero .sgs-rich-text a:hover,
.thank-you-hero .sgs-rich-text a:hover {
  color: #bfdbfe;
}

.section-head .sgs-rich-text,
.section-head .sgs-rich-text p {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.step .sgs-rich-text,
.step .sgs-rich-text p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 240px;
  margin-left: auto;
  margin-right: auto;
}

.why-item .sgs-rich-text,
.why-item .sgs-rich-text p,
.value-card .sgs-rich-text,
.value-card .sgs-rich-text p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.sgs-area-map-text,
.sgs-area-map-text p {
  color: var(--ink-soft);
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.7;
}

.sgs-area-map-text-last,
.sgs-area-map-text-last p {
  margin-bottom: 28px;
}

.footer-brand .sgs-rich-text,
.footer-brand .sgs-rich-text p {
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 340px;
}

.page_sections p {
  margin-bottom: 25px;
}

.page_sections h2 {
  margin-bottom: 10px;
}

.page_sections ul,
.page_sections ol {
  margin-left: 30px;
  margin-bottom: 25px;
}

.footer-brand .sgs-rich-text a {
  color: #93c5fd;
}

.footer-brand .sgs-rich-text a:hover {
  color: #bfdbfe;
}
