/* ==========================================================================
   Psychiatrická ambulance — Design System & Presentation Styles
   Navrženo pro snadné použití jako statický web i v prostředí WordPressu.
   ========================================================================== */

:root {
  --bg-cream: #faf8f5;
  --bg-surface: #ffffff;
  --bg-sand: #f2ede4;
  --bg-sage-soft: #ebf2ee;
  --bg-sage-mid: #d6e7df;

  --ink: #16302b;
  --ink-muted: #4e615b;
  --ink-subtle: #6b7d77;

  --accent: #2f685b;
  --accent-hover: #224f45;
  --accent-contrast: #ffffff;

  --border: #dce5e0;
  --border-strong: #c2d1ca;

  --crisis-bg: #fdf4f1;
  --crisis-border: #d98a74;
  --crisis-ink: #7a3220;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 10px rgba(22, 48, 43, 0.04);
  --shadow-md: 0 10px 30px rgba(22, 48, 43, 0.07);

  --font-serif: "Lora", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1140px;
  --header-h: 78px;
}

/* WordPress Twenty Twenty-Five full-bleed compatibility */
body:has(.ambulance-site) {
  margin: 0;
  padding: 0;
  background-color: var(--bg-cream);
}

.wp-site-blocks:has(.ambulance-site),
.wp-block-post-content:has(.ambulance-site),
.entry-content:has(.ambulance-site) {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Base reset inside .ambulance-site */
.ambulance-site {
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--bg-cream);
  line-height: 1.68;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

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

.ambulance-site a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.ambulance-site a:hover {
  color: var(--accent-hover);
}

.ambulance-site :focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* Layout Containers */
.amb-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.amb-section {
  padding: 80px 0;
}

.amb-section--sand {
  background-color: var(--bg-sand);
}

.amb-section--sage {
  background-color: var(--bg-sage-soft);
}

.amb-section--white {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.amb-section--compact {
  padding: 52px 0;
}

/* Typography */
.ambulance-site h1,
.ambulance-site h2,
.ambulance-site h3,
.ambulance-site h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.18;
  margin-top: 0;
  letter-spacing: -0.01em;
}

.ambulance-site h1 {
  font-size: clamp(2.15rem, 4.4vw, 3.5rem);
  margin-bottom: 20px;
}

.ambulance-site h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  margin-bottom: 16px;
}

.ambulance-site h3 {
  font-size: 1.32rem;
  margin-bottom: 10px;
}

.ambulance-site p {
  margin: 0 0 16px;
}

.ambulance-site p:last-child {
  margin-bottom: 0;
}

.amb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 14px;
}

.amb-lead {
  font-size: clamp(1.06rem, 1.5vw, 1.22rem);
  color: var(--ink-muted);
  max-width: 64ch;
  line-height: 1.65;
}

.amb-muted {
  color: var(--ink-muted);
}

.amb-small {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* Subtle visual marker for user-editable fields */
.amb-placeholder {
  background: rgba(47, 104, 91, 0.08);
  border-bottom: 1px dashed var(--accent);
  padding: 0 4px;
  border-radius: 3px;
  font-weight: 500;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.amb-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.amb-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.amb-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.amb-brand:hover {
  color: var(--accent);
}

.amb-brand__logo {
  height: 42px;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
}

.amb-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.amb-brand__name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}

.amb-brand__sub {
  font-size: 0.76rem;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

.amb-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.amb-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.amb-nav__link {
  display: inline-block;
  padding: 8px 13px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.amb-nav__link:hover {
  color: var(--ink);
  background-color: var(--bg-sage-soft);
}

.amb-nav__link.is-active,
.amb-nav__link[aria-current="page"] {
  color: var(--accent);
  background-color: var(--bg-sage-soft);
  font-weight: 600;
}

.amb-nav__cta {
  margin-left: 10px;
}

.amb-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  color: var(--ink);
  border-radius: var(--radius-sm);
  padding: 8px 13px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.amb-menu-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.amb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.amb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.amb-btn--primary {
  background-color: var(--accent);
  color: var(--accent-contrast);
  box-shadow: 0 2px 8px rgba(47, 104, 91, 0.18);
}

.amb-btn--primary:hover {
  background-color: var(--accent-hover);
  color: var(--accent-contrast);
  transform: translateY(-1px);
}

.amb-btn--secondary {
  background-color: transparent;
  color: var(--accent);
  border-color: var(--border-strong);
}

.amb-btn--secondary:hover {
  background-color: var(--bg-sage-soft);
  border-color: var(--accent);
  color: var(--accent-hover);
}

.amb-btn--sm {
  padding: 9px 16px;
  font-size: 0.88rem;
}

.amb-btn--light {
  background-color: #ffffff;
  color: var(--ink);
  border-color: #ffffff;
}

.amb-btn--light:hover {
  background-color: var(--bg-sage-soft);
  color: var(--ink);
}

/* ==========================================================================
   Hero Sections
   ========================================================================== */
.amb-hero {
  position: relative;
  padding: 76px 0 68px;
  background: radial-gradient(circle at 90% 15%, rgba(214, 231, 223, 0.72) 0%, rgba(250, 248, 245, 0) 55%),
              linear-gradient(180deg, var(--bg-cream) 0%, #f4f7f5 100%);
  border-bottom: 1px solid var(--border);
}

.amb-hero--sub {
  padding: 56px 0 52px;
}

.amb-hero__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
}

.amb-hero__panel {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.amb-hero__panel-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--ink);
}

.amb-quick-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.amb-quick-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
}

.amb-quick-list strong {
  display: block;
  color: var(--ink);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

/* Quick Info Strip */
.amb-strip {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.amb-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.amb-strip__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
}

.amb-strip__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-subtle);
  margin-bottom: 2px;
}

.amb-strip__val {
  color: var(--ink);
  font-weight: 500;
}

/* ==========================================================================
   Grids, Cards & Feature Blocks
   ========================================================================== */
.amb-section-head {
  max-width: 680px;
  margin-bottom: 40px;
}

.amb-grid {
  display: grid;
  gap: 22px;
}

.amb-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.amb-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.amb-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.amb-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.amb-split--media {
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
}

.amb-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.amb-card--soft {
  background: var(--bg-sage-soft);
  border-color: var(--bg-sage-mid);
}

.amb-card--sand {
  background: var(--bg-sand);
  border-color: #e3dbcd;
}

.amb-card__link {
  margin-top: auto;
  padding-top: 16px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.amb-card__link:hover {
  text-decoration: underline;
}

/* Step Cards */
.amb-step {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.amb-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-sage-soft);
  color: var(--accent);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

/* Callout / Note */
.amb-note {
  background: var(--bg-sage-soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 24px 26px;
}

.amb-note__title {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 8px;
}

.amb-crisis {
  background: var(--crisis-bg);
  border: 1px solid #f0d0c7;
  border-left: 4px solid var(--crisis-border);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  color: var(--crisis-ink);
}

.amb-crisis strong {
  color: var(--crisis-ink);
}

/* Lists */
.amb-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.amb-list li {
  position: relative;
  padding-left: 26px;
}

.amb-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  background-color: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ==========================================================================
   Tables (Ceník & Ordinační hodiny)
   ========================================================================== */
.amb-table-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

.amb-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.96rem;
}

.amb-table th,
.amb-table td {
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.amb-table thead th {
  background: var(--bg-sage-soft);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  font-weight: 700;
}

.amb-table tbody tr:last-child td {
  border-bottom: none;
}

.amb-table tbody tr:hover {
  background: rgba(235, 242, 238, 0.35);
}

.amb-table__price {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.amb-faq {
  display: grid;
  gap: 12px;
}

.amb-faq__item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.amb-faq__btn {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.amb-faq__btn:hover {
  background: rgba(235, 242, 238, 0.45);
}

.amb-faq__chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-color: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: transform 0.2s ease;
}

.amb-faq__btn[aria-expanded="true"] .amb-faq__chevron {
  transform: rotate(180deg);
}

.amb-faq__panel {
  padding: 0 24px 20px;
  color: var(--ink-muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.amb-faq__panel[hidden] {
  display: none;
}

/* ==========================================================================
   Contact & CTA Banner
   ========================================================================== */
.amb-banner {
  background: var(--ink);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 46px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.amb-banner h2 {
  color: #ffffff;
  margin-bottom: 10px;
}

.amb-banner p {
  color: #d0dfd9;
  max-width: 54ch;
}

.amb-banner .amb-eyebrow {
  color: #a4cbbd;
}

.amb-contact-card {
  background: var(--ink);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px;
}

.amb-contact-card h2,
.amb-contact-card h3 {
  color: #ffffff;
}

.amb-contact-card a {
  color: #b7ded0;
}

.amb-contact-card a:hover {
  color: #ffffff;
}

.amb-contact-rows {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.amb-contact-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.amb-contact-row strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a4cbbd;
  margin-bottom: 3px;
}

.amb-map-box {
  background: var(--bg-sage-soft);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  min-height: 290px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  color: var(--ink-muted);
}

/* Portrait Frame */
.amb-portrait {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  background: var(--bg-sage-soft);
}

/* Badges / Tags */
.amb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.amb-tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-sage-soft);
  border: 1px solid var(--border);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink);
}

/* ==========================================================================
   Icons (CSS Mask — zero inline SVG required in HTML)
   ========================================================================== */
.amb-ic {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  background-color: var(--accent);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.amb-contact-card .amb-ic {
  background-color: #a4cbbd;
}

.amb-ic--phone {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.amb-ic--mail {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E");
}

.amb-ic--pin {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.amb-ic--clock {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
}

.amb-ic--shield {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
}

.amb-ic--card-badge {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 10px;
  background-color: var(--bg-sage-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.amb-footer {
  background: var(--ink);
  color: #c8d8d2;
  padding: 64px 0 32px;
  font-size: 0.92rem;
}

.amb-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.amb-footer h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a4cbbd;
  margin-bottom: 14px;
}

.amb-footer a {
  color: #e6f0ec;
  text-decoration: none;
}

.amb-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.amb-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.amb-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.amb-footer__brand-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #ffffff;
  font-weight: 600;
}

.amb-footer__bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: #9cb3ab;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 980px) {
  .amb-hero__grid,
  .amb-split,
  .amb-split--media {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .amb-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .amb-grid--3,
  .amb-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .amb-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .amb-menu-toggle {
    display: inline-flex;
  }

  .amb-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-cream);
    border-bottom: 1px solid var(--border);
    padding: 18px 24px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    box-shadow: var(--shadow-md);
  }

  .amb-nav.is-open {
    display: flex;
  }

  .amb-nav__list {
    flex-direction: column;
    align-items: stretch;
  }

  .amb-nav__link {
    padding: 11px 14px;
  }

  .amb-nav__cta {
    margin-left: 0;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .amb-section {
    padding: 54px 0;
  }

  .amb-hero {
    padding: 50px 0 46px;
  }

  .amb-strip__grid,
  .amb-grid--2,
  .amb-grid--3,
  .amb-grid--4,
  .amb-footer__grid {
    grid-template-columns: 1fr;
  }

  .amb-banner {
    padding: 32px 24px;
  }

  .amb-contact-card {
    padding: 26px 22px;
  }
}
