:root {
  --ink: #1f2922;
  --forest: #28362c;
  --forest-deep: #17221b;
  --moss: #64725f;
  --sand: #dcc4a1;
  --sand-light: #eee2d0;
  --cream: #f5f0e7;
  --paper: #fbf9f4;
  --terracotta: #a34d3e;
  --line: rgba(31, 41, 34, 0.16);
  --white-line: rgba(255, 255, 255, 0.24);
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 28px 80px rgba(19, 31, 24, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.announcement {
  min-height: 36px;
  padding: 6px 5vw;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--terracotta);
  color: #fff8ef;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.text-button {
  padding: 0 0 2px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: inherit;
  font-weight: 700;
  letter-spacing: inherit;
  text-transform: inherit;
}

.site-header {
  height: 86px;
  padding: 0 clamp(24px, 5vw, 78px);
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  gap: 34px;
  position: relative;
  z-index: 30;
  background: rgba(251, 249, 244, 0.96);
  border-bottom: 1px solid rgba(31, 41, 34, 0.08);
}

.brand img {
  width: 158px;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3vw, 46px);
}

.desktop-nav a,
.nav-item > a {
  position: relative;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.desktop-nav a::after,
.nav-item > a::after {
  width: 0;
  height: 1px;
  position: absolute;
  right: 0;
  bottom: -6px;
  background: var(--terracotta);
  content: "";
  transition: width 180ms ease;
}

.desktop-nav a:hover::after,
.nav-item:hover > a::after {
  width: 100%;
  left: 0;
}

.nav-item {
  position: relative;
}

.nav-submenu {
  min-width: 190px;
  padding: 12px;
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  z-index: 45;
  display: grid;
  gap: 4px;
  border: 1px solid rgba(31, 41, 34, 0.08);
  background: rgba(251, 249, 244, 0.98);
  box-shadow: 0 22px 52px rgba(31, 41, 34, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-submenu::before {
  height: 18px;
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  content: "";
}

.nav-has-submenu:hover .nav-submenu,
.nav-has-submenu:focus-within .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-submenu a {
  padding: 10px 12px;
  display: block;
  white-space: nowrap;
  background: transparent;
}

.nav-submenu a:hover {
  background: #f1ece1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.account-button,
.mobile-account-button {
  padding: 7px 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.account-button.signed-in {
  color: var(--terracotta);
  border-color: var(--terracotta);
}

.mobile-account-button {
  width: 100%;
  padding: 12px 0;
  text-align: left;
}

.header-phone {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.header-phone .eyebrow {
  color: #7a817b;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.header-phone strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
}

.button {
  min-height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 10px;
}

.button-dark {
  background: var(--forest);
  color: white;
}

.button-dark:hover {
  background: var(--forest-deep);
}

.button-sand {
  background: var(--sand);
  color: var(--forest-deep);
}

.button-sand:hover {
  background: #e7d2b3;
  color: var(--forest-deep);
}

.button-dark:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; color: white; }
.button-sand:focus-visible { outline: 2px solid white; outline-offset: 3px; color: var(--forest-deep); }

.button-ghost {
  border-color: rgba(255, 255, 255, 0.58);
  color: white;
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.button-plain {
  padding-right: 0;
  padding-left: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.button-full {
  width: 100%;
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  min-height: calc(100vh - 122px);
  position: relative;
  overflow: hidden;
  background: var(--forest);
  color: white;
}

.hero-media,
.closing-image {
  position: absolute;
  inset: 0;
  background-image: url("../images/hero.jpg");
  background-position: center 38%;
  background-size: cover;
  transform: scale(1.015);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 27, 20, 0.74) 0%, rgba(18, 27, 20, 0.31) 52%, rgba(18, 27, 20, 0.12) 100%),
    linear-gradient(0deg, rgba(16, 23, 18, 0.38), transparent 52%);
}

.hero-content {
  width: min(740px, 78vw);
  padding: clamp(80px, 13vh, 154px) 0 130px clamp(28px, 9vw, 142px);
  position: relative;
  z-index: 2;
}

.kicker {
  margin: 0 0 20px;
  color: var(--terracotta);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.kicker.light {
  color: var(--sand-light);
}

.kicker.warm {
  color: #b17c65;
}

.hero h1,
.section h2,
.closing h2,
.modal-form h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(56px, 7vw, 108px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.88;
}

.hero h1 em,
.section h2 em,
.closing h2 em,
.modal-form h2 em {
  font-weight: 400;
}

.hero-copy {
  max-width: 510px;
  margin: 36px 0;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.scroll-cue {
  position: absolute;
  bottom: 0;
  left: clamp(28px, 5vw, 78px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.scroll-cue i {
  width: 1px;
  height: 72px;
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.44);
}

.hero-note {
  position: absolute;
  right: clamp(28px, 5vw, 78px);
  bottom: 46px;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1.8;
  text-transform: uppercase;
}
.hero-note p,
.story-collage blockquote { white-space: pre-line; }

.hero-note span {
  color: var(--sand);
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: 0;
  line-height: 1;
}

.hero-note p {
  margin: 0;
}

.section {
  padding: clamp(90px, 11vw, 180px) clamp(24px, 8vw, 128px);
}

.manifesto {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.section-marker {
  position: absolute;
  top: 136px;
  right: 38px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #8c938d;
  font-size: 8px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transform: rotate(90deg);
}

.section-marker i {
  width: 44px;
  height: 1px;
  background: #a8aaa7;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.55fr);
  gap: clamp(70px, 10vw, 170px);
  align-items: end;
}

.manifesto h2,
.branch-heading h2,
.experience h2,
.quote-section h2 {
  font-size: clamp(48px, 5.4vw, 82px);
}

.manifesto-copy {
  padding-bottom: 8px;
}

.manifesto-copy p,
.experience-intro > p:last-child,
.branch-heading > p {
  margin: 0 0 20px;
  color: #5f675f;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.65;
}

.line-link {
  margin-top: 16px;
  padding-bottom: 6px;
  display: inline-flex;
  gap: 28px;
  border-bottom: 1px solid var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.story-collage {
  min-height: 720px;
  margin-top: clamp(70px, 9vw, 140px);
  position: relative;
}

.story-image {
  margin: 0;
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-image-main {
  width: 65%;
  height: 620px;
}

.story-image-side {
  width: 29%;
  height: 420px;
  position: absolute;
  right: 0;
  bottom: 0;
  padding-bottom: 34px;
}

.story-image-side figcaption {
  margin-top: 10px;
  color: #777e78;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.story-collage blockquote {
  margin: 0;
  padding: 32px 44px;
  position: absolute;
  right: 20%;
  top: 44px;
  z-index: 2;
  background: var(--cream);
  box-shadow: var(--shadow);
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 48px);
  font-style: italic;
  line-height: 1.08;
}

.branch-section {
  background: var(--forest);
  color: white;
}

.branch-heading {
  margin-bottom: clamp(60px, 8vw, 110px);
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 80px;
  align-items: end;
}

.branch-heading > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.branch-list {
  display: grid;
  gap: 36px;
}

.branch-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(480px, 1.18fr);
  background: #f2eadc;
  color: var(--ink);
}

.branch-card:nth-child(even) .branch-visual { order: 2; }

.branch-video-link {
  margin-left: auto;
  color: var(--forest);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.branch-visual {
  min-height: 700px;
  position: relative;
  overflow: hidden;
}

.branch-visual img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  object-position: center 38%;
  transition: transform 800ms ease;
}

.branch-card:hover .branch-visual img {
  transform: scale(1.025);
}

.branch-badge {
  padding: 8px 13px;
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--forest);
  color: white;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.branch-badge::before {
  width: 6px;
  height: 6px;
  margin-right: 8px;
  display: inline-block;
  border-radius: 50%;
  background: #a4bd82;
  content: "";
}

.branch-detail {
  padding: clamp(50px, 7vw, 100px);
}

.branch-detail h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.branch-description {
  max-width: 590px;
  margin: 30px 0 42px;
  color: #5f675f;
  font-family: var(--serif);
  font-size: 20px;
}

.branch-facts {
  padding: 26px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.branch-facts div {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}

.branch-facts div:first-child {
  padding-left: 0;
}

.branch-facts div:last-child {
  border-right: 0;
}

.branch-facts span,
.branch-contact span {
  margin-bottom: 7px;
  color: #777e78;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.branch-facts strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
}

.branch-links {
  margin: 38px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.round-link {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 22px;
}

.round-link svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.branch-contact {
  display: flex;
  gap: 54px;
}

.branch-contact a {
  display: flex;
  flex-direction: column;
}

.branch-contact strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
}

.branch-contact b {
  font-weight: 500;
}

.branch-gallery {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.branch-gallery img {
  width: 100%;
  height: 105px;
  object-fit: cover;
}

.experience {
  background: var(--cream);
}

.experience-intro {
  max-width: 780px;
  margin-bottom: 70px;
}

.experience-intro > p:last-child {
  max-width: 580px;
  margin-top: 28px;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.experience-card {
  min-height: 330px;
  padding: 36px;
  position: relative;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.experience-card > span {
  color: #a07f6b;
  font-family: var(--serif);
  font-size: 20px;
}

.experience-card h3 {
  margin: 80px 0 14px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}

.experience-card p {
  margin: 0;
  color: #687068;
  font-size: 13px;
  line-height: 1.7;
}

.experience-card:nth-child(4) {
  grid-column: 2;
}

.image-card {
  grid-column: span 2;
  grid-row: span 2;
  padding: 0;
  overflow: hidden;
}

.image-card img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
}

.quote-section {
  background: #e8ded0;
}

.quote-lock {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  box-shadow: var(--shadow);
}

.quote-lock-copy {
  padding: clamp(50px, 7vw, 100px);
  background: var(--paper);
}

.quote-lock-copy > p:not(.kicker) {
  margin: 32px 0;
  color: #636b64;
  font-family: var(--serif);
  font-size: 19px;
}

.pdf-link {
  margin-top: 45px;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pdf-link span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pdf-link b {
  color: #7d847e;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quote-lock-art {
  min-height: 710px;
  position: relative;
  overflow: hidden;
}

.quote-lock-art > img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
}

.floating-total {
  width: 215px;
  padding: 26px;
  position: absolute;
  right: 24px;
  bottom: 24px;
  background: rgba(247, 242, 234, 0.94);
  backdrop-filter: blur(10px);
}

.floating-total span {
  display: block;
  color: #777e78;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.floating-total strong {
  display: block;
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.05;
}

.builder {
  max-width: 1420px;
  margin: 0 auto;
}

.builder-header {
  margin-bottom: 46px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.builder-contact-chip {
  padding: 14px 18px;
  display: grid;
  grid-template-columns: auto auto;
  gap: 0 20px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(31, 41, 34, 0.1);
}

.builder-contact-chip span {
  grid-column: 1 / -1;
  color: #7a817b;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.builder-contact-chip strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
}

.builder-contact-chip button {
  padding: 0;
  border: 0;
  border-bottom: 1px solid;
  background: transparent;
  color: #7b5549;
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.builder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.builder-main {
  min-width: 0;
  padding: clamp(30px, 5vw, 72px);
}

.step-tabs {
  margin: 0 0 62px;
  padding: 0;
  display: flex;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.step-tabs li {
  flex: 1;
  position: relative;
}

.step-tabs li::after {
  width: 0;
  height: 2px;
  position: absolute;
  bottom: -1px;
  left: 0;
  background: var(--terracotta);
  content: "";
  transition: width 200ms ease;
}

.step-tabs li.active::after {
  width: 100%;
}

.step-tabs button {
  width: 100%;
  padding: 0 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: #939892;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-align: left;
  text-transform: uppercase;
}

.step-tabs button span {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
}

.step-tabs li.active button {
  color: var(--ink);
}

.builder-step {
  display: none;
}

.builder-step.active {
  display: block;
  animation: step-in 240ms ease both;
}

@keyframes step-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.step-heading {
  margin-bottom: 34px;
  display: flex;
  gap: 20px;
}

.step-heading > span {
  color: #aa7562;
  font-family: var(--serif);
  font-size: 24px;
}

.step-heading h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.15;
}

.step-heading p {
  margin: 0;
  color: #7b817c;
  font-size: 13px;
}

.event-type-grid,
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.choice-card {
  min-height: 150px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border 180ms ease, background 180ms ease;
}

.choice-card:hover,
.choice-card:has(input:checked) {
  border-color: var(--forest);
  background: #f3ede3;
}

.choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-mark {
  width: 18px;
  height: 18px;
  margin-bottom: auto;
  position: relative;
  border: 1px solid #89908a;
  border-radius: 50%;
}

.choice-card input:checked + .choice-mark {
  border: 5px solid var(--forest);
}

.choice-card b {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.15;
}

.choice-card small {
  margin-top: 7px;
  color: #777e78;
  font-size: 10px;
  line-height: 1.4;
}

.form-row {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-row > * {
  min-width: 0;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.field > span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  background: #fff;
  color: var(--ink);
}

.field input[type="time"] {
  -webkit-appearance: none;
  appearance: none;
}

.quote-builder-page .field input[type="date"] {
  display: block;
  inline-size: 100%;
  max-inline-size: 100%;
  min-inline-size: 0;
  -webkit-appearance: none;
  appearance: none;
}

.quote-builder-page .field input[type="date"]::-webkit-date-and-time-value {
  min-inline-size: 0;
  text-align: left;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--moss);
  box-shadow: 0 0 0 3px rgba(100, 114, 95, 0.09);
}

.field small {
  color: #898e89;
  font-size: 9px;
}

.number-control {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
}

.number-control input {
  border-right: 0;
  border-left: 0;
  text-align: center;
  -moz-appearance: textfield;
}

.number-control input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.number-control button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--serif);
  font-size: 22px;
}

.step-actions {
  margin-top: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

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

.menu-card {
  min-height: 245px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: background 180ms ease, border 180ms ease, transform 180ms ease;
}

.menu-card:hover {
  transform: translateY(-2px);
}

.menu-card.selected {
  border-color: var(--forest);
  background: #f0e9de;
}

.menu-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.menu-card-head span {
  color: #9a6958;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.select-dot {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 1px solid #8c938d;
  border-radius: 50%;
}

.menu-card.selected .select-dot {
  border: 5px solid var(--forest);
}

.menu-card h4 {
  margin: 18px 0 8px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}

.menu-card p {
  margin: 0 0 16px;
  color: #737a74;
  font-size: 11px;
  line-height: 1.55;
}

.menu-card ul {
  margin: 0 0 20px;
  padding: 0;
  color: #59615a;
  font-size: 10px;
  list-style: none;
}

.menu-card li::before {
  margin-right: 7px;
  color: #9a6958;
  content: "—";
}

.menu-price {
  margin-top: auto;
  padding-top: 15px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

.menu-price strong {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
}

.menu-price small {
  color: #7b817c;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.addon-group {
  margin-bottom: 34px;
}

.addon-group h4 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
}

.addon-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.addon-card {
  padding: 17px;
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 12px;
  align-items: start;
  border: 1px solid var(--line);
  cursor: pointer;
}

.addon-card:hover,
.addon-card.selected {
  background: #f1eade;
  border-color: #899084;
}

.addon-card input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--forest);
}

.addon-card b {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
}

.addon-card small {
  display: block;
  margin-top: 4px;
  color: #808680;
  font-size: 9px;
  line-height: 1.4;
}

.addon-card strong {
  white-space: nowrap;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
}

.note-field {
  margin-top: 40px;
}

.quote-summary {
  min-height: 700px;
  padding: 34px 30px;
  position: sticky;
  top: 20px;
  background: var(--forest);
  color: white;
}

.summary-top,
.summary-event,
.summary-total,
.summary-included,
.summary-help {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--white-line);
}

.summary-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.summary-top p {
  margin: 0;
  font-family: var(--serif);
  font-size: 24px;
}

.summary-top span {
  color: #aeb7ae;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.summary-top span.saving::before {
  background: #d6a77c;
}

.summary-top span::before {
  width: 6px;
  height: 6px;
  margin-right: 7px;
  display: inline-block;
  border-radius: 50%;
  background: #9bb17c;
  content: "";
}

.summary-event {
  padding-top: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 12px;
}

.summary-event span {
  color: var(--sand);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.summary-event strong {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
}

.summary-event small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
}

.summary-lines {
  min-height: 150px;
  padding: 20px 0;
}

.summary-empty {
  color: rgba(255, 255, 255, 0.53);
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
}

.summary-line {
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 10px;
}

.summary-line span {
  font-family: var(--serif);
  font-size: 15px;
}

.summary-line strong {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
}

.summary-line small {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.5);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.summary-total {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
}

.summary-total > span {
  color: var(--sand);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.summary-total strong {
  margin: 6px 0 4px;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 400;
}

.summary-total small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
}

.summary-included {
  padding-top: 23px;
}

.summary-included span {
  color: #bac2ba;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.summary-included ul {
  margin: 12px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 10px;
  line-height: 1.8;
  list-style: none;
}

.summary-included li::before {
  margin-right: 7px;
  color: var(--sand);
  content: "✓";
}

.summary-help {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  border-bottom: 0;
}

.summary-help span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.summary-help strong {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
}

.closing {
  min-height: 640px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: white;
  text-align: center;
}

.closing-image {
  background-image: url("../images/celebration.jpg");
  background-position: center 42%;
}

.closing-shade {
  position: absolute;
  inset: 0;
  background: rgba(20, 30, 23, 0.56);
}

.closing-content {
  position: relative;
  z-index: 2;
}

.closing h2 {
  margin-bottom: 38px;
  font-size: clamp(55px, 7vw, 100px);
}

footer {
  padding: 70px clamp(24px, 7vw, 110px) 28px;
  background: #171f19;
  color: white;
}

.footer-top {
  padding-bottom: 50px;
  display: grid;
  grid-template-columns: 230px 1fr auto;
  align-items: center;
  gap: 50px;
  border-bottom: 1px solid var(--white-line);
}

.footer-top img {
  width: 200px;
  filter: brightness(1.4) saturate(0.7);
}

.footer-top p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--serif);
  font-size: 18px;
}

.footer-social {
  display: flex;
  gap: 28px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-grid {
  padding: 46px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.footer-grid div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-grid span {
  margin-bottom: 14px;
  color: #bda58a;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-grid a {
  margin: 3px 0;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--serif);
  font-size: 16px;
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.35);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-modal {
  width: min(980px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  overflow: auto;
  background: var(--paper);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.35);
}

.contact-modal[open] {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
}

.contact-modal::backdrop {
  background: rgba(14, 22, 16, 0.76);
  backdrop-filter: blur(6px);
}

.modal-close {
  width: 42px;
  height: 42px;
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  border: 0;
  background: var(--forest);
  color: white;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 25px;
}

.modal-visual {
  min-height: 650px;
  position: relative;
  overflow: hidden;
  background: var(--forest);
}

.modal-visual img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
}

.modal-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20, 30, 23, 0.75), transparent 55%);
  content: "";
}

.modal-visual > div {
  position: absolute;
  right: 34px;
  bottom: 36px;
  left: 34px;
  z-index: 1;
  color: white;
}

.modal-visual span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.modal-visual strong {
  display: block;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.05;
}

.modal-form {
  padding: 70px clamp(34px, 6vw, 72px) 45px;
}

.modal-form h2 {
  font-size: clamp(45px, 5vw, 64px);
}

.modal-form > p:not(.kicker):not(.form-error) {
  margin: 22px 0 26px;
  color: #6e756f;
  font-family: var(--serif);
  font-size: 16px;
}

.modal-form .field {
  margin-bottom: 16px;
}

.consent {
  margin: 18px 0;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: #747b75;
  font-size: 10px;
  line-height: 1.5;
}

.consent input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--forest);
}

.form-error {
  min-height: 20px;
  margin: 0 0 8px;
  color: #a13f34;
  font-size: 11px;
}

.privacy-note {
  margin-top: 14px;
  display: block;
  color: #989d98;
  font-size: 8px;
  line-height: 1.5;
  text-align: center;
}

.account-mode-switch {
  width: 100%;
  margin-top: 14px;
  padding: 9px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: #74584d;
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-modal.login-mode .modal-visual > div strong::after {
  display: block;
  content: "Tekrar hoş geldiniz";
}

.contact-modal.login-mode .modal-visual > div strong {
  font-size: 0;
}

.contact-modal.login-mode .modal-visual > div strong::after {
  font-size: 36px;
}

.account-modal {
  width: min(1120px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  overflow: auto;
  background: var(--paper);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.35);
}

.account-modal[open] {
  display: grid;
  grid-template-columns: 300px 1fr;
}

.account-modal::backdrop {
  background: rgba(14, 22, 16, 0.76);
  backdrop-filter: blur(6px);
}

.account-sidebar {
  min-height: 650px;
  padding: 48px 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background:
    linear-gradient(rgba(27, 40, 31, 0.9), rgba(27, 40, 31, 0.96)),
    url("../images/venue.jpg") center / cover;
  color: white;
}

.account-sidebar img {
  width: 185px;
  margin-bottom: auto;
  filter: brightness(1.35) saturate(0.65);
}

.account-sidebar p {
  margin: 40px 0 6px;
  color: var(--sand);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.account-sidebar h2 {
  margin: 0 0 7px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}

.account-sidebar > span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
}

.account-sidebar .button {
  width: 100%;
  margin-top: 28px;
}

.account-logout {
  width: 100%;
  margin-top: 12px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.account-content {
  padding: 58px clamp(30px, 6vw, 72px);
}

.account-content > h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 400;
  line-height: 1;
}

.account-intro {
  max-width: 560px;
  margin: 16px 0 26px;
  color: #727a73;
  font-family: var(--serif);
  font-size: 16px;
}

.account-stats {
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
}

.account-stats div {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.account-stats div + div {
  border-left: 1px solid var(--line);
}

.account-stats span {
  color: #777e78;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.account-stats strong {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
}

.account-quotes {
  display: grid;
  gap: 12px;
}

.account-quote-card {
  padding: 20px;
  border: 1px solid var(--line);
  background: white;
}

.account-quote-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.account-quote-head span {
  color: #9b6858;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.account-quote-head h3 {
  margin: 5px 0 0;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
}

.account-quote-head strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

.account-quote-meta {
  margin: 16px 0;
  padding: 12px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #747b75;
  font-size: 9px;
}

.account-status {
  padding: 6px 9px;
  display: inline-block;
  background: #ece7dc;
  color: #746052;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.account-status.contracted {
  background: #dce8d7;
  color: #45683d;
}

.account-status.submitted {
  background: #e0e8eb;
  color: #456b75;
}

.account-status.draft {
  background: #eee9df;
  color: #816e5d;
}

.account-contract-link {
  margin-left: 10px;
  padding-bottom: 3px;
  border-bottom: 1px solid;
  color: #45683d;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-empty {
  padding: 55px 20px;
  border: 1px dashed var(--line);
  color: #777e78;
  font-family: var(--serif);
  font-size: 18px;
  text-align: center;
}

.toast {
  max-width: min(440px, calc(100vw - 32px));
  padding: 16px 20px;
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  background: var(--forest-deep);
  color: white;
  box-shadow: var(--shadow);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 170px 1fr auto;
  }

  .desktop-nav {
    gap: 20px;
  }

  .header-phone {
    display: none;
  }

  .story-image-main {
    width: 72%;
  }

  .branch-card {
    grid-template-columns: 0.72fr 1.28fr;
  }

  .branch-visual {
    min-height: 650px;
  }

  .branch-detail {
    padding: 55px;
  }

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

  .image-card {
    grid-column: span 1;
  }

  .experience-card:nth-child(4) {
    grid-column: auto;
  }

  .builder-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .builder-main {
    padding: 42px;
  }
}

@media (max-width: 860px) {
  .branch-card:nth-child(even) .branch-visual { order: 0; }
  .announcement {
    justify-content: space-between;
  }

  .site-header {
    height: 74px;
    grid-template-columns: 1fr auto;
  }

  .brand img {
    width: 132px;
  }

  .desktop-nav,
  .header-actions .button,
  .account-button {
    display: none;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
    padding: 10px 7px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    border: 0;
    background: transparent;
  }

  .menu-toggle span {
    width: 100%;
    height: 1px;
    display: block;
    background: var(--ink);
  }

  .mobile-nav {
    padding: 26px;
    position: absolute;
    top: 110px;
    right: 0;
    left: 0;
    z-index: 29;
    flex-direction: column;
    gap: 18px;
    background: var(--paper);
    box-shadow: 0 24px 50px rgba(31, 41, 34, 0.15);
  }

  .mobile-nav.open {
    display: flex;
  }

  .mobile-nav a {
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 20px;
  }

  .hero {
    min-height: calc(100svh - 110px);
  }

  .hero-content {
    width: 100%;
    padding: 100px 26px 130px;
  }

  .hero h1 {
    font-size: clamp(54px, 16vw, 86px);
  }

  .hero-note {
    display: none;
  }

  .scroll-cue {
    left: auto;
    right: 26px;
  }

  .section {
    padding: 90px 26px;
  }

  .manifesto-grid,
  .branch-heading {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .story-collage {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr 0.65fr;
    gap: 12px;
  }

  .story-image-main,
  .story-image-side {
    width: auto;
    height: 480px;
    position: relative;
  }

  .story-image-side {
    height: 340px;
    margin-top: 70px;
  }

  .story-collage blockquote {
    padding: 22px 26px;
    right: 14%;
    top: -30px;
    font-size: 28px;
  }

  .section-marker {
    display: none;
  }

  .branch-card {
    grid-template-columns: 1fr;
  }

  .branch-visual {
    min-height: 480px;
  }

  .branch-detail {
    padding: 48px 30px;
  }

  .branch-facts {
    grid-template-columns: 1fr;
  }

  .branch-facts div {
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .branch-facts div:last-child {
    border-bottom: 0;
  }

  .branch-contact {
    flex-direction: column;
    gap: 14px;
  }

  .quote-lock {
    grid-template-columns: 1fr;
  }

  .quote-lock-art {
    min-height: 470px;
  }

  .builder-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .builder-layout {
    grid-template-columns: 1fr;
  }

  .quote-summary {
    min-height: 0;
    position: static;
  }

  .contact-modal[open] {
    grid-template-columns: 1fr;
  }

  .modal-visual {
    display: none;
  }

  .account-modal[open] {
    grid-template-columns: 1fr;
  }

  .account-sidebar {
    min-height: auto;
    padding: 35px 28px;
  }

  .account-sidebar img {
    margin-bottom: 35px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-social {
    flex-wrap: wrap;
  }
}

@media (max-width: 580px) {
  .announcement {
    min-height: 32px;
    padding: 6px 14px;
    font-size: 8px;
    letter-spacing: 0.1em;
  }

  .site-header {
    padding: 0 18px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .manifesto h2,
  .branch-heading h2,
  .experience h2,
  .quote-section h2 {
    font-size: 48px;
  }

  .story-collage {
    grid-template-columns: 1fr;
  }

  .story-image-main {
    height: 430px;
  }

  .story-image-side {
    width: 65%;
    height: 300px;
    margin: -70px 0 0 auto;
    border: 8px solid var(--paper);
  }

  .story-collage blockquote {
    right: auto;
    top: -38px;
    left: 10px;
  }

  .branch-heading {
    margin-bottom: 50px;
  }

  .branch-visual {
    min-height: 390px;
  }

  .branch-detail h3 {
    font-size: 50px;
  }

  .branch-links {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .branch-links .button {
    width: 100%;
  }

  .branch-links .round-link {
    width: 46px;
    height: 46px;
    border-radius: 50%;
  }

  .experience-grid {
    grid-template-columns: 1fr;
  }

  .image-card {
    min-height: 430px;
    grid-row: auto;
  }

  .quote-lock-copy {
    padding: 50px 28px;
  }

  .builder-header h2 {
    font-size: 48px;
  }

  .builder-main {
    padding: 36px 20px;
  }

  .step-tabs {
    margin-bottom: 40px;
  }

  .step-tabs button {
    padding: 0 4px 14px;
    gap: 5px;
    font-size: 8px;
  }

  .event-type-grid,
  .menu-grid,
  .form-row,
  .addon-list {
    grid-template-columns: 1fr;
  }

  .choice-card {
    min-height: 125px;
  }

  .step-actions {
    gap: 12px;
  }

  .step-actions .button {
    padding: 0 14px;
    gap: 10px;
    font-size: 9px;
  }

  .quote-summary {
    padding: 30px 24px;
  }

  .closing {
    min-height: 560px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .modal-form {
    padding: 62px 24px 34px;
  }

  .account-content {
    padding: 48px 24px;
  }

  .account-stats {
    grid-template-columns: 1fr;
  }

  .account-stats div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .account-quote-head {
    flex-direction: column;
  }

.modal-form h2 {
    font-size: 48px;
  }
}

.site-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  padding: 22px;
  display: grid;
  place-items: center;
  background: rgba(20, 30, 23, .62);
  backdrop-filter: blur(7px);
}

.site-popup-card {
  width: min(580px, calc(100vw - 30px));
  max-height: calc(100vh - 44px);
  padding: clamp(34px, 6vw, 54px);
  position: relative;
  overflow: auto;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 30px 90px rgba(14, 22, 17, .28);
}

.site-popup-card h2 {
  margin: 0 0 18px;
  color: var(--forest);
  font-family: var(--serif);
  font-size: clamp(44px, 8vw, 72px);
  font-weight: 400;
  line-height: .92;
}

.site-popup-content {
  margin-top: 18px;
  color: var(--green);
  font-size: 16px;
  line-height: 1.75;
}

.site-popup-content :first-child { margin-top: 0; }
.site-popup-content :last-child { margin-bottom: 0; }

.site-popup-card .button {
  margin-top: 26px;
}

.site-popup-close {
  width: 38px;
  height: 38px;
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  background: var(--forest);
  color: #fff;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 22px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Public interface refinement - v1.9.7 */
.site-header {
  height: 78px;
  position: sticky;
  top: 0;
  grid-template-columns: minmax(150px, 190px) minmax(0, 1fr) auto;
  gap: clamp(20px, 2.5vw, 38px);
  background: rgba(251, 249, 244, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.desktop-nav {
  gap: clamp(17px, 2.1vw, 34px);
}

.desktop-nav > a,
.nav-item > a {
  padding: 29px 0 27px;
  color: #445048;
  font-size: 10px;
  letter-spacing: .12em;
}

.desktop-nav > a.is-active,
.nav-item.is-active > a {
  color: var(--terracotta);
}

.desktop-nav > a.is-active::after,
.nav-item.is-active > a::after {
  width: 100%;
  right: auto;
  left: 0;
}

.header-actions { gap: 14px; }
.header-actions .button-small { min-height: 42px; }

.hero {
  min-height: min(780px, calc(100svh - 114px));
}

.branch-section {
  padding-top: clamp(78px, 8vw, 118px);
  padding-bottom: clamp(78px, 8vw, 118px);
}

.branch-heading {
  max-width: 1380px;
  margin: 0 auto clamp(42px, 5vw, 68px);
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: clamp(40px, 6vw, 90px);
}

.branch-list {
  width: min(100%, 1380px);
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 30px);
}

.branch-card,
.branch-card:nth-child(even) {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #f7f1e7;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 20px 48px rgba(12, 23, 16, .12);
  overflow: hidden;
}

.branch-card:nth-child(even) .branch-visual { order: 0; }

.branch-card:only-child {
  width: min(100%, 680px);
  grid-column: 1 / -1;
  justify-self: center;
}

.branch-visual {
  min-height: 0;
  aspect-ratio: 16 / 10;
  display: block;
  background: #d8d3c9;
}

.branch-visual::after {
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(transparent, rgba(13, 24, 17, .34));
  content: "";
  pointer-events: none;
}

.branch-badge {
  top: auto;
  right: 20px;
  bottom: 18px;
  left: 20px;
  z-index: 1;
  padding: 0;
  overflow: hidden;
  background: transparent;
  color: white;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.branch-badge::before { background: var(--sand); }

.branch-detail {
  min-height: 0;
  padding: clamp(25px, 3vw, 38px);
  display: flex;
  flex: 1;
  flex-direction: column;
}

.branch-detail h3 {
  font-size: clamp(37px, 3.6vw, 54px);
  line-height: 1;
}

.branch-description {
  min-height: 4.8em;
  margin: 18px 0 24px;
  display: -webkit-box;
  overflow: hidden;
  color: #626a63;
  font-size: 16px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.branch-facts {
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.branch-facts div,
.branch-facts div:first-child {
  min-width: 0;
  padding: 17px 13px;
}

.branch-facts div:first-child { padding-left: 0; }
.branch-facts div:last-child { padding-right: 0; }
.branch-facts strong { font-size: clamp(14px, 1.35vw, 17px); }

.branch-links {
  margin: 25px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.branch-links .button {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  gap: 8px;
  font-size: 9px;
}

.branch-section .section-more {
  width: fit-content;
  margin: clamp(30px, 4vw, 52px) auto 0;
  display: flex;
}

@media (max-width: 1080px) {
  body.mobile-menu-open { overflow: hidden; }

  .site-header {
    height: 72px;
    padding: 0 22px;
    grid-template-columns: 1fr auto;
  }

  .brand img { width: 132px; }

  .desktop-nav,
  .header-actions .button,
  .account-button,
  .header-phone { display: none; }

  .menu-toggle {
    width: 42px;
    height: 42px;
    padding: 11px 8px;
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    border: 1px solid var(--line);
    background: transparent;
  }

  .menu-toggle span {
    width: 100%;
    height: 1px;
    display: block;
    background: var(--ink);
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-toggle.open span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle.open span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .mobile-nav {
    max-height: calc(100dvh - var(--mobile-nav-top, 72px));
    padding: 12px clamp(20px, 6vw, 42px) 30px;
    position: fixed;
    top: var(--mobile-nav-top, 72px);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 80;
    overflow-y: auto;
    flex-direction: column;
    gap: 0;
    background: rgba(251, 249, 244, .985);
    border-top: 1px solid var(--line);
    box-shadow: 0 26px 60px rgba(20, 31, 23, .18);
  }

  .mobile-nav.open { display: flex; }

  .mobile-nav a {
    min-height: 54px;
    padding: 14px 3px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-family: var(--serif);
    font-size: 20px;
    line-height: 1.2;
  }

  .mobile-nav a::after {
    color: #9a6a57;
    content: "→";
    font-family: var(--sans);
    font-size: 14px;
  }

  .mobile-nav a.is-active { color: var(--terracotta); }
  .mobile-nav a.mobile-nav-child { min-height: 44px; padding-left: 20px; color: #697169; font-family: var(--sans); font-size: 12px; }
  .mobile-nav a.mobile-nav-child::before { margin-right: 10px; color: #a17a68; content: "—"; }
  .mobile-nav a.mobile-nav-child::after { margin-left: auto; }
  .mobile-nav a.mobile-nav-cta { margin-top: 12px; padding: 15px 18px; justify-content: center; border: 0; background: var(--forest); color: white; font-family: var(--sans); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
  .mobile-nav a.mobile-nav-cta::after { margin-left: 18px; color: var(--sand); }

  .hero { min-height: calc(100svh - 104px); }
  .branch-heading { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 760px) {
  .branch-list { grid-template-columns: 1fr; }
  .branch-heading > p { max-width: 560px; font-size: 16px; }
  .branch-visual { aspect-ratio: 16 / 10; }
  .branch-description { min-height: 0; }
}

@media (max-width: 580px) {
  .site-header { padding: 0 16px; }
  .announcement { gap: 10px; }
  .announcement > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hero-content { padding: 82px 20px 110px; }
  .hero h1 { font-size: clamp(48px, 15vw, 68px); }
  .section { padding-right: 20px; padding-left: 20px; }
  .branch-detail { padding: 24px 20px 20px; }
  .branch-detail h3 { font-size: 39px; }
  .branch-facts div,
  .branch-facts div:first-child { padding: 14px 8px; }
  .branch-facts div:first-child { padding-left: 0; }
  .branch-facts span { font-size: 7px; letter-spacing: .1em; }
  .branch-facts strong { font-size: 13px; }
  .branch-links { grid-template-columns: 1fr; }
  .branch-links .button { min-height: 46px; }
  .footer-top { padding-bottom: 34px; }
  footer { padding-top: 52px; }
}

/* Floating WhatsApp contact - v1.9.13 */
.floating-whatsapp {
  min-height: 52px;
  padding: 0 19px;
  position: fixed;
  right: clamp(16px, 2vw, 28px);
  bottom: max(18px, calc(env(safe-area-inset-bottom) + 12px));
  z-index: 72;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  background: #1d6b3a;
  box-shadow: 0 14px 38px rgba(18, 49, 31, .28);
  color: white;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.floating-whatsapp svg { width: 25px; height: 25px; flex: 0 0 25px; }
.whatsapp-icon-bubble { fill: currentColor; }
.whatsapp-icon-phone { fill: #1d6b3a; }
.floating-whatsapp:hover { transform: translateY(-3px); background: #15582e; color: white; box-shadow: 0 18px 44px rgba(18, 49, 31, .36); }
.floating-whatsapp:focus-visible { outline: 3px solid var(--sand); outline-offset: 3px; }
body.mobile-menu-open .floating-whatsapp { opacity: 0; pointer-events: none; }
body:has(.detail-card .whatsapp-button) .floating-whatsapp { width: 52px; padding: 0; right: 18px; }
body:has(.detail-card .whatsapp-button) .floating-whatsapp span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 760px) {
  .floating-whatsapp { width: 52px; padding: 0; }
  .floating-whatsapp span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  body:has(.summary-panel) .floating-whatsapp { bottom: max(128px, calc(env(safe-area-inset-bottom) + 122px)); }
}
