:root{
  --bg:#f7edd7;
  --bg-soft:#fbf5e7;
  --panel:#fffdf7;
  --green:#063f26;
  --green-2:#0b4f2d;
  --orange:#de5b05;
  --gold:#d9c690;
  --gold-2:#e7d6a9;
  --text:#14231a;
  --muted:#3d4b41;
  --shadow:0 18px 35px rgba(74,49,14,.10),0 4px 12px rgba(74,49,14,.08);
  --radius:18px;
  --max:1180px;
  --content-space:24px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--text);
  background:radial-gradient(circle at 50% 0%,#fff9ed 0,#f8efdc 44%,#f5ead2 100%);
  font-family:"Inter",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:16px;
  line-height:1.65;
}

img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}

.contact-page{
  width:100%;
  margin:0;
  min-height:100vh;
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 82% 8%,rgba(255,255,255,.64),transparent 28%),
    linear-gradient(180deg,#fbf2df 0%,#f7eed8 100%);
}

.contact-hero{
  min-height:476px;
  position:relative;
  isolation:isolate;
  overflow:hidden;
}
.contact-hero::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;height:160px;
  background:linear-gradient(180deg,rgba(247,237,215,0) 0%,rgba(247,237,215,.74) 72%,#f7edd7 100%);
  z-index:-1;
}
.hero-art{
  position:absolute;
  right:max(24px, calc((100vw - var(--max)) / 2 + 4px));
  top:14px;
  width:min(52vw,650px);
  height:auto;
  max-height:500px;
  object-fit:contain;
  object-position:center bottom;
  z-index:-2;
  filter:saturate(1.02) contrast(1.01);
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.60) 10%,#000 24%,#000 100%);
          mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.60) 10%,#000 24%,#000 100%);
}
.leaf-art{
  position:absolute;
  left:-24px;
  top:308px;
  width:220px;
  opacity:.74;
  z-index:-1;
}
.hero-inner{
  width:min(calc(100% - (var(--content-space) * 2)), var(--max));
  margin:0 auto;
  position:relative;
}
.hero-copy{
  width:min(540px,48vw);
  padding-top:62px;
  padding-left:0;
}
.hero-copy h1{
  margin:0;
  color:var(--green);
  font-family:"Cormorant Garamond",Georgia,"Times New Roman",serif;
  font-weight:700;
  font-size:clamp(76px,8.9vw,112px);
  letter-spacing:-.052em;
  line-height:.86;
  white-space:nowrap;
  text-shadow:0 1px 0 rgba(255,255,255,.45);
}
.accent-line,
.small-line{
  display:block;
  width:72px;
  height:3px;
  background:var(--orange);
  border-radius:50px;
}
.accent-line{margin:34px 0 20px 2px}
.hero-copy p{
  margin:0;
  color:#12261f;
  font-size:20px;
  line-height:1.5;
  font-weight:500;
  letter-spacing:-.012em;
}

.contact-content{
  position:relative;
  z-index:2;
  padding:0 var(--content-space) 56px;
  margin-top:0;
}
.contact-grid{
  width:min(100%, var(--max));
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
  align-items:stretch;
}
.panel{
  min-height:665px;
  border:1.4px solid rgba(211,187,128,.72);
  border-radius:var(--radius);
  background:linear-gradient(145deg,rgba(255,254,249,.96),rgba(255,251,239,.92));
  box-shadow:var(--shadow);
  padding:36px 36px 32px;
  position:relative;
  overflow:hidden;
}
.panel::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 94% 6%,rgba(255,255,255,.85),transparent 22%),
    radial-gradient(circle at 7% 95%,rgba(222,91,5,.04),transparent 26%);
}
.panel>*{position:relative;z-index:1}
.panel-header{
  display:flex;
  align-items:center;
  gap:22px;
  margin-bottom:20px;
}
.icon-badge,.round-icon,.social-icon{
  flex:0 0 auto;
  display:inline-grid;
  place-items:center;
  border-radius:999px;
  background:linear-gradient(145deg,#f1eccd 0%,#e5edcf 100%);
  border:1.2px solid rgba(188,199,138,.78);
  box-shadow:inset 0 2px 4px rgba(255,255,255,.88),0 4px 10px rgba(59,53,17,.09);
  color:var(--green-2);
}
.icon-badge{width:68px;height:68px}
.icon-badge img{width:36px;height:36px;color:var(--green-2)}
.panel h2,.social-section h3{
  margin:0;
  color:var(--green);
  font-family:"Cormorant Garamond",Georgia,"Times New Roman",serif;
  font-weight:700;
  line-height:.95;
  letter-spacing:-.026em;
}
.panel h2{font-size:39px}
.panel-header .small-line{margin-top:18px;width:64px;height:3px}

.contact-form{
  padding-top:2px;
}
.contact-form label{
  display:block;
  margin:14px 0 5px;
  color:#0f3b2a;
  font-weight:600;
  font-size:15.5px;
}
.contact-form input,
.contact-form textarea{
  width:100%;
  border:1.2px solid rgba(157,133,88,.62);
  border-radius:7px;
  background:rgba(255,255,250,.78);
  color:#11271f;
  font:500 16px/1.4 "Inter",system-ui,sans-serif;
  outline:0;
  transition:border-color .2s ease,box-shadow .2s ease,background .2s ease;
}
.contact-form input{height:42px;padding:0 13px}
.contact-form textarea{min-height:92px;padding:10px 13px;resize:vertical}
.contact-form input:focus,
.contact-form textarea:focus{
  border-color:var(--green-2);
  box-shadow:0 0 0 3px rgba(11,79,45,.12);
  background:#fffef9;
}
.submit-btn{
  width:100%;
  min-height:52px;
  margin-top:21px;
  border:0;
  border-radius:8px;
  background:linear-gradient(135deg,#0d5630 0%,#063f26 100%);
  color:#fff;
  font-weight:700;
  font-size:17px;
  cursor:pointer;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 8px 18px rgba(6,63,38,.18);
  transition:transform .2s ease,box-shadow .2s ease,filter .2s ease;
}
.submit-btn:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(6,63,38,.22);filter:saturate(1.08)}
.submit-btn:active{transform:translateY(0)}
.form-note{
  min-height:24px;
  margin:10px 0 0;
  color:var(--green);
  font-size:14px;
  font-weight:600;
}

.info-panel{padding-left:36px;padding-right:36px}
.details-list{margin-top:22px}
.detail-row{
  display:grid;
  grid-template-columns:64px 1fr;
  column-gap:16px;
  align-items:center;
  margin:21px 0;
}
.round-icon{width:58px;height:58px}
.round-icon img{width:31px;height:31px;color:var(--green-2)}
.detail-row p{
  margin:0;
  color:#17241c;
  font-size:17px;
  line-height:1.55;
}
.detail-row strong{font-weight:800;color:#0b2d20}
.detail-row a{transition:color .18s ease}
.detail-row a:hover{color:var(--orange)}
.divider{
  width:100%;
  height:1px;
  margin:34px 0 24px;
  background:linear-gradient(90deg,rgba(161,139,89,.1),rgba(145,125,77,.55),rgba(161,139,89,.1));
}
.social-section h3{font-size:36px;margin-bottom:8px}
.social-section .small-line{width:58px;height:3px;margin:0 0 16px}
.social-section p{
  margin:0 0 22px;
  color:#2a342d;
  font-size:16.5px;
  line-height:1.5;
  max-width:380px;
}
.social-links{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  text-align:center;
}
.social-links a{
  display:grid;
  justify-items:center;
  gap:10px;
  color:#1d271f;
  font-size:16px;
  transition:transform .2s ease,color .2s ease;
}
.social-links a:hover{transform:translateY(-3px);color:var(--orange)}
.social-icon{width:72px;height:72px}
.social-icon img{width:39px;height:39px;color:var(--green-2)}


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

@media (max-width:900px){
  :root{--content-space:22px}
  .contact-hero{min-height:580px}
  .hero-art{
    width:min(72vw,470px);
    height:auto;
    opacity:.94;
    right:18px;
    top:98px;
  }
  .hero-copy{width:min(500px,76vw);padding-top:55px;padding-left:0}
  .hero-copy h1{font-size:clamp(68px,14vw,98px)}
  .contact-grid{grid-template-columns:1fr;gap:24px}
  .panel{min-height:auto}
}

@media (max-width:640px){
  :root{--content-space:18px}
  body{font-size:15px}
  .contact-page{width:100%}
  .contact-hero{
    min-height:640px;
    overflow:hidden;
  }
  .hero-inner{width:min(calc(100% - (var(--content-space) * 2)), var(--max))}
  .hero-copy{
    width:100%;
    padding-top:34px;
    padding-left:0;
  }
  .hero-copy h1{
    font-size:clamp(60px,17vw,84px);
    letter-spacing:-.045em;
    max-width:none;
  }
  .accent-line{margin-top:22px;margin-bottom:16px;width:66px}
  .hero-copy p{
    font-size:17px;
    line-height:1.52;
    max-width:340px;
  }
  .hero-art{
    width:min(92vw,390px);
    height:auto;
    left:50%;
    right:auto;
    top:224px;
    transform:translateX(-50%);
    opacity:.98;
    object-fit:contain;
    object-position:center bottom;
    -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.45) 12%,#000 28%,#000 100%);
            mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.45) 12%,#000 28%,#000 100%);
  }
  .leaf-art{left:-58px;top:314px;width:180px;opacity:.48}
  .contact-content{padding:0 var(--content-space) 48px}
  .panel{
    border-radius:16px;
    padding:26px 20px 24px;
  }
  .panel-header{gap:15px;margin-bottom:14px}
  .icon-badge{width:58px;height:58px}
  .icon-badge img{width:31px;height:31px}
  .panel h2{font-size:31px;line-height:1}
  .panel-header .small-line{margin-top:12px;width:54px}
  .contact-form label{font-size:14.5px;margin-top:12px}
  .contact-form input{height:40px}
  .contact-form textarea{min-height:96px}
  .submit-btn{min-height:50px;font-size:16px}
  .detail-row{grid-template-columns:52px 1fr;gap:14px;margin:18px 0}
  .round-icon{width:50px;height:50px}
  .round-icon img{width:27px;height:27px}
  .detail-row p{font-size:15.5px;line-height:1.5}
  .divider{margin:26px 0 22px}
  .social-section h3{font-size:30px}
  .social-section p{font-size:15.5px}
  .social-links{gap:6px}
  .social-icon{width:60px;height:60px}
  .social-icon img{width:33px;height:33px}
  .social-links a{font-size:14px}
}


@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .reveal,.submit-btn,.social-links a{transition:none}
}
