/* =========================================================
   EAGLE BUILDERS — Stylesheet
   Warm Kerala earth tones: sand · cream · terracotta · laterite · palm
   Fonts: Fraunces (display) · Outfit (text)
   ========================================================= */

:root {
  --cream: #fbf6ee;
  --sand: #f3e9da;
  --clay: #e7d4ba;
  --clay-2: #dcc3a2;
  --terra: #b4532a;
  --terra-d: #8f3e1c;
  --terra-l: #d9794c;
  --laterite: #3a2216;
  --laterite-2: #4b2d1e;
  --laterite-3: #5c3a27;
  --wood: #8a5631;
  --leaf: #55703f;
  --leaf-l: #7f9a62;
  --sun: #efc27e;
  --ink: #2b1c13;
  --muted: #6f5c4f;
  --muted-l: rgba(251, 246, 238, 0.7);
  --line: rgba(43, 28, 19, 0.13);
  --line-l: rgba(251, 246, 238, 0.16);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --ease: cubic-bezier(0.22, 0.75, 0.25, 1);
  --shadow: 0 24px 50px rgba(58, 34, 22, 0.14);
  --shadow-sm: 0 8px 22px rgba(58, 34, 22, 0.08);
  --gable: polygon(50% 0, 100% 24%, 100% 100%, 0 100%, 0 24%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: 110px; }
body { font-family: var(--sans); font-size: 17px; line-height: 1.75; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--terra); color: var(--cream); }

.container { width: min(1220px, 100% - 48px); margin-inline: auto; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.015em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.7rem, 6vw, 5.2rem); font-weight: 400; }
h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); font-weight: 400; }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); }
h1 em, h2 em, h3 em { font-style: italic; color: var(--terra); font-weight: 400; }
.on-dark h1 em, .on-dark h2 em { color: var(--terra-l); }
.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--terra); margin-bottom: 20px; }
.kicker svg { width: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.on-dark .kicker { color: var(--terra-l); }
.lead { font-size: 1.15rem; color: var(--muted); font-weight: 300; }
.on-dark .lead, .on-dark p { color: var(--muted-l); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 16px 30px; border-radius: 999px; font-weight: 500; font-size: .98rem; border: 1.5px solid transparent; cursor: pointer; transition: background .35s var(--ease), color .35s, border-color .35s, transform .35s var(--ease), box-shadow .35s; }
.btn span { transition: transform .35s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn--terra { background: var(--terra); color: var(--cream); box-shadow: 0 10px 24px rgba(180, 83, 42, .28); }
.btn--terra:hover { background: var(--terra-d); transform: translateY(-2px); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--cream); }
.btn--cream { background: var(--cream); color: var(--laterite); }
.btn--cream:hover { background: var(--sand); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(251,246,238,.45); color: var(--cream); }
.btn--ghost:hover { background: var(--cream); color: var(--laterite); }
.textlink { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--terra); }
.textlink span { transition: transform .35s var(--ease); }
.textlink:hover span { transform: translateX(5px); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--laterite); height: 40px; }
.header { position: sticky; top: 0; z-index: 100; background: rgba(251, 246, 238, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: box-shadow .4s; }
.header.is-scrolled { box-shadow: 0 6px 24px rgba(58, 34, 22, .1); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 92px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark { width: 60px; height: 55px; }
.logo__mark svg { width: 100%; height: 100%; }
.logo__text strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.75rem; line-height: 1; letter-spacing: -.01em; }
.logo__text small { display: block; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--terra); margin-top: 5px; font-weight: 500; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { padding: 10px 16px; border-radius: 999px; font-weight: 500; font-size: .98rem; transition: background .3s, color .3s; }
.nav a:not(.btn):hover { background: var(--sand); }
.nav a.is-on { background: var(--sand); color: var(--terra-d); }
.nav .btn { margin-left: 10px; padding: 13px 24px; }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: none; cursor: pointer; position: relative; z-index: 3; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--ink); transition: .35s var(--ease); }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 27px; }
.burger.is-open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { top: 22px; transform: rotate(-45deg); }
.mmenu { display: none; }

/* ---------- Roofline divider (Kerala roof motif) ---------- */
.roofline { height: 26px; background-repeat: repeat-x; background-size: 52px 26px; }
.roofline--terra { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='26'%3E%3Cpath d='M0 26L26 4L52 26Z' fill='%23b4532a'/%3E%3C/svg%3E"); }
.roofline--laterite { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='26'%3E%3Cpath d='M0 26L26 4L52 26Z' fill='%233a2216'/%3E%3C/svg%3E"); }
.roofline--sand { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='26'%3E%3Cpath d='M0 26L26 4L52 26Z' fill='%23f3e9da'/%3E%3C/svg%3E"); }
.roofline--cream { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='26'%3E%3Cpath d='M0 26L26 4L52 26Z' fill='%23fbf6ee'/%3E%3C/svg%3E"); }
/* Mangalore-tile texture */
.tiles { background-color: var(--terra); background-image: radial-gradient(circle at 50% 0, transparent 13px, rgba(0,0,0,.14) 14px, transparent 15px), radial-gradient(circle at 50% 0, var(--terra-l) 0 2px, transparent 3px); background-size: 30px 18px; }

/* ---------- Hero ---------- */
.hero { background: var(--sand); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -120px; top: -160px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(239, 194, 126, .45), transparent 65%); pointer-events: none; }
.hero__in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; padding: 70px 0 90px; }
.hero h1 { margin-bottom: 26px; animation: up 1s var(--ease) both; }
.hero .kicker { animation: up .9s var(--ease) both; }
.hero .lead { max-width: 560px; margin-bottom: 38px; animation: up 1s .12s var(--ease) both; }
.hero__btns { display: flex; gap: 12px; flex-wrap: wrap; animation: up 1s .24s var(--ease) both; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); animation: up 1s .36s var(--ease) both; }
.hero__trust div { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.hero__trust strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.25rem; letter-spacing: 0; text-transform: none; color: var(--ink); margin-top: 2px; }
.hero__visual { position: relative; animation: up 1.2s .15s var(--ease) both; }

.gable { clip-path: var(--gable); background: var(--clay); position: relative; overflow: hidden; }
.gable--hero { aspect-ratio: 1 / 1.02; display: grid; place-items: end center; background: linear-gradient(180deg, #f8e3c4 0%, #f3d3a8 60%, var(--clay) 100%); }
.gable--hero svg { width: 100%; }
.gable-shadow { filter: drop-shadow(0 30px 40px rgba(58, 34, 22, .18)); }
.badge { position: absolute; left: -26px; bottom: 54px; background: var(--cream); border-radius: 16px; padding: 18px 22px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px; }
.badge__icon { width: 46px; height: 46px; border-radius: 50%; background: var(--terra); display: grid; place-items: center; }
.badge__icon svg { width: 22px; fill: none; stroke: var(--cream); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.badge strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.2rem; line-height: 1.1; }
.badge span { font-size: .8rem; color: var(--muted); }
.badge--right { left: auto; right: -20px; top: 90px; bottom: auto; }

@keyframes up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes sway { 0%, 100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg); } }
.palm-sway { transform-origin: 50% 100%; transform-box: fill-box; animation: sway 6s ease-in-out infinite; }

/* ---------- Page hero ---------- */
.phero { background: var(--sand); position: relative; overflow: hidden; }
.phero__in { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: center; padding: 70px 0 80px; }
.phero h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); margin-bottom: 20px; animation: up 1s var(--ease) both; }
.phero .lead { max-width: 600px; animation: up 1s .12s var(--ease) both; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--terra); font-weight: 500; }
.phero__art { max-width: 380px; justify-self: end; width: 100%; animation: up 1.1s .15s var(--ease) both; }
.phero__art .gable { aspect-ratio: 1 / 1; display: grid; place-items: end center; background: linear-gradient(180deg, #f8e3c4, var(--clay)); }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section--sand { background: var(--sand); }
.section--clay { background: var(--clay); }
.section--dark { background: var(--laterite); color: var(--cream); }
.head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.head p { color: var(--muted); margin-top: 16px; font-size: 1.08rem; }
.on-dark .head p { color: var(--muted-l); }
.head--left { text-align: left; margin-inline: 0; }

/* ---------- Welcome ---------- */
.welcome { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; }
.welcome h2 { margin-bottom: 24px; }
.welcome p { color: var(--muted); margin-bottom: 18px; }
.ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 30px 0 36px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.ticks li::before { content: ""; flex: 0 0 22px; height: 22px; border-radius: 50%; margin-top: 3px; background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='%23fbf6ee' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.on-dark .ticks li { color: var(--cream); }

.owner { background: var(--laterite); color: var(--cream); border-radius: var(--radius); padding: 46px 42px; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.owner::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 18px; }
.owner .tiles-top { position: absolute; left: 0; right: 0; top: 0; height: 18px; }
.owner__mono { width: 86px; height: 86px; border-radius: 50%; background: var(--terra); display: grid; place-items: center; font-family: var(--serif); font-size: 2.1rem; margin: 18px 0 26px; border: 4px solid var(--laterite-3); }
.owner blockquote { font-family: var(--serif); font-size: 1.55rem; line-height: 1.35; font-style: italic; font-weight: 300; margin-bottom: 26px; }
.owner strong { display: block; font-size: 1.1rem; }
.owner small { color: var(--muted-l); font-size: .9rem; }

/* ---------- Service cards (gable tops) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: var(--cream); border-radius: 0 0 var(--radius) var(--radius); position: relative; padding: 0 30px 34px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card__roof { margin: 0 -30px 0; height: 70px; clip-path: polygon(50% 0, 100% 100%, 0 100%); background: var(--clay-2); transition: background .5s; }
.card:hover .card__roof { background: var(--terra); }
.card__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; margin: -20px auto 22px; position: relative; border: 4px solid var(--cream); transition: background .5s; }
.card:hover .card__icon { background: var(--terra); }
.card__icon svg { width: 30px; fill: none; stroke: var(--terra-d); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .5s; }
.card:hover .card__icon svg { stroke: var(--cream); }
.card h3 { text-align: center; margin-bottom: 10px; }
.card p { text-align: center; color: var(--muted); font-size: .98rem; margin-bottom: 18px; }
.card .textlink { margin: auto auto 0; }

/* ---------- Home styles (illustrated) ---------- */
.styles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.style { background: var(--cream); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s; }
.style:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.style__art { aspect-ratio: 4 / 3; display: grid; place-items: end center; background: linear-gradient(180deg, #f8e3c4, #f1d2a6); }
.style__art svg { width: 100%; }
.style__body { padding: 24px 24px 28px; }
.style__tag { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--leaf); }
.style h3 { margin: 6px 0 8px; font-size: 1.35rem; }
.style p { color: var(--muted); font-size: .94rem; }
.note { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 34px; font-style: italic; }

/* ---------- Process (dark laterite) ---------- */
.journey { display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px; position: relative; }
.journey::before { content: ""; position: absolute; left: 8%; right: 8%; top: 40px; border-top: 2px dashed rgba(251, 246, 238, .25); }
.leg { text-align: center; position: relative; }
.leg__roof { width: 84px; height: 80px; margin: 0 auto 24px; clip-path: var(--gable); background: var(--terra); display: grid; place-items: center; padding-top: 14px; font-family: var(--serif); font-size: 1.7rem; color: var(--cream); transition: background .4s, transform .5s var(--ease); }
.leg:hover .leg__roof { background: var(--sun); color: var(--laterite); transform: translateY(-6px); }
.leg h3 { font-size: 1.3rem; margin-bottom: 8px; color: var(--cream); }
.leg p { font-size: .93rem; color: var(--muted-l); }

/* ---------- Pillars (why us) ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--cream); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.pillar { padding: 40px 30px; position: relative; }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar__n { font-family: var(--serif); font-style: italic; font-size: 3rem; line-height: 1; color: var(--clay-2); margin-bottom: 18px; }
.pillar h3 { font-size: 1.3rem; margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: .94rem; }

/* ---------- Gallery (real photos only) ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--clay); position: relative; box-shadow: var(--shadow-sm); }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s var(--ease); }
.photo:hover img { transform: scale(1.05); }
.photo figcaption { padding: 16px 20px 18px; background: var(--cream); }
.photo figcaption strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.15rem; }
.photo figcaption span { font-size: .82rem; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { background: var(--terra); color: var(--cream); position: relative; overflow: hidden; }
.cta__in { display: grid; grid-template-columns: 1.3fr .7fr; gap: 50px; align-items: center; padding: 90px 0; position: relative; }
.cta h2 { color: var(--cream); }
.cta h2 em { color: var(--sun); }
.cta p { color: rgba(251, 246, 238, .85); margin-top: 16px; font-size: 1.08rem; }
.cta__btns { display: flex; flex-direction: column; gap: 12px; }
.cta__sun { position: absolute; right: 8%; top: -90px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(239, 194, 126, .45), transparent 70%); pointer-events: none; }

/* ---------- About ---------- */
.story { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.story__year { position: sticky; top: 130px; }
.story__year strong { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(5rem, 11vw, 9rem); line-height: .9; color: var(--terra); }
.story__year span { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.story h2 { margin-bottom: 24px; }
.story p { color: var(--muted); margin-bottom: 18px; font-size: 1.05rem; }
.duties { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.duty { background: var(--laterite-2); border-radius: var(--radius); padding: 34px 30px; border-top: 4px solid var(--terra); transition: transform .5s var(--ease), background .4s; }
.duty:hover { transform: translateY(-6px); background: var(--laterite-3); }
.duty__icon { width: 44px; height: 44px; margin-bottom: 20px; }
.duty__icon svg { width: 100%; fill: none; stroke: var(--sun); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.duty h3 { font-size: 1.3rem; margin-bottom: 8px; color: var(--cream); }
.duty p { font-size: .94rem; color: var(--muted-l); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fact { background: var(--cream); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow-sm); }
.fact span { font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--leaf); }
.fact strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1.15; margin: 8px 0 6px; }
.fact p { color: var(--muted); font-size: .95rem; }

/* ---------- Services detail ---------- */
.srows { display: grid; gap: 90px; }
.srow { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.srow:nth-child(even) .srow__art { order: 2; }
.srow__art .gable { aspect-ratio: 1 / .9; display: grid; place-items: end center; background: linear-gradient(180deg, #f8e3c4, var(--clay)); }
.srow__num { font-family: var(--serif); font-style: italic; color: var(--terra); font-size: 1.1rem; display: block; margin-bottom: 8px; }
.srow h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-bottom: 18px; }
.srow p { color: var(--muted); margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 30px; }
.chips span { padding: 8px 16px; border-radius: 999px; background: var(--sand); font-size: .88rem; font-weight: 500; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.cinfo { display: grid; gap: 16px; }
.ccard { display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: center; background: var(--cream); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease); }
a.ccard:hover { transform: translateX(6px); }
.ccard__icon { width: 54px; height: 54px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; }
.ccard__icon svg { width: 22px; fill: none; stroke: var(--terra-d); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ccard small { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ccard b { display: block; font-weight: 500; font-size: 1.05rem; line-height: 1.5; }
.form { background: var(--laterite); color: var(--cream); border-radius: var(--radius); padding: 46px 44px; position: relative; overflow: hidden; }
.form .tiles-top { position: absolute; left: 0; right: 0; top: 0; height: 14px; }
.form h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 10px 0 8px; color: var(--cream); }
.form > p { color: var(--muted-l); margin-bottom: 30px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.fld { display: block; margin-bottom: 18px; }
.fld > span { display: block; font-size: .82rem; font-weight: 500; color: var(--sun); margin-bottom: 6px; }
.fld input, .fld select, .fld textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid rgba(251,246,238,.14); background: rgba(251,246,238,.06); color: var(--cream); font-size: 1rem; transition: border-color .3s, background .3s; }
.fld select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--sun) 50%), linear-gradient(135deg, var(--sun) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.fld select option { color: var(--ink); }
.fld textarea { min-height: 110px; resize: vertical; }
.fld input::placeholder, .fld textarea::placeholder { color: rgba(251,246,238,.35); }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--terra-l); background: rgba(251,246,238,.1); }
.fld input.bad { border-color: #e7907a; }
.form__note { margin-top: 12px; color: #f0b39f; font-size: .9rem; min-height: 1.2em; }
.map { margin-top: 70px; border-radius: var(--radius); overflow: hidden; height: 420px; box-shadow: var(--shadow-sm); position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: sepia(.25) saturate(.9); }

/* ---------- Footer ---------- */
.footer { background: var(--laterite); color: var(--muted-l); position: relative; }
.footer .tiles { height: 18px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 50px; padding: 80px 0 60px; }
.footer .logo__text strong { color: var(--cream); }
.footer .logo__text small { color: var(--sun); }
.footer__about p { margin-top: 20px; max-width: 340px; }
.footer h4 { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; color: var(--cream); margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; }
.footer a:hover { color: var(--sun); }
.footer address { font-style: normal; }
.footer__bottom { border-top: 1px solid var(--line-l); padding: 22px 0; font-size: .86rem; }
.footer__bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.wa { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: var(--leaf); display: grid; place-items: center; box-shadow: 0 12px 28px rgba(58,34,22,.3); transition: transform .35s var(--ease), background .35s; }
.wa:hover { transform: translateY(-4px) scale(1.04); background: var(--terra); }
.wa svg { width: 28px; fill: var(--cream); }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.is-visible { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; } .d4 { transition-delay: .4s; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .styles { grid-template-columns: 1fr 1fr; }
  .journey { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
  .journey::before { display: none; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(3) { border-left: 0; }
  .pillar:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .welcome, .story, .srow { gap: 50px; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: block; }
  .mmenu { display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 99; background: var(--sand); padding: 110px 26px 30px; visibility: hidden; opacity: 0; transition: opacity .35s var(--ease), visibility .35s; overflow-y: auto; }
  .mmenu.is-open { visibility: visible; opacity: 1; }
  .mmenu a:not(.btn) { font-family: var(--serif); font-size: 2.1rem; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .mmenu a.is-on { color: var(--terra); }
  .mmenu .btn { margin-top: 26px; }
  .mmenu p { margin-top: auto; padding-top: 24px; color: var(--muted); font-size: .9rem; }
  .hero__in, .phero__in, .welcome, .story, .srow, .contact, .cta__in { grid-template-columns: 1fr; }
  .hero__in { padding: 50px 0 70px; gap: 50px; }
  .hero__visual { max-width: 520px; width: 100%; margin-inline: auto; }
  .phero__art { justify-self: start; max-width: 300px; }
  .story__year { position: static; }
  .srow:nth-child(even) .srow__art { order: 0; }
  .srow__art { max-width: 520px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .duties, .facts { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .section { padding: 90px 0; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  body { font-size: 16px; }
  .header__in { height: 78px; }
  .logo__mark { width: 50px; height: 46px; }
  .logo__text strong { font-size: 1.5rem; }
  .hero__btns .btn, .cta__btns .btn { width: 100%; }
  .badge { left: 8px; bottom: 16px; padding: 12px 16px; }
  .badge--right { display: none; }
  .badge__icon { width: 38px; height: 38px; }
  .cards, .styles, .duties, .facts, .gallery, .pillars, .journey { grid-template-columns: 1fr; }
  .pillar + .pillar, .pillar:nth-child(n) { border-left: 0; border-bottom: 1px solid var(--line); }
  .ticks { grid-template-columns: 1fr; }
  .owner { padding: 38px 26px; }
  .form { padding: 40px 22px; }
  .frow { grid-template-columns: 1fr; }
  .map { height: 320px; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; padding: 60px 0 44px; }
  .footer a { overflow-wrap: anywhere; }
  .section { padding: 72px 0; }
  .head { margin-bottom: 44px; }
  .wa { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}
