/* iPhone-friendly, airy, centered site */

/* Safe area support for iOS notches */
:root {
  --page-max: 1060px;
  --side-pad: 24px;
  --ink: #2E261B;
  --muted: #6E5B46;
  --bg: #F4EFE7;
  --bg2: #EDE4D6;
  --leaf: #2F6B3E;
  --card: #FFFCF7;
  --border: #E2D6C6;
  --shadow: 0 12px 30px rgba(46,38,27,.09);
  --radius: 18px;
}

/* Page baseline */
html, body {
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  color: var(--ink);
  font: 17px/1.6 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter,
        "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Responsive container with iOS safe-area padding */
.wrap {
  max-width: var(--page-max);
  margin: 0 auto;
  padding:
    8px
    calc(var(--side-pad) + env(safe-area-inset-right))
    4px
    calc(var(--side-pad) + env(safe-area-inset-left));
}

/* Header + brand (no nav) */
.site-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 0;
}

.brand { text-align: center; width: 100%; }

/* Logo scales down on small screens, caps at 720px on large */
.brand-logo {
  display: block;
  width: min(90vw, 720px);
  height: auto;
  margin: 0 auto;
}

.brand-sub {
  margin: 10px auto 0;
  max-width: 90ch;
  font-size: clamp(14px, 1.8vw, 18px);
  line-height: 1.45;
  color: var(--muted);
}

/* Hero */
.hero-wrap {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 600px at 80% -10%, rgba(184,110,80,.10), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}
.hero {
  min-height: 72vh;
  display: grid;
  align-items: center;
  padding: 40px 24px 24px;
}
.hero-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  display: grid;
  gap: 16px;
}
h1 {
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.06;
  margin: 0 0 6px;
}
.subtitle { color: var(--muted); font-size: clamp(16px, 1.8vw, 20px); margin: 4px 0 14px; }
.pill {
  display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border-radius: 999px;
  background: #EEF5EC; color: #326a40; border: 1px solid #d6e6d4; font-weight: 600; letter-spacing: .2px; width: max-content;
}
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.btn { appearance: none; border: 1px solid transparent; border-radius: 999px; padding: 13px 18px; font-weight: 700; cursor: pointer; box-shadow: var(--shadow); }
.btn-primary { background: linear-gradient(135deg, #2F6B3E 0%, #3f8c50 100%); color: #fff; }
.btn-ghost { background: transparent; color: var(--leaf); border-color: #cdd6c7; }

/* Decorative hills behind hero text */
.hills {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: -6px; width: 1400px; max-width: 100%;
  opacity: .65; filter: drop-shadow(0 8px 24px rgba(46,38,27,.08));
  pointer-events: none;
}

/* Sections */
section { padding: 36px 0; }
.section-title { font-size: 24px; margin: 0 0 8px; }
.muted { color: var(--muted); }

.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }

.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.p-card { padding: 18px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.step { padding: 20px; }
.badge {
  width: 36px; height: 36px; border-radius: 12px; background: #F1E7DA; color: #6B4B2F;
  font-weight: 800; display: grid; place-items: center; border: 1px solid var(--border); margin-bottom: 8px;
}

/* Inquiry */
.inquiry { display: grid; grid-template-columns: 1.05fr 1fr; gap: 20px; align-items: stretch; }
form { padding: 20px; }
label { display: block; font-weight: 600; margin: 10px 0 6px; }
input, select, textarea {
  width: 100%; padding: 12px 12px; border-radius: 12px; border: 1px solid var(--border);
  background: #FAF6EF; color: var(--ink); outline: none;
}
textarea { min-height: 120px; resize: vertical; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.success, .error { padding: 12px 14px; border-radius: 12px; margin-top: 12px; display: none; }
.success { background: #EEF5EC; border: 1px solid #d6e6d4; color: #2F6B3E; }
.error { background: #FAEDEA; border: 1px solid #E2B7A8; color: #A64E33; }

/* At a glance (bottom) */
.glance { padding: 22px; }
.bullets { margin: 12px 0 4px 18px; color: var(--muted); }

/* Footer */
footer { margin: 32px 0 12px; color: var(--muted); font-size: 14px; }

/* Small-screen touch-ups */
@media (max-width: 980px){
  .row, .grid-3, .steps, .inquiry { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .wrap { padding-left: calc(16px + env(safe-area-inset-left));
          padding-right: calc(16px + env(safe-area-inset-right)); }
  .brand-sub { margin-top: 8px; }
}

/* Little motion polish */
@media (prefers-reduced-motion:no-preference){
  .btn-primary { transition: transform .08s ease; }
  .btn-primary:active { transform: translateY(1px); }
}

