/* Fortanel Construction: shared foundation. Each design file below sets the tokens and the look. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); line-height: 1.08; text-wrap: balance; }
p, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
@media (min-width: 768px) { .wrap { width: min(1200px, 100% - 64px); } }
.section { padding-block: clamp(64px, 9vw, 120px); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 18px; background: var(--ink); color: var(--bg); border-radius: var(--radius); font-weight: 600; text-decoration: none; }
.skip:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--focus, var(--accent)); outline-offset: 3px; }

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 22px; border: 1.5px solid transparent; border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.1; text-decoration: none;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover, var(--accent)); }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--header-bg, var(--bg)); border-bottom: 1px solid var(--line); }
.header-in { position: relative; display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: block; flex: none; }
.brand img { height: 42px; width: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 28px; }
.nav a { font-size: .95rem; font-weight: 500; text-decoration: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.lang { font-size: .9rem; font-weight: 600; text-decoration: none; padding: 6px 2px; }
.lang:hover { text-decoration: underline; }
.lang-short, .phone-short { display: none; }
.btn-phone { min-height: 44px; padding: 0 16px; }
.menu-btn { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; cursor: pointer; font-weight: 600; font-size: .9rem; }

@media (max-width: 1040px) {
  .nav { position: absolute; top: 100%; left: -16px; right: -16px; display: none; background: var(--header-bg, var(--bg)); border-bottom: 1px solid var(--line); }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px 16px 18px; }
  .nav a { display: block; padding: 13px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .menu-btn { display: inline-flex; }
  .header-actions { margin-left: auto; gap: 10px; }
}
@media (max-width: 560px) {
  .header-in { gap: 10px; min-height: 66px; }
  .brand img { height: 34px; }
  .lang-long, .phone-num, .menu-btn span { display: none; }
  .lang-short { display: inline; }
  .btn-phone { width: 44px; padding: 0; }
  .menu-btn { width: 44px; justify-content: center; padding: 0; }
}

/* Hero */
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-media { position: relative; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 560px) {
  body .hero .eyebrow { letter-spacing: .1em; font-size: .72rem; }
  /* The header and call bar already carry the number on phones, so the photo can show sooner. */
  .hero-ctas .btn-ghost { display: none; }
  .hero-ctas { margin-top: 26px; }
}
.photo-tag { position: absolute; right: 10px; bottom: 10px; padding: 4px 9px; border-radius: 999px; background: rgba(0, 0, 0, .62); color: #fff; font-size: .72rem; font-weight: 500; letter-spacing: .02em; }

/* Trust strip */
.trust-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 18px; }
.trust-lic { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-underline-offset: 4px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.trust-list li { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; }

/* Section heads */
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.1rem; }

/* Services */
.service-media { overflow: hidden; border-radius: var(--radius); }
.service-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service-body h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 10px; }
.service-body p { color: var(--muted); }
.service-num { display: block; font-size: .85rem; font-weight: 600; letter-spacing: .14em; color: var(--accent-text, var(--accent)); margin-bottom: 10px; }
.service-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; text-underline-offset: 5px; }
.price-note { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); }

/* Process */
.steps { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step h3 { font-size: 1.35rem; margin: 14px 0 8px; }
.step p { color: var(--muted); }
.step-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--accent-text, var(--accent)); color: var(--accent-text, var(--accent)); font-weight: 700; }

/* About */
.about-grid { display: grid; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (min-width: 960px) { .about-grid:has(.about-media) { grid-template-columns: 1fr 1fr; } }
.about-media { position: relative; overflow: hidden; border-radius: var(--radius); }
.about-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.about-copy h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 22px; }
.about-text { display: grid; gap: 16px; font-size: 1.1rem; }
.about-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.owner { display: grid; }
.owner-name { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.2; }
.owner-title { color: var(--muted); font-size: .95rem; }
.stat { display: flex; align-items: baseline; gap: 10px; }
.stat-num { font-family: var(--font-display); font-size: 3.6rem; line-height: 1; color: var(--accent-text, var(--accent)); }
.stat-label { color: var(--muted); max-width: 9ch; line-height: 1.25; font-size: .95rem; }

/* Service area */
.area-in h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.city-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.city-list li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; }
.area-note { margin-top: 18px; color: var(--muted); }

/* FAQ */
.faq-grid { display: grid; gap: 24px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 5fr 7fr; gap: 64px; } }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.1rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-icon { transition: transform .25s; }
.faq-list details[open] .faq-icon { transform: rotate(45deg); }
.faq-list details p { padding: 0 40px 22px 0; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 72px; } }
.contact-copy h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.contact-intro { margin-top: 14px; color: var(--muted); font-size: 1.1rem; }
.contact-lines { display: grid; gap: 14px; margin-top: 28px; }
.contact-lines div { display: grid; gap: 2px; }
.contact-lines dt { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-lines dd { font-size: 1.15rem; font-weight: 600; }
.contact-lines a { text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; }

.lead-form { display: grid; gap: 18px; grid-template-columns: 1fr; padding: clamp(22px, 4vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
@media (min-width: 640px) { .lead-form { grid-template-columns: 1fr 1fr; } .field-wide { grid-column: 1 / -1; } }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: .95rem; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--field-line, var(--line)); border-radius: calc(var(--radius) * .75);
  background: var(--field-bg, var(--bg)); color: var(--ink); font-size: 1rem;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus, var(--accent)); outline-offset: 1px; border-color: transparent; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .9rem; font-weight: 600; }
.hp { position: absolute; left: -9999px; }
.form-foot { display: grid; gap: 14px; }
.btn-submit { width: 100%; min-height: 54px; font-size: 1.05rem; }
.form-msg { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: calc(var(--radius) * .75); font-weight: 600; }
.form-msg[hidden] { display: none; }
.form-success { background: var(--success-bg); color: var(--success-ink); }
.form-error { background: var(--danger-bg); color: var(--danger-ink); }
.form-msg:focus { outline: none; }
.form-msg:focus-visible { outline: 3px solid var(--focus, var(--accent)); }

/* Privacy page */
.legal-in { max-width: 760px; }
.legal-in h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 18px 0 28px; }
.legal-text { display: grid; gap: 18px; font-size: 1.08rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; }

/* Footer */
.site-footer { padding-top: clamp(56px, 7vw, 88px); background: var(--footer-bg); color: var(--footer-ink); }
.site-footer a { text-underline-offset: 4px; }
.footer-grid { display: grid; gap: 36px; padding-bottom: 44px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand img { width: min(300px, 100%); height: auto; margin-bottom: 14px; }
.footer-brand p { color: var(--footer-muted); }
.footer-h { font-family: var(--font-body); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--footer-muted); margin-bottom: 14px; font-weight: 600; }
.footer-list { display: grid; gap: 8px; }
.footer-base { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-block: 22px 28px; border-top: 1px solid var(--footer-line); font-size: .88rem; color: var(--footer-muted); }
.footer-note { flex: 1 1 280px; }
.credit a { color: var(--footer-ink); }

/* Mobile call bar */
.call-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--callbar-bg, var(--bg)); border-top: 1px solid var(--line); }
.call-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: var(--radius); font-weight: 700; text-decoration: none; }
.call-bar-call { background: var(--accent); color: var(--accent-ink); }
.call-bar-text { border: 1.5px solid var(--callbar-line, var(--ink)); color: var(--callbar-ink, var(--ink)); }
@media (max-width: 767px) { body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); } }
@media (min-width: 768px) { .call-bar { display: none; } }

/* Fade-in (the hero is never faded so it paints at once) */
.js [data-fade] { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.js [data-fade].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-fade] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* Design 2, Atelier: warm paper, editorial serif, terracotta accent. */

@font-face { font-family: "Fraunces"; src: url("assets/fonts/fraunces-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("assets/fonts/fraunces-var-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("assets/fonts/dm-sans-var.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #f3efe7;
  --surface: #fbf9f4;
  --ink: #1e1b16;
  --muted: #5b554b;
  --line: #dcd3c3;
  --accent: #9c3f22;
  --accent-hover: #82321a;
  --accent-ink: #ffffff;
  --accent-text: #9c3f22;
  --focus: #9c3f22;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 6px;
  --header-bg: rgba(243, 239, 231, .94);
  --field-bg: #ffffff;
  --field-line: #cfc5b3;
  --danger: #a3221a;
  --danger-bg: #fbe4df;
  --danger-ink: #7c1810;
  --success-bg: #e3efe1;
  --success-ink: #1f4d24;
  --footer-bg: #1e1b16;
  --footer-ink: #f3efe7;
  --footer-muted: #b8b0a2;
  --footer-line: #3a352d;
  --callbar-bg: #fbf9f4;
}

h1, h2, h3 { font-weight: 500; letter-spacing: -.02em; font-variation-settings: "SOFT" 50, "WONK" 0; }
.site-header { backdrop-filter: blur(10px); }
.btn-phone { background: var(--ink); color: var(--bg); }
.btn-phone:hover { background: #000; }
.btn-ghost:hover { background: rgba(30, 27, 22, .06); }

/* Hero: copy left, tall photo right */
.hero { padding-block: clamp(32px, 5vw, 64px) clamp(48px, 7vw, 88px); }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero h1 { margin-top: 18px; font-size: clamp(2.6rem, 6.2vw, 4.8rem); line-height: 1.02; }
.hero-sub { margin-top: 22px; max-width: 46ch; color: var(--muted); font-size: 1.15rem; }
.hero .eyebrow { color: var(--accent-text); }
.hero-media { overflow: hidden; border-radius: 10px; }
.hero-media img { aspect-ratio: 4 / 3; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1fr 1.08fr; gap: 64px; }
  .hero-media img { aspect-ratio: 5 / 5.4; }
}

/* Trust */
.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust-lic { color: var(--accent-text); }
.trust-list .icon { color: var(--accent-text); }

/* Services: alternating editorial rows */
.service-list { display: grid; gap: clamp(48px, 7vw, 96px); }
.service { display: grid; gap: 26px; align-items: center; }
@media (min-width: 900px) {
  .service { grid-template-columns: 1.15fr 1fr; gap: 64px; }
  .service:nth-child(even) .service-media { order: 2; }
}
.service-media { border-radius: 10px; }
.service-media img { aspect-ratio: 3 / 2; }
.service-num { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 3rem; letter-spacing: 0; line-height: 1; margin-bottom: 14px; }
.service-body h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.service-body p { font-size: 1.08rem; max-width: 48ch; }
.service-link { color: var(--accent-text); }
.price-note { margin-top: 64px; font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--ink); }

/* Process */
.process { background: var(--surface); border-block: 1px solid var(--line); }
.step-num { width: auto; height: auto; border: 0; font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 3.4rem; line-height: 1; }

/* About */
.about-text p:first-child::first-letter { float: left; font-family: var(--font-display); font-size: 4.2rem; line-height: .85; padding: 6px 10px 0 0; color: var(--accent-text); }

/* Service area */
.area-in { padding: clamp(28px, 5vw, 56px); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.city-list li { background: var(--bg); }
.city-list .icon { color: var(--accent-text); }

/* FAQ */
.faq-list summary { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; }
.faq-icon { color: var(--accent-text); }

/* Contact */
.contact { background: var(--surface); border-top: 1px solid var(--line); }
.lead-form { background: var(--bg); }
.contact-lines dd { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; }
