/* Pilina — light editorial design system (per client feedback: airy, generous
   whitespace, refined typography, restrained color, quiet orange accents). */
:root {
  --paper: #FBF9F5;        /* warm white background */
  --paper-2: #F4F0E8;      /* slightly deeper warm block */
  --ink: #2B2B26;          /* warm near-black text */
  --ink-soft: #5C5A52;     /* secondary text */
  --orange: #C96F3B;       /* quiet orange accent */
  --orange-soft: #E4B594;
  --sage: #8A9B8C;
  --line: rgba(43, 43, 38, .12);
  --dark: #26282B;         /* used sparingly (footer) */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.75; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--orange); }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); line-height: 1.12; letter-spacing: .005em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: .55em; }
h3 { font-size: 1.3rem; margin-bottom: .35em; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
section { padding: 96px 0; }

.btn {
  display: inline-block; background: var(--orange); color: #fff; text-decoration: none;
  padding: 15px 38px; border-radius: 999px; font-size: .82rem; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 500; transition: background .25s, transform .25s;
  border: none; cursor: pointer;
}
.btn:hover { background: var(--ink); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--orange); color: #fff; }

/* ---------- Nav ---------- */
header.site-nav {
  position: sticky; top: 0; z-index: 50; background: rgba(251, 249, 245, .93);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 28px; max-width: 1240px; margin: 0 auto; }
.brand { font-family: var(--serif); font-size: 1.85rem; color: var(--ink); text-decoration: none; letter-spacing: .05em; line-height: 1; }
.brand small { display: block; font-family: var(--sans); font-size: .58rem; letter-spacing: .3em; text-transform: uppercase; color: var(--orange); margin-top: 3px; }
nav.links { display: flex; gap: 30px; align-items: center; }
nav.links a, .drop-btn {
  text-decoration: none; color: var(--ink); font-size: .8rem; letter-spacing: .12em;
  text-transform: uppercase; padding: 6px 0; border-bottom: 2px solid transparent;
  background: none; border-top: none; border-left: none; border-right: none;
  font-family: var(--sans); cursor: pointer;
}
nav.links a.active, nav.links a:hover, .drop-btn:hover, .drop-btn.active { color: var(--orange); border-bottom-color: var(--orange-soft); }
nav.links a.nav-cta {
  border: 1px solid var(--orange); border-radius: 999px; padding: 10px 22px; color: var(--orange);
}
nav.links a.nav-cta:hover { background: var(--orange); color: #fff; }
.dropdown { position: relative; }
.caret { font-size: .7em; }
.drop-menu {
  display: none; position: absolute; top: calc(100% + 10px); left: -14px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 0; min-width: 250px;
  box-shadow: 0 18px 44px rgba(43, 43, 38, .12);
}
.drop-menu a { display: block; padding: 10px 22px !important; border-bottom: none !important; }
.dropdown:hover .drop-menu, .dropdown.open .drop-menu { display: block; }
.menu-btn { display: none; background: none; border: none; font-size: 1.6rem; color: var(--ink); cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 82vh; display: flex; align-items: center; padding: 0; overflow: hidden; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(251,249,245,.94) 0%, rgba(251,249,245,.72) 42%, rgba(251,249,245,.1) 100%); }
.hero .container { position: relative; z-index: 2; padding-top: 110px; padding-bottom: 110px; }
.hero h1 { max-width: 15ch; }
.hero p { max-width: 54ch; margin: 26px 0 38px; font-size: 1.06rem; color: var(--ink-soft); }

/* ---------- Page header ---------- */
.page-header { background: var(--paper-2); text-align: center; padding: 110px 24px 90px; border-bottom: 1px solid var(--line); }
.page-header h1 { max-width: 22ch; margin: 0 auto; }
.page-header p { color: var(--ink-soft); margin: 18px auto 0; font-size: 1.05rem; max-width: 62ch; }

/* ---------- Stats ---------- */
.stats-section { padding: 54px 0; border-bottom: 1px solid var(--line); }
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; text-align: center; }
.stat strong { display: block; font-family: var(--serif); font-size: 2.3rem; color: var(--orange); line-height: 1.1; }
.stat span { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- Text ---------- */
.text-section .container { max-width: 760px; text-align: center; }
.text-section p, .ti-grid p { white-space: pre-line; color: var(--ink-soft); }

/* ---------- Text + image ---------- */
.ti-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.ti-grid img { border-radius: 4px; aspect-ratio: 9/7; object-fit: cover; }

/* ---------- Cards ---------- */
.cards-section { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cards-intro { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.cards-intro p { color: var(--ink-soft); }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 30px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(43,43,38,.08); }
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card .card-body { padding: 28px; }
.card p { font-size: .93rem; color: var(--ink-soft); }
.card.no-img .card-body { padding: 32px 28px; }
.card.no-img h3::before { content: ''; display: block; width: 34px; height: 2px; background: var(--orange); margin-bottom: 16px; }
.card-link { display: inline-block; margin-top: 14px; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }

/* ---------- Steps ---------- */
.steps-section { background: var(--paper-2); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 34px; }
.step { position: relative; padding-top: 14px; }
.step-num { font-family: var(--serif); font-size: 2.6rem; color: var(--orange-soft); line-height: 1; display: block; margin-bottom: 12px; }
.step p { font-size: .93rem; color: var(--ink-soft); }

/* ---------- Quote ---------- */
.quote-section { text-align: center; }
.quote-section blockquote { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.4; max-width: 30ch; margin: 0 auto 26px; color: var(--ink); }
.quote-section cite { font-style: normal; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }

/* ---------- Team ---------- */
.team-section { background: #fff; border-top: 1px solid var(--line); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 44px 34px; margin-top: 30px; }
.member img { aspect-ratio: 1/1; object-fit: cover; width: 100%; border-radius: 4px; margin-bottom: 18px; }
.member h3 { margin-bottom: 2px; }
.member .role { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); display: block; margin-bottom: 10px; }
.member p { font-size: .9rem; color: var(--ink-soft); }
.member-contact { margin-top: 10px; font-size: .84rem !important; }
.member-contact a { text-decoration: none; }

/* ---------- Gallery / editorial grid ---------- */
.gallery-section h2 { margin-bottom: 40px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 18px; }
.gallery-item { position: relative; border-radius: 4px; overflow: hidden; margin: 0; }
.gallery-item img { aspect-ratio: 1/1; object-fit: cover; width: 100%; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; color: #fff; font-size: .82rem;
  background: linear-gradient(transparent, rgba(38,40,43,.7));
}

/* ---------- CTA ---------- */
.cta-section { background: var(--dark); color: #fff; text-align: center; }
.cta-section h2 { color: #fff; }
.cta-section p { max-width: 56ch; margin: 0 auto 34px; color: rgba(255,255,255,.78); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.contact-details p { margin-bottom: 16px; color: var(--ink-soft); }
.contact-details strong { color: var(--ink); display: block; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 2px; }
form.contact-form { background: #fff; padding: 38px; border: 1px solid var(--line); border-radius: 4px; }
form.contact-form label { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin: 20px 0 6px; font-weight: 500; }
form.contact-form label:first-child { margin-top: 0; }
form.contact-form input, form.contact-form textarea, form.contact-form select {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 4px;
  font-family: var(--sans); font-size: .95rem; background: var(--paper);
}
form.contact-form textarea { min-height: 130px; resize: vertical; }
form.contact-form .btn { margin-top: 26px; }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--dark); color: rgba(255,255,255,.75); padding: 64px 24px 36px; text-align: center; }
footer .brand { color: #fff; font-family: var(--serif); font-size: 1.7rem; text-decoration: none; }
footer p.tagline { color: var(--orange-soft); font-family: var(--serif); font-size: 1.15rem; margin: 10px 0 22px; }
footer p.foot-text { max-width: 64ch; margin: 0 auto 22px; font-size: .88rem; }
footer .foot-meta { font-size: .82rem; color: rgba(255,255,255,.5); line-height: 2; }
footer .foot-meta a { color: var(--orange-soft); text-decoration: none; }

@media (max-width: 860px) {
  nav.links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); flex-direction: column; gap: 0; padding: 12px 28px 22px; border-bottom: 1px solid var(--line); align-items: stretch; }
  nav.links.open { display: flex; }
  nav.links a, .drop-btn { padding: 12px 0; text-align: left; }
  .drop-menu { position: static; box-shadow: none; border: none; background: transparent; display: block; padding: 0 0 0 18px; }
  nav.links a.nav-cta { text-align: center; margin-top: 10px; }
  .menu-btn { display: block; }
  .ti-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  section { padding: 64px 0; }
  .hero { min-height: 70vh; }
}
