:root {
  --dark: #15110f;
  --dark-2: #211a17;
  --cream: #f6ebdf;
  --cream-2: #e8d6bf;
  --white: #fff9f2;
  --text: #241c18;
  --muted: #d8cab8;
  --muted-dark: #776656;
  --orange: #db812f;
  --orange-2: #b9601f;
  --orange-3: #ef9d4f;
  --line-light: rgba(255, 255, 255, 0.1);
  --line-dark: rgba(36, 28, 24, 0.12);
  --shadow-dark: 0 18px 40px rgba(0, 0, 0, 0.28);
  --shadow-light: 0 16px 30px rgba(88, 59, 28, 0.12);
  --r-xl: 30px;
  --r-lg: 22px;
  --r-md: 16px;
  --w: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Montserrat", sans-serif;
  color: var(--white);
  background: radial-gradient(circle at top, rgba(255,255,255,.05), transparent 26%), linear-gradient(180deg, #1a1412 0%, #100c0b 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .08;
  background-image: radial-gradient(circle at 25% 25%, rgba(255,255,255,.22) 0 1px, transparent 1px), radial-gradient(circle at 75% 65%, rgba(255,255,255,.18) 0 1px, transparent 1px);
  background-size: 26px 26px, 34px 34px;
}
a { color: inherit; }
img { max-width: 100%; }
.page { width: min(calc(100% - 1rem), var(--w)); margin: 0 auto; padding: .5rem 0 1.5rem; }
.texture-dark {
  background: radial-gradient(circle at 15% 25%, rgba(255,255,255,.045), transparent 24%), radial-gradient(circle at 85% 80%, rgba(255,255,255,.03), transparent 30%), linear-gradient(180deg, var(--dark-2) 0%, var(--dark) 100%);
}

.site-hero, .financing-shell, .projects-shell, .content-shell, .trust-shell { overflow: hidden; border-radius: var(--r-xl); }
.site-hero, .financing-shell, .projects-shell, .trust-shell { box-shadow: var(--shadow-dark); }
.content-shell, .projects-shell { box-shadow: var(--shadow-light); }

.site-hero {
  position: relative;
  border: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(180deg, rgba(25,19,17,.96), rgba(23,18,16,.96));
}
.site-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 91px;
  height: 2px;
  background: rgba(219,129,47,.72);
}
.site-hero-home {
  min-height: 740px;
  background: linear-gradient(90deg, rgba(12,10,9,.72) 0%, rgba(12,10,9,.42) 38%, rgba(12,10,9,.08) 100%), linear-gradient(180deg, rgba(10,8,7,.58) 0%, rgba(10,8,7,.16) 100%), radial-gradient(circle at 81% 40%, rgba(255,193,120,.22), transparent 18%), radial-gradient(circle at 16% 16%, rgba(0,0,0,.35), transparent 18%), linear-gradient(140deg, #4d4037 0%, #876447 22%, #bc864f 47%, #7a5a44 64%, #5d4537 100%);
}

.hero-topbar {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.1rem .85rem;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.04), transparent 30%), linear-gradient(180deg, rgba(25,19,17,.95), rgba(23,18,16,.96));
}
.brand { display: inline-flex; align-items: center; justify-content: center; padding: .15rem; border-radius: 20px; }
.brand-logo { display: block; width: auto; height: clamp(4.8rem, 7vw, 6.2rem); max-width: min(46vw, 235px); object-fit: contain; }
.nav { display: flex; align-items: center; justify-content: center; gap: 2rem; }
.nav a { position: relative; font-size: .98rem; text-decoration: none; color: rgba(255,249,242,.94); }
.nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.6rem; height: 2px; background: rgba(255,255,255,.8); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: .9rem 1.5rem;
  border: 0;
  border-radius: 10px;
  font: 800 .98rem/1 "Montserrat", sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-1px); filter: brightness(1.03); }
.button-primary { color: var(--white); background: linear-gradient(180deg, var(--orange-3) 0%, var(--orange) 54%, var(--orange-2) 100%); box-shadow: 0 10px 18px rgba(185,96,31,.34); }
.button-light { color: var(--text); background: linear-gradient(180deg, #f4e6d4 0%, #e8d3b6 100%); }
.top-cta { min-width: 164px; }

.hero-content, .page-hero { position: relative; z-index: 1; padding-left: 1.2rem; padding-right: 1.2rem; }
.hero-content-home { display: flex; align-items: center; min-height: 650px; padding-top: 5.8rem; padding-bottom: 3rem; }
.page-hero {
  display: flex;
  align-items: center;
  min-height: 310px;
  padding-top: 4rem;
  padding-bottom: 3.2rem;
  background: linear-gradient(90deg, rgba(12,10,9,.72), rgba(12,10,9,.3)), linear-gradient(140deg, #52443a 0%, #8d6948 28%, #644c3d 62%, #3a2c26 100%);
}
.page-hero-gallery { background: linear-gradient(90deg, rgba(12,10,9,.74), rgba(12,10,9,.3)), linear-gradient(135deg, #685443 0%, #a67747 28%, #5c4538 60%, #384537 100%); }
.page-hero-financing { background: linear-gradient(90deg, rgba(12,10,9,.74), rgba(12,10,9,.34)), linear-gradient(135deg, #56473c 0%, #a66e40 24%, #6a5445 56%, #3a2c26 100%); }
.page-hero-contact { background: linear-gradient(90deg, rgba(12,10,9,.74), rgba(12,10,9,.38)), linear-gradient(135deg, #473a32 0%, #94663d 24%, #5c4a3d 56%, #332a25 100%); }
.hero-copy, .page-hero-copy { max-width: 720px; }

h1, h2, h3, p, ul { margin-top: 0; }
h1, .kicker { text-transform: uppercase; }
h1 {
  margin-bottom: 1rem;
  font-size: clamp(3rem, 7vw, 5.4rem);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.05em;
  text-shadow: 0 4px 12px rgba(0,0,0,.34);
}
h1 span, .hero-subtitle span { display: block; }
.page-title { max-width: 11ch; }
.hero-subtitle, .page-intro { font-size: clamp(1.2rem, 2.1vw, 2rem); line-height: 1.35; }
.hero-subtitle { margin-bottom: 1.5rem; text-shadow: 0 2px 10px rgba(0,0,0,.28); }
.page-intro { max-width: 34rem; margin-bottom: 0; color: var(--muted); }
.hero-cta { min-width: 190px; }

.hero-contact-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.35rem; }
.contact-card {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.2rem;
  padding: .8rem 1.15rem;
  border-radius: 8px;
  background: rgba(18,14,13,.92);
  border: 1px solid var(--line-light);
  text-decoration: none;
}
.contact-label { padding-right: 1rem; border-right: 1px solid rgba(255,255,255,.14); color: #ffcb90; font-size: .8rem; font-weight: 800; text-transform: uppercase; }
.contact-value { font-size: 1rem; font-weight: 700; }

.financing-shell, .content-shell { margin-top: 1.1rem; }
.financing-shell { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(360px,.95fr); gap: 1.6rem; padding: 2rem 1.4rem; }
.content-shell { padding: 2.2rem 1.4rem 2.4rem; }
.content-shell-light, .projects-shell { background: radial-gradient(circle at top, rgba(255,255,255,.36), transparent 26%), linear-gradient(180deg, #f8efe3 0%, #ecdbc6 100%); color: var(--text); }

.kicker { margin-bottom: .5rem; font-size: .95rem; font-weight: 800; letter-spacing: .01em; }
.kicker.light { color: var(--white); }
.kicker.accent { color: var(--orange); }
.financing-copy h2, .section-heading h2, .contact-panel-large h2, .financing-detail-copy h2 { margin-bottom: 1.2rem; font-size: clamp(2rem, 3vw, 3rem); font-weight: 800; line-height: 1.03; }
.financing-copy h2, .financing-detail-copy h2 { color: var(--white); text-transform: none; }
.section-heading { margin-bottom: 1.4rem; }
.section-heading h2, .contact-panel-large h2 { text-transform: none; color: var(--text); }
.finance-message {
  max-width: 520px;
  padding: 1.25rem 1.35rem;
  border-radius: 12px;
  background: linear-gradient(180deg, #f6ebdc 0%, #efdeca 100%);
  color: var(--text);
  font-size: clamp(1.1rem, 1.9vw, 1.6rem);
  font-weight: 600;
  line-height: 1.35;
}
.fine-print { margin: 1rem 0 0; color: var(--muted); font-size: .9rem; }

.finance-visual-card {
  display: grid;
  grid-template-columns: 248px 1fr;
  min-height: 270px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(24,18,16,.88);
}
.finance-offer-card { display: flex; flex-direction: column; justify-content: center; gap: .7rem; padding: 1.25rem; background: linear-gradient(180deg, rgba(29,23,20,.92), rgba(22,17,15,.95)); }
.finance-from { margin-bottom: 0; font-style: italic; }
.finance-price { margin-bottom: 0; font-size: clamp(2.6rem, 4vw, 3.6rem); font-weight: 800; line-height: .95; }
.finance-price span { font-size: .44em; }
.finance-approval { margin-bottom: .2rem; color: var(--muted); font-size: .88rem; }
.finance-action, .finance-action-secondary { width: 100%; }
.finance-support-image {
  position: relative;
  background: linear-gradient(180deg, rgba(20,14,12,.12), rgba(20,14,12,.18)), linear-gradient(140deg, #8b6747 0%, #bf8850 28%, #8d673e 48%, #5d7951 100%);
}
.finance-support-image::before, .finance-support-image::after { content: ""; position: absolute; inset: 0; }
.finance-support-image::before {
  background: linear-gradient(90deg, rgba(0,0,0,.18) 0 18%, transparent 18% 100%), repeating-linear-gradient(90deg, rgba(110,69,37,.9) 0 10%, rgba(186,129,72,.95) 10% 19%, rgba(116,78,43,.9) 19% 20%);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 20% 100%, 20% 0);
}
.finance-support-image::after { background: linear-gradient(90deg, transparent 0 24%, rgba(34,28,25,.95) 24% 31%, transparent 31% 100%), linear-gradient(180deg, rgba(255,255,255,.08), transparent 34%); }

.projects-shell { margin-top: 1.1rem; padding: 3rem .95rem 2.6rem; }
.projects-header { text-align: center; }
.projects-header h2 { margin-bottom: 1.8rem; color: var(--text); font-size: clamp(2.2rem, 4vw, 3.35rem); font-weight: 900; line-height: .98; letter-spacing: -.04em; }
.projects-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .22rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.project-card, .gallery-card { border-radius: 18px; background-size: cover; background-position: center; box-shadow: 0 14px 26px rgba(73,44,21,.16); }
.project-card { min-height: 240px; }
.gallery-card { position: relative; min-height: 320px; overflow: hidden; }
.gallery-card-copy { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; padding: 1rem; border-radius: 14px; background: rgba(18,14,13,.72); color: var(--white); }
.gallery-card-copy h3 { margin-bottom: .45rem; font-size: 1.2rem; }
.gallery-card-copy p { margin-bottom: 0; font-size: .95rem; line-height: 1.45; }
.project-card-one { background: linear-gradient(180deg, rgba(19,16,14,.12), rgba(19,16,14,.24)), linear-gradient(140deg, #82603d 0%, #ba854d 38%, #6a8749 100%); }
.project-card-two { background: linear-gradient(180deg, rgba(19,16,14,.1), rgba(19,16,14,.2)), linear-gradient(140deg, #5d432f 0%, #b7854d 44%, #8f6d49 62%, #627047 100%); }
.project-card-three { background: linear-gradient(180deg, rgba(19,16,14,.08), rgba(19,16,14,.2)), linear-gradient(140deg, #90755b 0%, #d29f61 26%, #be8f5b 54%, #648a77 100%); }
.project-card-four { background: linear-gradient(180deg, rgba(19,16,14,.12), rgba(19,16,14,.26)), linear-gradient(140deg, #6e462b 0%, #8e6038 40%, #5c422f 62%, #6f6749 100%); }
.projects-actions { display: flex; justify-content: center; margin-top: 1.5rem; }

.financing-detail-shell { padding: 2rem 1.4rem; }
.financing-detail-grid, .contact-layout { display: grid; gap: 1.4rem; }
.financing-detail-grid { grid-template-columns: minmax(0,1.1fr) 360px; }
.feature-listing { margin: 0 0 1.3rem; padding-left: 1.1rem; color: var(--muted); line-height: 1.7; }
.finance-plan-stack { display: grid; gap: 1rem; }
.plan-card, .sidebar-card { padding: 1.2rem; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.plan-card.highlight { background: linear-gradient(180deg, rgba(52,37,28,.86), rgba(27,20,18,.95)); }
.plan-card h3, .sidebar-card h3 { margin-bottom: .55rem; font-size: 1.9rem; }
.plan-card p, .sidebar-card p { margin-bottom: 0; color: var(--muted); line-height: 1.55; }
.plan-label { margin-bottom: .5rem; color: #ffcb90; font-size: .9rem; font-weight: 800; text-transform: uppercase; }

.contact-layout { grid-template-columns: minmax(0,1.25fr) 340px; }
.contact-form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.field { display: grid; gap: .5rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .95rem 1rem;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  background: rgba(255,255,255,.72);
  color: var(--text);
  font: inherit;
}
.field textarea { resize: vertical; }
.field small { color: #ad3f2b; font-weight: 600; }
.form-submit { width: fit-content; }
.form-alert { margin-bottom: 1rem; padding: 1rem 1.1rem; border-radius: 12px; font-weight: 600; }
.form-alert-success { background: rgba(61,127,78,.14); color: #245231; }
.form-alert-error { background: rgba(173,63,43,.14); color: #8a2f21; }
.contact-sidebar { padding: 1rem; border-radius: 24px; }

.trust-shell { margin-top: 1.1rem; padding: 2.2rem 1rem 2.5rem; text-align: center; }
.trust-title { margin-bottom: 1.5rem; font-size: clamp(1.6rem, 2.4vw, 2.25rem); line-height: 1.2; }
.trust-badges { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
.badge-card { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 112px; padding: 1rem; border-radius: 18px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); }
.badge-mark { color: #ffca8d; font-size: 1.55rem; font-weight: 800; }
.badge-copy { margin-top: .35rem; color: var(--muted); font-size: .95rem; }
.stars .badge-mark { letter-spacing: .1em; font-size: 1.3rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .hero-topbar { grid-template-columns: 1fr; justify-items: center; }
  .nav { flex-wrap: wrap; gap: 1.2rem 1.5rem; }
  .top-cta { width: min(100%, 320px); }
  .hero-content-home { align-items: flex-end; padding-top: 3rem; }
  .financing-shell, .projects-grid, .gallery-grid, .trust-badges, .financing-detail-grid, .contact-layout { grid-template-columns: 1fr; }
  .finance-visual-card { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .page { width: min(calc(100% - .6rem), var(--w)); padding-top: .3rem; }
  .site-hero::after { top: 176px; }
  .site-hero-home { min-height: 680px; }
  .hero-topbar { gap: .85rem; padding: .85rem .85rem .7rem; }
  .brand { justify-self: start; }
  .brand-logo { height: 4.3rem; max-width: 195px; }
  .nav { gap: 1rem 1.25rem; }
  .hero-content-home, .page-hero { padding-left: .9rem; padding-right: .9rem; }
  .hero-content-home { min-height: 500px; padding-top: 3rem; padding-bottom: 1.5rem; }
  .page-hero { min-height: 250px; padding-top: 2.6rem; padding-bottom: 2rem; }
  .hero-subtitle, .page-intro { font-size: 1.2rem; }
  .hero-contact-row { flex-direction: column; }
  .contact-card, .form-submit { width: 100%; }
  .financing-shell, .projects-shell, .content-shell, .trust-shell, .financing-detail-shell { padding-left: .9rem; padding-right: .9rem; }
  .project-card, .gallery-card { min-height: 220px; }
  .form-row { grid-template-columns: 1fr; }
}
