:root {
  --navy: #0b2c4a;
  --navy-deep: #062038;
  --brand: #015687;
  --brand-hover: #014870;
  --cyan: #67e8f9;
  --sky: #4eb8d9;
  --text: #2c3e50;
  --muted: #5a6a7a;
  --light-bg: #f3f5f7;
  --white: #ffffff;
  --border: #d9e2ec;
  --font-display: "Montserrat", "Poppins", system-ui, sans-serif;
  --font-body: "Poppins", "Montserrat", system-ui, sans-serif;
  --radius-pill: 999px;
  --shadow: 0 12px 40px rgba(11, 44, 74, 0.08);
  --container: min(1140px, calc(100% - 48px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.72rem;
}

.btn-solid {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}

.btn-solid:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-outline-navy {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}

.btn-outline-navy:hover {
  background: rgba(1, 86, 135, 0.08);
}

/* Announcement */
.announce-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: #111827;
  color: #93c5fd;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
}

.announce-link {
  color: #93c5fd;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.announce-nav {
  background: transparent;
  border: 0;
  color: #93c5fd;
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
}

/* Utility */
.utility-bar {
  background: #f2f4f6;
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 0;
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.utility-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--brand);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 0.85rem;
}

.lang-btn img,
.lang-flag {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.15rem;
  line-height: 1;
}

.chev {
  font-size: 0.7em;
  opacity: 0.8;
}

/* Hero */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  color: var(--white);
  background: #062038;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  z-index: 0;
  pointer-events: none;
}

.hero-compact {
  min-height: 0;
  padding-bottom: 1.25rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(6, 32, 56, 0.78) 0%, rgba(1, 86, 135, 0.5) 55%, rgba(6, 32, 56, 0.68) 100%),
    radial-gradient(ellipse at 70% 40%, transparent 0%, rgba(6, 32, 56, 0.35) 70%);
  pointer-events: none;
}

.hero-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--brand), #0490c7);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

.hero .logo {
  padding: 0.4rem 0.7rem 0.4rem 0.45rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
}

.main-nav {
  background: rgba(11, 44, 74, 0.72);
  backdrop-filter: blur(8px);
  border-radius: 4px;
  padding: 0.35rem 0.5rem;
}

.main-nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.main-nav a,
.main-nav button {
  color: var(--white);
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0.7rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav button:hover {
  opacity: 0.85;
}

.has-sub {
  position: relative;
}

.submenu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 260px;
  background: var(--white);
  color: var(--text);
  border-radius: 8px;
  box-shadow: var(--shadow);
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  display: none;
  z-index: 20;
}

.has-sub:hover .submenu,
.has-sub:focus-within .submenu {
  display: block;
}

.submenu a {
  color: var(--text);
  display: block;
  padding: 0.65rem 1rem;
  white-space: normal;
}

.submenu a:hover {
  background: var(--light-bg);
  opacity: 1;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: white;
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
  cursor: pointer;
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 0 6rem;
  max-width: 920px;
}

.hero-content h1 {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.8vw, 3.7rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-content p {
  margin: 0 0 1.75rem;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  max-width: 680px;
  font-weight: 300;
  opacity: 0.95;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

/* Optimize */
.optimize {
  background: var(--light-bg);
  padding: 0 0 4rem;
  margin-top: -2.5rem;
  position: relative;
  z-index: 3;
}

.optimize-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 3.5rem 2.5rem 2.5rem;
}

.optimize h2 {
  margin: 0 0 1rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--sky);
  line-height: 1.2;
}

.optimize h2 span {
  color: var(--navy);
}

.optimize-card > p {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2.5rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.preview-image {
  margin: 0 auto 2.75rem;
  max-width: 920px;
}

.preview-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 8px;
  background: #dbe4ee;
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.75rem;
}

.photo-strip figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 3 / 4;
  background: #dbe4ee;
}

.photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-strip figure.photo-fit {
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-strip figure.photo-fit img {
  object-fit: cover;
  object-position: center;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.pillar {
  text-align: center;
  padding: 0.5rem;
}

.pillar-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 1rem;
}

.pillar-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pillar h3 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text);
}

/* Tabs */
.service-tabs {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fafbfc;
}

.tab-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--navy);
}

.tab-list button {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.72);
  padding: 1rem 0.75rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  border-bottom: 3px solid transparent;
}

.tab-list button[aria-selected="true"] {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-bottom-color: var(--cyan);
}

.tab-panel {
  padding: 1.75rem;
}

.tab-panel-inner {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.5rem;
  align-items: center;
}

.tab-graphic img {
  width: 140px;
  margin: 0 auto;
}

.tab-panel ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text);
}

.tab-panel li + li {
  margin-top: 0.65rem;
}

/* Empower */
.empower {
  padding: 4.5rem 0;
  background: var(--white);
  text-align: center;
}

.empower h2 {
  margin: 0 0 2.5rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
}

.empower h2 .light {
  color: var(--sky);
  font-weight: 500;
}

.empower h2 .dark {
  color: var(--navy);
  font-weight: 700;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem 1.25rem;
  margin-bottom: 2.5rem;
}

.service-grid article {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.service-grid img {
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.icon-fallback {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(145deg, #015687, #4eb8d9);
  color: white;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}

.service-grid h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  max-width: 160px;
}

/* FAQ */
.faq {
  background: var(--light-bg);
  padding: 4rem 0;
}

.faq-layout {
  max-width: 820px;
}

.faq h3 {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--navy);
}

.accordion details {
  background: var(--white);
  border-radius: 8px;
  margin-bottom: 0.65rem;
  border: 1px solid var(--border);
  overflow: hidden;
}

.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.2rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--brand);
  font-weight: 400;
}

.accordion details[open] summary::after {
  content: "−";
}

.accordion details p {
  margin: 0;
  padding: 0 1.2rem 1.1rem;
  color: var(--muted);
  border-top: 1px solid transparent;
}

/* Partners */
.partners {
  padding: 3.5rem 0;
  text-align: center;
  background: var(--white);
}

.partners h2 {
  margin: 0 0 2rem;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.8rem;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
}

.partner-logo {
  min-width: 120px;
  padding: 1rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.04em;
  background: #fafbfc;
}

/* Newsletter */
.newsletter {
  background: linear-gradient(120deg, var(--navy-deep), var(--brand));
  color: var(--white);
  padding: 3.5rem 0;
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.newsletter h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.3;
  padding-top: 0.85rem;
}

.newsletter p {
  margin: 0;
  opacity: 0.9;
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.9rem;
  color: #dbeafe;
}

.botcheck {
  display: none !important;
}

.newsletter-form .form-field-full,
.newsletter-form button {
  grid-column: 1 / -1;
}

.newsletter-form input,
.newsletter-form textarea {
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  font: inherit;
}

.newsletter-form textarea {
  resize: vertical;
  min-height: 7rem;
}

.newsletter-form .btn-solid {
  background: var(--white);
  color: var(--brand);
  border-color: var(--white);
}

.newsletter-form .btn-solid:hover {
  background: #e8f4fa;
}

/* Service areas */
.service-area {
  padding: 4.5rem 0;
  background: var(--light-bg);
  text-align: center;
}

.service-area h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.service-area-copy {
  max-width: 760px;
  margin: 0 auto 1.75rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.service-area-copy a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.service-area-copy a:hover {
  color: var(--brand-hover);
}

.service-area-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
}

.service-area-list li,
.service-area-list a {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

.service-area-list a {
  display: inline-block;
}

.service-area-list a:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.service-area-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 0;
}

.local-page {
  padding: 4.5rem 0 2rem;
  background: var(--white);
}

.local-page h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--navy);
}

.local-page .lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0 0 2rem;
}

.local-page h2 {
  margin: 2.25rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--brand);
}

.local-page p,
.local-page li {
  color: var(--text);
  max-width: 760px;
}

.local-page a:not(.btn) {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.local-page a:not(.btn):hover {
  color: var(--brand-hover);
}

.local-page ul {
  padding-left: 1.2rem;
}

.local-page li + li {
  margin-top: 0.5rem;
}

.breadcrumb {
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--brand);
}

/* Footer */
.site-footer {
  background: #081a2c;
  color: rgba(255, 255, 255, 0.85);
  padding-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-brand .logo-mark {
  background: linear-gradient(145deg, #0490c7, var(--cyan));
  color: var(--navy-deep);
}

.phone {
  color: #93c5fd;
  font-size: 0.95rem;
  margin: 0.35rem 0 0;
}

.footer-brand p {
  margin: 0.75rem 0 0;
  max-width: 28ch;
}

.site-footer h2 {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0.45rem;
}

.site-footer a:hover {
  color: var(--cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.1rem 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom p {
  margin: 0;
}

/* Motion */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1,
.hero-content p,
.hero-ctas {
  animation: fadeUp 0.7s ease both;
}

.hero-content p {
  animation-delay: 0.12s;
}

.hero-ctas {
  animation-delay: 0.22s;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.contact-modal[hidden] {
  display: none !important;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 32, 56, 0.55);
  backdrop-filter: blur(2px);
}

.contact-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  padding: 2rem 1.75rem 1.75rem;
  text-align: center;
  animation: geoFlagIn 0.25s ease both;
}

.contact-modal-close {
  position: absolute;
  top: 0.55rem;
  right: 0.7rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  width: 40px;
  height: 40px;
}

.contact-modal-close:hover {
  color: var(--navy);
}

.contact-modal-dialog h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
}

.contact-modal-call {
  margin: 0;
}

.contact-modal-call a {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.7rem);
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
}

.contact-modal-call a:hover {
  text-decoration: underline;
}

body.modal-open {
  overflow: hidden;
}

.start-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.start-modal[hidden] {
  display: none !important;
}

.start-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(92vh, 100%);
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  animation: geoFlagIn 0.25s ease both;
}

.start-modal-image-link {
  display: block;
}

.start-modal-dialog img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(88vh, 100%);
  object-fit: contain;
  vertical-align: middle;
}

.start-modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  border: 0;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

.start-modal-close:hover {
  background: var(--white);
  color: var(--brand);
}

.geo-flag {
  position: absolute;
  top: 38%;
  right: max(144px, calc(env(safe-area-inset-right) + 128px));
  height: fit-content;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.55rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 28px rgba(11, 44, 74, 0.18);
  border: 1px solid rgba(1, 86, 135, 0.12);
  animation: geoFlagIn 0.45s ease both;
}

@keyframes geoFlagIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.geo-flag[hidden] {
  display: none !important;
}

.geo-flag-graphic {
  width: 144px;
  height: 96px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.geo-flag-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Canada: red | white + maple | red */
.flag-ca {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  width: 100%;
  height: 100%;
  background: #fff;
}

.flag-ca .flag-bar {
  background: #d52b1e;
}

.flag-ca .flag-center {
  display: grid;
  place-items: center;
  background: #fff;
}

.flag-ca .maple {
  width: 42%;
  height: auto;
  display: block;
}

/* USA: stripes + canton */
.flag-us {
  position: relative;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    #b22234 0 7.69%,
    #fff 7.69% 15.38%
  );
}

.flag-us .flag-canton {
  position: absolute;
  left: 0;
  top: 0;
  width: 40%;
  height: 53.85%;
  background: #3c3b6e;
  background-image: radial-gradient(circle, #fff 1.1px, transparent 1.2px);
  background-size: 18% 20%;
  background-position: 50% 50%;
}

.geo-flag-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}

@media (max-width: 640px) {
  .geo-flag {
    display: none !important;
  }
}

.hero-break {
  display: block;
}

.mobile-toggle-bars,
.mobile-toggle-bars::before,
.mobile-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.mobile-toggle-bars {
  position: relative;
  flex-shrink: 0;
}

.mobile-toggle-bars::before,
.mobile-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.mobile-toggle-bars::before {
  top: -6px;
}

.mobile-toggle-bars::after {
  top: 6px;
}

.mobile-toggle[aria-expanded="true"] .mobile-toggle-bars {
  background: transparent;
}

.mobile-toggle[aria-expanded="true"] .mobile-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] .mobile-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Tablet */
@media (max-width: 960px) {
  :root {
    --container: min(1140px, calc(100% - 32px));
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    border-radius: 10px;
    z-index: 30;
  }

  .hero-top {
    position: relative;
    z-index: 20;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: rgba(8, 26, 44, 0.97);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    max-height: min(70vh, 520px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .main-nav a,
  .main-nav button {
    width: 100%;
    justify-content: space-between;
    padding: 0.95rem 1rem;
    font-size: 1rem;
    border-radius: 8px;
    min-height: 48px;
  }

  .main-nav a:active,
  .main-nav button:active {
    background: rgba(255, 255, 255, 0.08);
  }

  .submenu {
    position: static;
    box-shadow: none;
    display: none;
    min-width: 0;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    margin: 0 0.35rem 0.5rem;
    padding: 0.25rem 0;
  }

  .has-sub:hover .submenu,
  .has-sub:focus-within .submenu {
    display: none;
  }

  .has-sub.is-open .submenu {
    display: block;
  }

  .submenu a {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
  }

  .photo-strip,
  .pillars,
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tab-panel-inner,
  .newsletter-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .tab-list {
    grid-template-columns: 1fr;
  }

  .tab-list button {
    min-height: 48px;
    text-align: left;
    padding: 0.95rem 1rem;
  }
}

/* Phones */
@media (max-width: 640px) {
  :root {
    --container: min(100%, calc(100% - 24px));
  }

  body {
    overflow-x: hidden;
  }

  body.nav-open {
    overflow: hidden;
  }

  .announce-bar {
    gap: 0.35rem;
    padding: 0.55rem 0.65rem;
    padding-left: max(0.65rem, env(safe-area-inset-left));
    padding-right: max(0.65rem, env(safe-area-inset-right));
  }

  .announce-link {
    flex: 1;
    min-width: 0;
    text-align: center;
    font-size: 0.72rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .announce-nav {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .utility-bar {
    padding: 0.5rem 0;
  }

  .utility-inner {
    gap: 0.5rem;
  }

  .utility-right {
    gap: 0.45rem;
    margin-left: auto;
  }

  .utility-bar .social-icon {
    display: none;
  }

  .utility-bar .btn-sm {
    padding: 0.55rem 0.85rem;
    font-size: 0.68rem;
    min-height: 40px;
  }

  .lang-label {
    display: none;
  }

  .lang-btn {
    width: 40px;
    height: 40px;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--white);
  }

  .lang-btn .chev {
    display: none;
  }

  .social-icon {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 0;
  }

  .hero-top {
    padding-top: 0.85rem;
  }

  .hero .logo {
    padding: 0.3rem 0.55rem 0.3rem 0.35rem;
  }

  .hero .logo-mark {
    width: 40px;
    height: 36px;
    font-size: 0.7rem;
  }

  .hero .logo-text {
    font-size: 0.88rem;
  }

  .hero-content {
    padding: 2.5rem 0 3.25rem;
    align-items: stretch;
    text-align: center;
  }

  .hero-content h1 {
    font-size: clamp(1.7rem, 8vw, 2.15rem);
    margin-bottom: 0.85rem;
  }

  .hero-break {
    display: block;
    margin-top: 0.15rem;
  }

  .hero-content p {
    font-size: 0.98rem;
    margin-bottom: 1.35rem;
    padding-inline: 0.15rem;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }

  .hero-ctas .btn {
    width: 100%;
    min-height: 48px;
    padding: 0.95rem 1.1rem;
    font-size: 0.8rem;
  }

  .optimize {
    margin-top: -1.5rem;
    padding-bottom: 2.5rem;
  }

  .optimize-card {
    padding: 1.75rem 1.1rem 1.35rem;
    border-radius: 14px;
  }

  .optimize h2 {
    font-size: clamp(1.45rem, 6.5vw, 1.9rem);
  }

  .optimize-card > p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .photo-strip {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-inline: -1.1rem;
    padding: 0 1.1rem 0.35rem;
    margin-bottom: 1.75rem;
    scrollbar-width: none;
  }

  .photo-strip::-webkit-scrollbar {
    display: none;
  }

  .photo-strip figure {
    flex: 0 0 82%;
    max-width: 300px;
    aspect-ratio: 3 / 4;
    scroll-snap-align: center;
  }

  .pillars {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
  }

  .pillar {
    padding: 0.85rem 0.65rem;
    background: #f7f9fb;
    border-radius: 12px;
  }

  .pillar h3 {
    font-size: 0.92rem;
  }

  .service-tabs {
    border-radius: 12px;
  }

  .tab-panel {
    padding: 1.15rem;
  }

  .tab-panel-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .tab-graphic img {
    width: 110px;
  }

  .tab-panel ul {
    text-align: left;
    padding-left: 1.1rem;
  }

  .empower {
    padding: 3rem 0 2.75rem;
  }

  .empower h2 {
    margin-bottom: 1.75rem;
    font-size: clamp(1.55rem, 7vw, 2.1rem);
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.35rem 0.75rem;
    margin-bottom: 1.75rem;
  }

  .service-grid img,
  .icon-fallback {
    width: 64px;
    height: 64px;
  }

  .service-grid h3 {
    font-size: 0.84rem;
    max-width: 140px;
  }

  .empower-cta .btn {
    width: 100%;
    max-width: 360px;
    min-height: 48px;
  }

  .faq {
    padding: 2.75rem 0;
  }

  .faq h3 {
    font-size: 1.25rem;
    margin-bottom: 1.1rem;
  }

  .accordion summary {
    padding: 1rem 1rem;
    font-size: 0.95rem;
    min-height: 52px;
    gap: 0.75rem;
  }

  .accordion details p {
    padding: 0 1rem 1rem;
    font-size: 0.92rem;
  }

  .partners {
    padding: 2.5rem 0;
  }

  .partners h2 {
    font-size: 1.45rem;
    margin-bottom: 1.25rem;
  }

  .partner-logos {
    gap: 0.65rem;
  }

  .partner-logo {
    min-width: calc(50% - 0.4rem);
    flex: 1 1 calc(50% - 0.4rem);
    padding: 0.9rem 0.75rem;
    font-size: 0.85rem;
  }

  .service-area,
  .local-page {
    padding: 2.75rem 0;
  }

  .newsletter {
    padding: 2.5rem 0;
    padding-bottom: max(2.5rem, env(safe-area-inset-bottom));
  }

  .newsletter h2 {
    font-size: 0.775rem;
    padding-top: 0;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .newsletter-form input,
  .newsletter-form textarea,
  .newsletter-form .btn {
    min-height: 48px;
  }

  .newsletter-form textarea {
    min-height: 7.5rem;
  }

  .site-footer {
    padding-top: 2.25rem;
  }

  .footer-grid {
    gap: 1.5rem;
  }

  .footer-brand .logo-mark {
    width: 36px;
    height: 36px;
  }

  .footer-bottom {
    padding: 1rem 0 max(1rem, env(safe-area-inset-bottom));
    font-size: 0.74rem;
  }
}

@media (max-width: 380px) {
  .utility-bar .btn-outline-navy {
    padding-inline: 0.7rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    gap: 0.85rem;
    padding: 0.65rem 0.75rem;
    background: #f7f9fb;
    border-radius: 12px;
  }

  .service-grid h3 {
    max-width: none;
  }

  .partner-logo {
    min-width: 100%;
  }
}
