/* Corporate template — Apple-style demo (บ้านสวนชา example content) */
:root {
  --accent: #5c3d2e;
  --accent-hover: color-mix(in oklch, var(--accent) 88%, black);
  --accent-active: color-mix(in oklch, var(--accent) 78%, black);
}

#agn .agn__menu-trigger-lines span {
  border-top: 1.2px solid currentColor;
}

#agn .agn__cta-bar {
  min-width: 44px;
  min-height: 44px;
  box-sizing: border-box;
}

#agn .agn__link {
  min-width: 44px;
  min-height: 44px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hp-hero {
  text-align: center;
  padding-top: var(--space-5);
  padding-bottom: var(--section-padding-main);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 55%);
}

.hp-hero.section {
  padding-top: var(--space-5);
}

@media (min-width: 735px) {
  .hp-hero.section {
    padding-top: var(--space-8);
  }
}

.hp-hero .stack--to-cta {
  max-width: 42rem;
  margin-inline: auto;
}

.hp-hero .typography-hero-headline {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
}

.hp-tile-grid {
  display: grid;
  gap: var(--band-seam-gap);
  grid-template-columns: 1fr;
}

@media (min-width: 735px) {
  .hp-tile-grid--duo {
    grid-template-columns: 1fr 1fr;
  }
}

.hp-tile {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--stack-gap-headline-subhead);
}

.hp-tile__title {
  font-weight: 600;
  font-size: 28px;
  line-height: 1.15;
  margin: 0;
  letter-spacing: 0;
}

:lang(th) .hp-tile__title {
  line-height: var(--leading-thai-heading, 1.5);
}

.hp-tile__desc {
  margin: 0;
  font-size: 17px;
  color: var(--text-muted);
  max-width: 22rem;
}

.hp-trust-list {
  margin: var(--space-6) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 735px) {
  .hp-trust-list {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap-col);
  }
}

.hp-trust-list li {
  padding: var(--space-5);
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.hp-trust-list strong {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.hp-featured {
  display: grid;
  gap: var(--grid-gap-row);
}

@media (min-width: 735px) {
  .hp-featured {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hp-featured-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
}

.hp-featured-card__visual {
  aspect-ratio: 4 / 3;
  background: color-mix(in oklch, var(--accent) 18%, var(--surface));
  display: grid;
  place-items: center;
  font-size: 14px;
  color: var(--text-muted);
}

.hp-featured-card__body {
  padding: var(--space-5);
}

.hp-featured-card__body h3 {
  margin: 0 0 var(--space-2);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0;
}

.hp-contact-grid {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 735px) {
  .hp-contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.hp-line-band {
  background: var(--brand);
  color: var(--brand-contrast);
  text-align: center;
}

.hp-line-band .typography-section-headline {
  color: inherit;
  font-size: clamp(28px, 4vw, 40px);
}

.hp-line-band .typography-tile-subhead {
  color: color-mix(in oklch, var(--brand-contrast) 75%, transparent);
}

.hp-line-band .button {
  --sk-button-background: var(--accent);
  --sk-button-color: var(--accent-contrast);
}

#offer .typography-section-headline {
  text-align: center;
}
