:root {
  --navy: #102a43;
  --navy-dark: #0b1f35;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --sky: #eff6ff;
  --ink: #172033;
  --muted: #64748b;
  --border: #dbe5f1;
  --surface: #ffffff;
  --background: #f4f7fb;
  --danger: #b91c1c;
  --success: #166534;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(
      circle at 5% 10%,
      rgba(59, 130, 246, 0.22),
      transparent 24rem
    ),
    radial-gradient(
      circle at 96% 80%,
      rgba(34, 197, 94, 0.2),
      transparent 22rem
    ),
    linear-gradient(135deg, #eef5ff 0%, #f8fbff 52%, #eef2ff 100%);
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  filter: blur(14px);
  opacity: 0.35;
  pointer-events: none;
  content: "";
}

body::before {
  top: 24%;
  left: -10rem;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
}

body::after {
  right: -9rem;
  bottom: 8%;
  background: linear-gradient(135deg, #22c55e, #06b6d4);
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  letter-spacing: -0.035em;
}

h1 {
  line-height: 0.98;
}

h2 {
  line-height: 1.1;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

/* Shared header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 76px;
  padding: 1rem max(1.25rem, calc((100% - 1180px) / 2));
  overflow: visible;
  color: white;
  background:
    radial-gradient(
      circle at 86% -90%,
      rgba(125, 211, 252, 0.45),
      transparent 24rem
    ),
    linear-gradient(115deg, #0f2747 0%, #123d72 48%, #2563eb 100%);
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(18px);
}

.site-header::after {
  position: absolute;
  right: 8%;
  bottom: -5rem;
  width: 16rem;
  height: 10rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: rotate(-18deg);
  pointer-events: none;
  content: "";
}

.brand {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.18rem;
  color: white;
  text-decoration: none;
}

.brand strong {
  font-size: 1.05rem;
}

.brand span {
  color: #bfdbfe;
  font-size: 0.78rem;
}

.site-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.site-nav > a,
.nav-dropdown summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 0.7rem;
  color: #dbeafe;
  border-radius: 9px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav > a:hover,
.site-nav > a.active,
.nav-dropdown summary:hover,
.nav-dropdown[open] summary {
  color: white;
  background: rgba(255, 255, 255, 0.14);
}

.site-nav > a.nav-cta {
  color: var(--navy);
  background: white;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  cursor: pointer;
  list-style: none;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary span {
  color: currentColor;
  font-size: 1rem;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 0;
  z-index: 30;
  display: grid;
  min-width: 230px;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: white;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.dropdown-menu a {
  padding: 0.7rem 0.8rem;
  color: var(--ink);
  border-radius: 9px;
  font-size: 0.86rem;
  text-decoration: none;
}

.dropdown-menu a:hover {
  color: var(--blue-dark);
  background: var(--sky);
}

/* Portal layout */

body > main:not(.public-main) {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.25rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 2rem auto 4rem;
}

body > main:not(.public-main)::before {
  position: absolute;
  top: -1rem;
  right: 8%;
  width: 8rem;
  height: 8rem;
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 2rem;
  transform: rotate(18deg);
  pointer-events: none;
  content: "";
}

.card {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2rem);
  overflow: hidden;
  border: 1px solid rgba(191, 219, 254, 0.75);
  border-radius: 22px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.96),
      rgba(248, 250, 252, 0.9)
    );
  box-shadow:
    0 24px 60px rgba(30, 64, 175, 0.1),
    0 3px 12px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(12px);
}

.card::after {
  position: absolute;
  top: -5rem;
  right: -5rem;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: rgba(219, 234, 254, 0.55);
  filter: blur(4px);
  pointer-events: none;
  content: "";
}

.card > * {
  position: relative;
  z-index: 1;
}

.card:first-child {
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(191, 219, 254, 0.7),
      transparent 20rem
    ),
    linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
}

.card:first-child::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #2563eb, #38bdf8, #22c55e);
  content: "";
}

.card:first-child h1 {
  max-width: 10ch;
  color: var(--navy);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
}

.card:first-child > p {
  max-width: 38rem;
  font-size: 1.05rem;
}

#auth {
  max-width: 620px;
}

#newTicket {
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(220, 252, 231, 0.7),
      transparent 18rem
    ),
    linear-gradient(145deg, #ffffff 0%, #f7fffb 100%);
}

#tickets {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
}

body > main:not(.public-main) > .card:last-child {
  grid-column: 1 / -1;
}

/* Forms */

label {
  display: block;
  margin: 1rem 0 0.45rem;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.82rem 0.95rem;
  color: var(--ink);
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  outline: none;
  background: white;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

button {
  margin: 0.75rem 0.45rem 0 0;
  padding: 0.78rem 1rem;
  color: white;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--blue), #3b82f6);
  box-shadow: 0 7px 16px rgba(37, 99, 235, 0.2);
  font-weight: 700;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

button:hover {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.28);
  transform: translateY(-1px);
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(56, 189, 248, 0.7);
  outline-offset: 3px;
}

#forgotPassword,
#refresh {
  color: var(--blue);
  border: 1px solid #bfdbfe;
  background: var(--sky);
  box-shadow: none;
}

#signOut {
  background: #475569;
  box-shadow: none;
}

#resetPassword {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #f8fafc;
}

#authMessage,
#message {
  min-height: 1.4rem;
  margin-top: 1rem;
  font-size: 0.92rem;
  font-weight: 600;
}

#authMessage {
  color: var(--blue-dark);
}

#message {
  color: var(--danger);
}

#roleBanner {
  display: inline-flex;
  width: fit-content;
  padding: 0.45rem 0.75rem;
  color: var(--success);
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  background: #f0fdf4;
  font-size: 0.86rem;
  font-weight: 700;
}

/* Portal ticket cards */

article {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, white, #f8fafc);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

#tickets article:hover {
  border-color: #93c5fd;
  box-shadow:
    0 16px 30px rgba(37, 99, 235, 0.1),
    0 3px 10px rgba(15, 23, 42, 0.04);
  transform: translateY(-2px);
}

#tickets article > div:first-child {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.status {
  display: inline-flex;
  flex-shrink: 0;
  padding: 0.35rem 0.65rem;
  color: var(--blue-dark);
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: capitalize;
}

article small {
  color: var(--muted);
}

/* General public page structure */

.public-main {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
}

.public-main::before {
  display: none;
}

.eyebrow {
  display: inline-flex;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.1rem;
  color: white;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--blue), #3b82f6);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.25);
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.button:hover {
  color: white;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.3);
  transform: translateY(-1px);
}

.button-secondary {
  color: var(--blue);
  border: 1px solid #bfdbfe;
  background: white;
  box-shadow: none;
}

.button-secondary:hover {
  color: var(--blue-dark);
  background: var(--sky);
  box-shadow: none;
}

.button-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  margin-left: 0.55rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.85rem;
  line-height: 1;
}

.page-hero,
.detail-hero,
.section-block,
.content-grid,
.service-grid,
.contact-grid,
.detail-layout,
.callout-section,
.benefits-section,
.faq-section {
  width: min(1120px, calc(100% - 2rem));
  margin-right: auto;
  margin-left: auto;
}

.page-hero {
  padding: 5rem 0 3rem;
}

.page-hero h1,
.detail-hero h1 {
  max-width: 760px;
  margin: 0.8rem 0 1.2rem;
  color: var(--navy);
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.page-hero p,
.detail-hero p {
  max-width: 680px;
  font-size: 1.08rem;
}

.section-block,
.content-grid,
.service-grid,
.contact-grid,
.detail-layout,
.benefits-section,
.faq-section {
  margin-bottom: 4rem;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  margin: 0.7rem 0 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

/* Home hero */

.modern-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 6rem) 0 4rem;
}

.modern-hero-copy {
  min-width: 0;
  max-width: 650px;
}

.modern-hero-copy h1 {
  max-width: 10ch;
  margin: 0.8rem 0 1.25rem;
  color: var(--navy);
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.95;
  overflow-wrap: normal;
  word-break: normal;
}

.modern-hero-copy p {
  max-width: 36rem;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.3rem;
  margin-top: 1.5rem;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 700;
}

.modern-hero-card {
  min-width: 0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  color: white;
  border: 1px solid rgba(147, 197, 253, 0.45);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 0, #38bdf8, transparent 12rem),
    linear-gradient(145deg, #102a43, #1d4ed8);
  box-shadow: 0 24px 55px rgba(30, 64, 175, 0.28);
}

.hero-card-label {
  color: #bae6fd;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.modern-hero-card h2 {
  max-width: 14ch;
  margin: 2rem 0;
  color: white;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.hero-stat-grid div {
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-stat-grid strong,
.hero-stat-grid span {
  display: block;
}

.hero-stat-grid strong {
  font-size: 1.35rem;
}

.hero-stat-grid span {
  margin-top: 0.25rem;
  color: #dbeafe;
  font-size: 0.75rem;
}

.hero-card-link {
  display: inline-block;
  margin-top: 1.7rem;
  color: white;
  font-weight: 800;
  text-decoration: none;
}

/* Public cards */

.feature-grid,
.content-grid,
.service-grid,
.contact-grid,
.benefits-grid {
  display: grid;
  gap: 1rem;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.content-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.content-card,
.service-card,
.contact-card,
.benefit-card {
  min-width: 0;
  padding: 1.5rem;
  overflow-wrap: anywhere;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.feature-card,
.service-card {
  min-height: 250px;
}

.feature-card h3,
.content-card h2,
.service-card h2,
.contact-card h2,
.benefit-card h3 {
  margin: 1.2rem 0 0.6rem;
}

.feature-card a,
.text-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: none;
}

.feature-card a:hover,
.text-link:hover {
  text-decoration: underline;
}

.feature-icon,
.hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  color: var(--blue);
  border-radius: 14px;
  background: #dbeafe;
  font-size: 1.4rem;
  font-weight: 900;
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-label {
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 900;
}

.contact-card {
  color: inherit;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease;
}

.contact-card:hover,
.feature-card:hover,
.service-card:hover,
.content-card:hover,
.benefit-card:hover {
  border-color: #93c5fd;
  transform: translateY(-3px);
}

.contact-card strong {
  display: block;
  margin-top: 1rem;
  color: var(--blue-dark);
}

/* Benefits and FAQ */

.benefits-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit-card {
  min-height: 220px;
}

.faq-section {
  max-width: 850px;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
}

.faq-list summary {
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin-bottom: 0;
}

/* Detail page */

.detail-hero {
  padding: 4rem 0 3rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: none;
}

.check-list,
.step-list {
  display: grid;
  gap: 0.9rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.7rem;
  color: #475569;
  line-height: 1.55;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: #16a34a;
  content: "✓";
  font-weight: 900;
}

.step-list {
  counter-reset: service-step;
}

.step-list li {
  display: grid;
  grid-template-columns: 2.3rem 1fr;
  gap: 0.8rem;
  color: #475569;
}

.step-list li::before {
  display: grid;
  width: 2rem;
  height: 2rem;
  color: white;
  border-radius: 50%;
  background: var(--blue);
  content: counter(service-step);
  counter-increment: service-step;
  place-items: center;
  font-weight: 900;
}

.step-list strong,
.step-list span {
  grid-column: 2;
}

.step-list strong {
  grid-row: 1;
  color: var(--ink);
}

.step-list span {
  grid-row: 2;
}

/* Contact strip used by portal */

.contact-strip {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.5fr);
  gap: 1.5rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 1.5rem auto 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(147, 197, 253, 0.7);
  border-radius: 22px;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(186, 230, 253, 0.75),
      transparent 22rem
    ),
    linear-gradient(135deg, #102a43 0%, #164e86 55%, #2563eb 100%);
  box-shadow: 0 20px 45px rgba(30, 64, 175, 0.2);
}

.contact-intro {
  align-self: center;
}

.contact-intro h2 {
  margin: 0.35rem 0 0.65rem;
  color: white;
}

.contact-intro p {
  margin: 0;
  color: #dbeafe;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.contact-option {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  min-height: 125px;
  padding: 1rem;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  text-decoration: none;
}

.contact-icon {
  display: grid;
  flex: 0 0 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  color: white;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  font-size: 1.2rem;
  font-weight: 800;
}

.contact-option strong,
.contact-option small,
.contact-option b {
  display: block;
}

.contact-option small {
  margin: 0.25rem 0 0.55rem;
  color: var(--muted);
}

.contact-option b {
  overflow-wrap: anywhere;
  color: var(--blue-dark);
  font-size: 0.86rem;
}

/* Callout and footer */

.callout-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  color: white;
  border-radius: 24px;
  background: linear-gradient(120deg, #102a43, #1d4ed8);
  box-shadow: 0 18px 40px rgba(30, 64, 175, 0.2);
}

.callout-section h2 {
  color: white;
}

.callout-section p {
  margin-bottom: 0;
  color: #dbeafe;
}

.callout-section .button {
  flex-shrink: 0;
  color: var(--navy);
  background: white;
  box-shadow: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0;
  color: var(--muted);
  border-top: 1px solid var(--border);
  font-size: 0.86rem;
}

/* Responsive layout */

@media (max-width: 1000px) {
  .modern-hero {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
    gap: 2rem;
  }

  .feature-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 850px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .modern-hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 4rem;
  }

  .modern-hero-copy {
    max-width: none;
  }

  .modern-hero-copy h1 {
    max-width: 12ch;
  }

  .modern-hero-card {
    max-width: 620px;
  }

  .content-grid,
  .detail-layout,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .contact-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-nav {
    width: 100%;
  }

  .site-nav > a,
  .nav-dropdown {
    flex: 1 1 auto;
  }

  .site-nav > a {
    text-align: center;
  }

  .nav-dropdown summary {
    justify-content: center;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    margin-top: 0.4rem;
  }

  body > main:not(.public-main) {
    grid-template-columns: 1fr;
    width: calc(100% - 1rem);
    margin-top: 1rem;
  }

  .card {
    border-radius: 16px;
  }

  #tickets article > div:first-child {
    align-items: flex-start;
    flex-direction: column;
  }

  button {
    width: 100%;
    margin-right: 0;
  }

  .modern-hero,
  .page-hero,
  .detail-hero,
  .section-block,
  .content-grid,
  .service-grid,
  .contact-grid,
  .detail-layout,
  .benefits-section,
  .faq-section,
  .callout-section {
    width: calc(100% - 2rem);
  }

  .modern-hero {
    padding-top: 3rem;
  }

  .modern-hero-copy h1,
  .page-hero h1,
  .detail-hero h1 {
    max-width: none;
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-stat-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .service-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .callout-section,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .callout-section .button {
    width: 100%;
  }

  .contact-options {
    grid-template-columns: 1fr;
  }

  .contact-option {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}