/* ═══════════════════════════════════════════════
   Inner Pages — Contact, How to Order, Payment
   ═══════════════════════════════════════════════ */

/* ── Inner Hero ── */
.inner-hero {
  padding: clamp(48px, 6vw, 80px) 0 clamp(36px, 4vw, 56px);
  background: linear-gradient(135deg, var(--ytm-dark, #0F172A) 0%, var(--ytm-primary, #123553) 100%);
  color: #fff;
}

.inner-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.inner-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(15px, 1.8vw, 18px);
  max-width: 560px;
  line-height: 1.65;
}

.inner-hero .hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.inner-hero .hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.inner-hero .hero-breadcrumb a:hover {
  color: #fff;
}

.inner-hero .hero-breadcrumb .separator {
  font-size: 0.75rem;
}

/* ── Page Content Area ── */
.inner-page-content {
  padding: var(--ytm-space-2xl, 48px) 0 var(--ytm-space-3xl, 64px);
  background: var(--ytm-bg, #F8FAFC);
}

.inner-page-content .ytm-container {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--ytm-space-2xl, 48px);
  align-items: start;
}

.inner-page-content.main-only {
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 0 auto;
}

/* ── Section Blocks ── */
.inner-section {
  background: var(--ytm-surface, #FFFFFF);
  border: 1px solid var(--ytm-border, #e2ebee);
  border-radius: var(--ytm-radius-md, 12px);
  box-shadow: var(--ytm-shadow-sm);
  padding: clamp(24px, 3.5vw, 42px);
  margin-bottom: var(--ytm-space-lg, 24px);
}

.inner-section h2 {
  margin: 0 0 16px;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  color: var(--ytm-dark, #0F172A);
  line-height: 1.4;
}

.inner-section p {
  color: var(--ytm-muted, #416075);
  font-size: 0.95rem;
  line-height: 1.8;
}

.inner-section img {
  max-width: 100%;
  height: auto;
  border-radius: var(--ytm-radius-sm, 8px);
}

/* ── Static Contact Page ── */
.custom-page.contact-page-shell {
  width: min(1220px, calc(100% - 40px));
  max-width: none;
  padding: clamp(30px, 5vw, 64px) 0 72px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.contact-page-shell > h1 {
  max-width: 1120px;
  margin: 0 auto 28px;
  padding: 0 20px 16px;
  color: var(--ytm-navy, #123553);
  border: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.25;
}

.contact-page {
  display: grid;
  gap: 28px;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: stretch;
  padding: clamp(28px, 5vw, 58px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 92% 15%, rgba(255, 255, 255, .14) 0 90px, transparent 91px),
    linear-gradient(135deg, var(--ytm-navy, #123553), var(--ytm-blue-dark, #15558d));
  border-radius: var(--ytm-radius-lg, 24px);
  box-shadow: var(--ytm-shadow-md);
}

.contact-kicker {
  margin: 0 0 10px;
  color: var(--ytm-gold, #f5b841);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.contact-page-shell .contact-kicker {
  color: var(--ytm-gold, #f5b841);
}

.contact-hero h2,
.contact-hero h3,
.contact-channel h3,
.contact-location h2,
.contact-process h3,
.contact-faq h2 {
  color: inherit;
}

.contact-hero h2 {
  max-width: 16ch;
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.25;
}

.contact-hero__copy > p:not(.contact-kicker):not(.contact-note) {
  max-width: 60ch;
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.85;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact-page-shell .contact-actions .site-button {
  min-height: 46px;
}

.contact-page-shell .contact-actions .site-button--outline {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .55);
}

.contact-page-shell .contact-actions .site-button--outline:hover {
  color: var(--ytm-navy, #123553);
  background: #fff;
  border-color: #fff;
}

.contact-note {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: .875rem;
}

.contact-page-shell .contact-note {
  color: rgba(255, 255, 255, .72);
}

.contact-hero__panel {
  align-self: center;
  padding: 26px 28px;
  color: var(--ytm-navy, #123553);
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: var(--ytm-radius-md, 12px);
  box-shadow: 0 18px 40px rgba(8, 34, 58, .18);
}

.contact-panel__label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--ytm-blue-dark, #15558d);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-hero__panel h3 {
  margin: 0 0 16px;
  color: var(--ytm-navy, #123553);
  font-size: 1.35rem;
}

.contact-checklist {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: contact-check;
}

.contact-checklist li {
  position: relative;
  padding-left: 38px;
  color: var(--ytm-ink, #18324a);
  line-height: 1.65;
  counter-increment: contact-check;
}

.contact-checklist li::before {
  position: absolute;
  top: .1em;
  left: 0;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  color: #fff;
  background: var(--ytm-blue, #1d70b7);
  border-radius: 50%;
  content: counter(contact-check);
  font-size: .78rem;
  font-weight: 800;
}

.contact-section,
.contact-location {
  padding: clamp(26px, 4vw, 46px);
  background: var(--ytm-surface, #fff);
  border: 1px solid var(--ytm-border, #e2ebee);
  border-radius: var(--ytm-radius-lg, 24px);
  box-shadow: var(--ytm-shadow-sm);
}

.contact-section__heading {
  max-width: 680px;
  margin-bottom: 26px;
}

.contact-section__heading h2,
.contact-location h2 {
  margin: 0 0 10px;
  color: var(--ytm-navy, #123553);
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.35;
}

.contact-section__heading > p:last-child {
  margin: 0;
  color: var(--ytm-muted, #416075);
  line-height: 1.8;
}

.contact-channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.contact-channel {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  background: linear-gradient(180deg, #fff, #f7fbfb);
  border: 1px solid var(--ytm-border, #e2ebee);
  border-radius: var(--ytm-radius-md, 12px);
}

.contact-channel--line {
  border-top: 4px solid var(--ytm-blue, #1d70b7);
}

.contact-channel__icon {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  padding: 0 8px;
  color: #fff;
  background: var(--ytm-blue-dark, #15558d);
  border-radius: 12px;
  font-size: .78rem;
  font-weight: 800;
}

.contact-channel--line .contact-channel__icon {
  background: var(--ytm-blue, #1d70b7);
}

.contact-channel h3 {
  margin: 0 0 8px;
  color: var(--ytm-navy, #123553);
  font-size: 1.15rem;
}

.contact-channel p {
  flex: 1;
  margin: 0 0 16px;
  color: var(--ytm-muted, #416075);
  font-size: .92rem;
  line-height: 1.75;
}

.contact-channel a,
.contact-map-link {
  color: var(--ytm-blue-dark, #15558d);
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-channel a:hover,
.contact-map-link:hover {
  color: var(--ytm-gold-dark, #b86f08);
  text-decoration: underline;
}

.contact-location {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr);
  gap: 26px;
  align-items: center;
  background: linear-gradient(135deg, #f3fbfa, #fffaf0);
}

.contact-location > div:first-child > p:not(.contact-kicker) {
  margin: 0 0 4px;
  color: var(--ytm-navy, #123553);
  font-weight: 700;
}

.contact-location address {
  max-width: 48ch;
  margin: 0 0 18px;
  color: var(--ytm-muted, #416075);
  font-style: normal;
  line-height: 1.8;
}

.contact-location__note {
  padding: 22px 24px;
  background: rgba(255, 255, 255, .78);
  border-left: 4px solid var(--ytm-gold, #f5b841);
  border-radius: 0 var(--ytm-radius-md, 12px) var(--ytm-radius-md, 12px) 0;
}

.contact-location__note strong {
  color: var(--ytm-navy, #123553);
}

.contact-location__note p {
  margin: 8px 0 0;
  color: var(--ytm-muted, #416075);
  line-height: 1.75;
}

.contact-process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.contact-process li {
  padding: 24px;
  background: var(--ytm-bg, #f8fafc);
  border-radius: var(--ytm-radius-md, 12px);
}

.contact-process li > span {
  display: block;
  margin-bottom: 18px;
  color: var(--ytm-gold-dark, #b86f08);
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.contact-process h3 {
  margin: 0 0 8px;
  color: var(--ytm-navy, #123553);
  font-size: 1.1rem;
}

.contact-process p {
  margin: 0;
  color: var(--ytm-muted, #416075);
  font-size: .92rem;
  line-height: 1.75;
}

.contact-faq__list {
  display: grid;
  gap: 10px;
}

.contact-faq details {
  padding: 17px 20px;
  background: var(--ytm-bg, #f8fafc);
  border: 1px solid var(--ytm-border, #e2ebee);
  border-radius: var(--ytm-radius-sm, 8px);
}

.contact-faq summary {
  color: var(--ytm-navy, #123553);
  cursor: pointer;
  font-weight: 800;
}

.contact-faq details p {
  max-width: 78ch;
  margin: 12px 0 0;
  color: var(--ytm-muted, #416075);
  line-height: 1.8;
}

/* ── Contact Form ── */
.contact-form-wrapper {
  background: var(--ytm-surface, #FFFFFF);
  border: 1px solid var(--ytm-border, #e2ebee);
  border-radius: var(--ytm-radius-md, 12px);
  box-shadow: var(--ytm-shadow-sm);
  padding: clamp(24px, 3.5vw, 42px);
}

.contact-form-wrapper h2 {
  margin: 0 0 20px;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  color: var(--ytm-dark, #0F172A);
}

.contact-form-wrapper .form-group {
  margin-bottom: 20px;
}

.contact-form-wrapper label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ytm-dark, #0F172A);
}

.contact-form-wrapper label .required {
  color: #EF4444;
  margin-left: 2px;
}

.contact-form-wrapper input,
.contact-form-wrapper textarea,
.contact-form-wrapper select {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--ytm-border, #e2ebee);
  border-radius: var(--ytm-radius-sm, 8px);
  background: var(--ytm-surface, #FFFFFF);
  color: var(--ytm-dark, #0F172A);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus,
.contact-form-wrapper select:focus {
  outline: none;
  border-color: var(--ytm-primary, #123553);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.contact-form-wrapper textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form-wrapper select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2364748B'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
}

.contact-form-wrapper .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form-wrapper .form-submit {
  margin-top: 8px;
}

.contact-form-wrapper .form-note {
  margin-top: 12px;
  color: var(--ytm-muted, #416075);
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* ── LINE CTA Replacement ── */
.line-cta-replacement {
  background: #1d70b7;
  color: #fff;
  border: none;
  border-radius: var(--ytm-radius-md, 12px);
  padding: 20px 24px;
  text-align: center;
}

.line-cta-replacement h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.1rem;
}

.line-cta-replacement p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.line-cta-replacement a.line-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: #fff;
  color: #15558d;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: var(--ytm-radius-full, 999px);
  transition: box-shadow 0.2s, transform 0.2s;
}

.line-cta-replacement a.line-btn:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
  text-decoration: none;
}

/* ── How to Order Steps ── */
.order-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: order-step;
}

.order-steps li {
  position: relative;
  padding: 16px 0 16px 56px;
  border-bottom: 1px solid var(--ytm-border, #E2E8F0);
  counter-increment: order-step;
}

.order-steps li:last-child {
  border-bottom: 0;
}

.order-steps li::before {
  content: counter(order-step);
  position: absolute;
  top: 16px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--ytm-primary, #123553);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 50%;
}

.order-steps li strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ytm-dark, #0F172A);
  font-size: 1rem;
}

.order-steps li p {
  margin: 0;
  color: var(--ytm-muted, #416075);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ── Payment Notification ── */
.payment-notice {
  background: #FFF8E1;
  border: 1px solid #FFE082;
  border-left: 4px solid var(--ytm-gold, #F59E0B);
  border-radius: 0 var(--ytm-radius-sm, 8px) var(--ytm-radius-sm, 8px) 0;
  padding: 20px 24px;
}

.payment-notice h3 {
  margin: 0 0 8px;
  color: #92400E;
  font-size: 1rem;
  font-weight: 700;
}

.payment-notice p {
  margin: 0;
  color: #78350F;
  font-size: 0.9rem;
  line-height: 1.7;
}

.payment-notice ul {
  margin: 12px 0 0;
  padding-left: 1.4em;
}

.payment-notice li {
  margin-bottom: 6px;
  color: #78350F;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ── Sidebar / Info Card ── */
.inner-sidebar .info-card {
  background: var(--ytm-surface, #FFFFFF);
  border: 1px solid var(--ytm-border, #e2ebee);
  border-radius: var(--ytm-radius-md, 12px);
  box-shadow: var(--ytm-shadow-sm);
  padding: 24px;
  margin-bottom: var(--ytm-space-lg, 24px);
  position: sticky;
  top: 100px;
}

.inner-sidebar .info-card h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ytm-dark, #0F172A);
}

.inner-sidebar .info-card p {
  color: var(--ytm-muted, #416075);
  font-size: 0.875rem;
  line-height: 1.7;
}

.inner-sidebar .info-card .info-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.inner-sidebar .info-card .info-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.875rem;
  color: var(--ytm-text, #18324a);
  line-height: 1.6;
}

.inner-sidebar .info-card .info-list li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--ytm-accent, #1d70b7);
}

.inner-sidebar .contact-quick {
  text-align: center;
}

.inner-sidebar .contact-quick .quick-phone {
  display: block;
  margin-top: 8px;
  color: var(--ytm-primary, #123553);
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
}

.inner-sidebar .contact-quick .quick-phone:hover {
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════ */

@media (max-width: 980px) {
  .inner-page-content .ytm-container {
    grid-template-columns: 1fr;
  }

  .inner-sidebar .info-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .inner-hero {
    padding: 36px 0 28px;
  }

  .inner-hero h1 {
    font-size: 26px;
  }

  .inner-page-content {
    padding: var(--ytm-space-lg, 24px) 0 var(--ytm-space-2xl, 48px);
  }

  .inner-section {
    padding: 20px 16px;
  }

  .contact-form-wrapper {
    padding: 20px 16px;
  }

  .contact-form-wrapper .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .order-steps li {
    padding-left: 48px;
  }

  .inner-sidebar {
    order: -1;
  }
}

/* Company information page */
.company-page-shell { max-width: 1040px; }
.company-page { color: var(--ytm-ink); }
.company-page__intro { padding: 28px 0 34px; }
.company-kicker { margin: 0 0 8px; color: var(--ytm-blue); font-size: 12px; font-weight: 800; letter-spacing: .14em; line-height: 1.4; }
.company-page h2 { margin: 0 0 14px; color: var(--ytm-navy); font-size: clamp(24px, 3vw, 34px); line-height: 1.4; }
.company-page__intro h2 { max-width: 760px; }
.company-page p { line-height: 1.9; }
.company-page__intro > p:not(.company-page__note) { max-width: 820px; margin: 0 0 12px; font-size: 17px; }
.company-page__note { margin: 18px 0 0; padding: 12px 16px; color: var(--ytm-muted); background: #fffaf0; border-left: 4px solid var(--ytm-gold); border-radius: 0 var(--ytm-radius-sm) var(--ytm-radius-sm) 0; font-size: 14px; }
.company-page__section { margin-top: 22px; padding: 30px; border: 1px solid var(--ytm-line); border-radius: var(--ytm-radius-md); background: #fff; }
.company-page__section h2 { margin-bottom: 22px; }
.company-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0; }
.company-facts > div { padding: 14px 0; border-top: 1px solid var(--ytm-line); }
.company-facts dt { color: var(--ytm-muted); font-size: 13px; }
.company-facts dd { margin: 3px 0 0; color: var(--ytm-navy); font-weight: 700; line-height: 1.65; }
.company-dbd-link { display: inline-flex; margin-top: 24px; color: var(--ytm-blue-dark) !important; font-weight: 800; text-underline-offset: 3px; }
.company-service { background: #f4f8fb; border-color: #dfe9f0; }
.company-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.company-service-grid > div { display: grid; gap: 7px; padding: 18px; border: 1px solid #d9e6ee; border-radius: var(--ytm-radius-sm); background: rgba(255,255,255,.82); }
.company-service-grid strong { color: var(--ytm-navy); }
.company-service-grid span { color: var(--ytm-muted); font-size: 14px; line-height: 1.7; }
.team-section { background: #f4f8fb; border-color: #dfe9f0; }
.team-section__heading { max-width: 760px; margin-bottom: 24px; }
.team-section__heading > p:last-child { margin: 0; color: var(--ytm-muted); }
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.team-card { min-width: 0; overflow: hidden; border: 1px solid #d9e6ee; border-radius: var(--ytm-radius-md); background: #fff; box-shadow: 0 8px 22px rgba(18,53,83,.06); }
.team-card__media { aspect-ratio: 1 / 1; overflow: hidden; background: #eaf1f7; }
.team-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.team-card__body { padding: 15px 16px 17px; }
.team-card__name { margin: 0 0 5px; color: var(--ytm-navy); font-size: 16px; line-height: 1.45; }
.team-card__role { min-height: 2.9em; margin: 0; color: var(--ytm-muted); font-size: 13px; line-height: 1.65; }
.company-page__cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 22px; padding: 26px 30px; border-radius: var(--ytm-radius-md); color: #fff; background: var(--ytm-navy); }
.company-page__cta h2 { margin-bottom: 4px; color: #fff; font-size: clamp(21px, 2.6vw, 30px); }
.company-page__cta p { margin: 0; color: rgba(255,255,255,.78); }
.company-page__cta .site-button { flex: 0 0 auto; }

@media (max-width: 760px) {
  .company-page__intro { padding: 10px 4px 22px; }
  .company-page__section { padding: 22px 18px; }
  .company-facts, .company-service-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .company-page__cta { align-items: stretch; flex-direction: column; padding: 22px 18px; }
  .company-page__cta .site-button { width: 100%; }
}

@media (min-width: 761px) and (max-width: 980px) {
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 420px) {
  .team-grid { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .contact-hero,
  .contact-location {
    grid-template-columns: 1fr;
  }

  .contact-hero__panel {
    max-width: 560px;
  }
}

@media (max-width: 760px) {
  .custom-page.contact-page-shell {
    width: calc(100% - 28px);
    padding: 24px 0 52px;
  }

  .contact-page-shell > h1 {
    margin-bottom: 20px;
    padding: 0 4px 12px;
    font-size: 30px;
  }

  .contact-hero,
  .contact-section,
  .contact-location {
    padding: 24px 18px;
    border-radius: var(--ytm-radius-md, 12px);
  }

  .contact-hero h2 {
    max-width: none;
    font-size: 30px;
  }

  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-actions .site-button {
    width: 100%;
  }

  .contact-channel-grid,
  .contact-process {
    grid-template-columns: 1fr;
  }

  .contact-channel {
    min-height: 0;
  }
}
