/* ─── TOKENS ──────────────────────────────────────────── */
:root {
  --c-bg:       #F5F3EF;
  --c-surface:  #EDEAE3;
  --c-border:   #D8D3C8;
  --c-ink:      #1A1916;
  --c-mid:      #6B6760;
  --c-accent:   #2D5A3D;
  --c-accent2:  #C8A96B;
  --c-white:    #FDFCFA;
  --r:          6px;
  --gap:        clamp(1.5rem, 4vw, 3rem);
  --max:        1160px;
  --nav-h:      64px;
  font-size: 16px;
}

/* ─── RESET ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--c-bg);
  color: var(--c-ink);
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* ─── TYPOGRAPHY ──────────────────────────────────────── */
h1, h2, h3 { font-family: 'DM Serif Display', serif; font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
p  { max-width: 62ch; }

/* ─── LAYOUT HELPERS ──────────────────────────────────── */
.container { width: min(var(--max), 100% - 2 * var(--gap)); margin-inline: auto; }
.section { padding: clamp(4rem, 10vw, 8rem) 0; }
.section--alt { background: var(--c-surface); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px,100%), 1fr)); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px,100%), 1fr)); gap: var(--gap); }
.tag {
  display: inline-block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-accent); border: 1px solid var(--c-accent); border-radius: 2rem;
  padding: .25rem .75rem; margin-bottom: 1rem;
}
.label { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-mid); }
.page-top { padding-top: var(--nav-h); }

/* ─── NAVIGATION ──────────────────────────────────────── */
nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 100;
  display: flex; align-items: center;
  background: rgba(245, 243, 239, .92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
}
.nav-inner {
  width: min(var(--max), 100% - 2 * var(--gap)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo {
  font-family: 'DM Serif Display', serif; font-size: 1.3rem; letter-spacing: -.01em;
  color: var(--c-ink); display: flex; align-items: center; gap: .4rem;
}
.logo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: .875rem; letter-spacing: .03em; color: var(--c-mid);
  transition: color .2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 1px;
  background: var(--c-accent); transform: scaleX(0); transform-origin: left;
  transition: transform .2s;
}
.nav-links a:hover { color: var(--c-ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--c-ink); font-weight: 500; }
.nav-links a.active::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.lang-btn {
  font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--c-mid); border: 1px solid var(--c-border); background: transparent;
  padding: .3rem .6rem; border-radius: var(--r); transition: all .2s;
}
.lang-btn:hover, .lang-btn.active { background: var(--c-ink); color: var(--c-white); border-color: var(--c-ink); }
.btn-nav {
  font-size: .8rem; font-weight: 500; letter-spacing: .06em;
  background: var(--c-accent); color: var(--c-white);
  border: none; border-radius: var(--r); padding: .5rem 1.2rem;
  transition: background .2s, transform .15s;
}
.btn-nav:hover { background: #234a31; transform: translateY(-1px); }

/* hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--c-ink); transition: transform .3s, opacity .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; background: var(--c-white);
  z-index: 99; display: flex; flex-direction: column; padding: 2rem var(--gap);
  gap: 1rem; transform: translateX(100%); transition: transform .3s;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { font-size: 1.2rem; padding: .75rem 0; border-bottom: 1px solid var(--c-border); color: var(--c-ink); }
.mobile-lang { display: flex; gap: .5rem; margin-top: auto; }

/* ─── BUTTONS ─────────────────────────────────────────── */
.btn-primary {
  font-size: .875rem; font-weight: 500; letter-spacing: .05em;
  background: var(--c-accent); color: var(--c-white);
  border: none; border-radius: var(--r); padding: .85rem 2rem;
  transition: background .2s, transform .15s; display: inline-block; cursor: pointer;
}
.btn-primary:hover { background: #234a31; transform: translateY(-2px); }
.btn-outline {
  font-size: .875rem; font-weight: 400; letter-spacing: .05em;
  background: transparent; color: var(--c-ink);
  border: 1px solid var(--c-border); border-radius: var(--r); padding: .85rem 2rem;
  transition: border-color .2s, color .2s, transform .15s; display: inline-block; cursor: pointer;
}
.btn-outline:hover { border-color: var(--c-ink); transform: translateY(-2px); }

/* ─── CARDS ───────────────────────────────────────────── */
.service-card {
  background: var(--c-white); border: 1px solid var(--c-border); border-radius: 12px;
  padding: 2rem; transition: box-shadow .3s, transform .2s; position: relative; overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--c-accent); transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.service-card:hover { box-shadow: 0 8px 32px rgba(26,25,22,.08); transform: translateY(-4px); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon { font-size: 1.8rem; margin-bottom: 1.2rem; }
.service-card h3 { margin-bottom: .5rem; }
.service-card p { font-size: .9rem; color: var(--c-mid); margin-bottom: 1.2rem; }
.service-price {
  font-family: 'DM Serif Display', serif; font-size: 1.1rem; color: var(--c-accent);
  border-top: 1px solid var(--c-border); padding-top: 1rem; margin-top: auto;
}
.service-card-inner { display: flex; flex-direction: column; height: 100%; }

/* ─── PROCESS STEPS ───────────────────────────────────── */
.process-list { display: flex; flex-direction: column; gap: 0; }
.process-step {
  display: grid; grid-template-columns: 64px 1fr; gap: 2rem; padding: 2rem 0;
  border-bottom: 1px solid var(--c-border); align-items: start;
}
.process-step:last-child { border-bottom: none; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--c-border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Serif Display', serif; font-size: 1.1rem; color: var(--c-accent);
  flex-shrink: 0;
}
.step-content h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.step-content p { font-size: .9rem; color: var(--c-mid); }

/* ─── PORTFOLIO ───────────────────────────────────────── */
.portfolio-filter { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filter-btn {
  font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid var(--c-border); background: transparent; color: var(--c-mid);
  border-radius: 2rem; padding: .4rem 1rem; transition: all .2s; cursor: pointer;
}
.filter-btn:hover, .filter-btn.active { background: var(--c-ink); color: var(--c-white); border-color: var(--c-ink); }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px,100%), 1fr)); gap: var(--gap); }
.portfolio-item {
  border-radius: 12px; overflow: hidden; border: 1px solid var(--c-border);
  background: var(--c-white); transition: transform .25s, box-shadow .25s; cursor: pointer;
}
.portfolio-item:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(26,25,22,.1); }
.portfolio-thumb {
  aspect-ratio: 16/10; overflow: hidden; position: relative;
  background: var(--c-surface); display: flex; align-items: center; justify-content: center;
}
.portfolio-thumb-inner {
  width: 90%; height: 80%; border-radius: 6px; border: 1px solid var(--c-border);
  display: flex; flex-direction: column; overflow: hidden;
}
.port-bar { height: 20px; background: var(--c-border); display: flex; align-items: center; padding: 0 8px; gap: 4px; }
.port-dot { width: 6px; height: 6px; border-radius: 50%; }
.port-body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 10px; }
.port-hero { height: 30px; border-radius: 4px; }
.port-row { display: flex; gap: 4px; }
.port-col { flex: 1; height: 20px; border-radius: 4px; opacity: .5; }
.port-line { height: 5px; border-radius: 3px; width: 60%; }
.portfolio-meta { padding: 1.2rem 1.4rem; }
.portfolio-meta h3 { font-size: 1rem; margin-bottom: .3rem; }
.portfolio-meta p { font-size: .8rem; color: var(--c-mid); }
.portfolio-meta .tag { margin-top: .6rem; margin-bottom: 0; font-size: .65rem; }

/* portfolio color themes */
.pt-a .port-hero { background: #2D5A3D; }
.pt-a .port-col  { background: #C8A96B; }
.pt-a .port-dot:nth-child(1) { background: #e57373; }
.pt-a .port-dot:nth-child(2) { background: #ffb74d; }
.pt-a .port-dot:nth-child(3) { background: #81c784; }
.pt-a .port-line { background: var(--c-border); }
.pt-b .port-hero { background: #1E3A5F; }
.pt-b .port-col  { background: #4A90D9; }
.pt-b .port-dot:nth-child(1) { background: #e57373; }
.pt-b .port-dot:nth-child(2) { background: #ffb74d; }
.pt-b .port-dot:nth-child(3) { background: #81c784; }
.pt-b .port-line { background: var(--c-border); }
.pt-c .port-hero { background: #5C3D7A; }
.pt-c .port-col  { background: #A678C8; }
.pt-c .port-dot:nth-child(1) { background: #e57373; }
.pt-c .port-dot:nth-child(2) { background: #ffb74d; }
.pt-c .port-dot:nth-child(3) { background: #81c784; }
.pt-c .port-line { background: var(--c-border); }
.pt-d .port-hero { background: #7A3D3D; }
.pt-d .port-col  { background: #E07C7C; }
.pt-d .port-dot:nth-child(1) { background: #e57373; }
.pt-d .port-dot:nth-child(2) { background: #ffb74d; }
.pt-d .port-dot:nth-child(3) { background: #81c784; }
.pt-d .port-line { background: var(--c-border); }
.pt-e .port-hero { background: #2D5A6A; }
.pt-e .port-col  { background: #5AACB4; }
.pt-e .port-dot:nth-child(1) { background: #e57373; }
.pt-e .port-dot:nth-child(2) { background: #ffb74d; }
.pt-e .port-dot:nth-child(3) { background: #81c784; }
.pt-e .port-line { background: var(--c-border); }

/* ─── CONTACT FORM ────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: calc(var(--gap) * 2); align-items: start; }
.contact-info { position: sticky; top: calc(var(--nav-h) + 2rem); }
.contact-info p { color: var(--c-mid); margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; }
.contact-detail { display: flex; align-items: center; gap: 1rem; }
.contact-icon { width: 40px; height: 40px; border-radius: 8px; background: var(--c-surface); border: 1px solid var(--c-border); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.contact-detail-text small { display: block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c-mid); }
.contact-detail-text span { font-size: .95rem; }
.form-card { background: var(--c-white); border: 1px solid var(--c-border); border-radius: 16px; padding: 2.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.2rem; }
.form-group label { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--c-mid); }
.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'DM Sans', sans-serif; font-size: .9rem; font-weight: 300;
  background: var(--c-bg); border: 1px solid var(--c-border); color: var(--c-ink);
  border-radius: var(--r); padding: .7rem 1rem; width: 100%;
  transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(45,90,61,.1);
}
.form-group textarea { min-height: 120px; }
.btn-submit {
  width: 100%; font-family: 'DM Sans', sans-serif; font-size: .875rem; font-weight: 500; letter-spacing: .06em;
  background: var(--c-accent); color: var(--c-white);
  border: none; border-radius: var(--r); padding: 1rem 2rem;
  transition: background .2s, transform .15s; cursor: pointer;
}
.btn-submit:hover { background: #234a31; transform: translateY(-1px); }
.form-success { display: none; text-align: center; padding: 3rem 2rem; }
.form-success .success-icon { font-size: 3rem; margin-bottom: 1rem; }
.form-success h3 { margin-bottom: .5rem; }
.form-success p { color: var(--c-mid); font-size: .9rem; }

/* ─── ABOUT ───────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: calc(var(--gap) * 2); align-items: start; }
.about-sticky { position: sticky; top: calc(var(--nav-h) + 2rem); }
.about-figure { display: flex; flex-direction: column; gap: .9rem; }
.about-photo {
  width: 100%; aspect-ratio: 4/5; border-radius: 12px;
  background: linear-gradient(135deg, var(--c-surface) 0%, var(--c-border) 100%);
  position: relative; overflow: hidden; border: 1px solid var(--c-border);
  display: flex; align-items: center; justify-content: center;
}
.about-photo-img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 12%;
  display: block;
}
.about-caption {
  display: flex; flex-direction: column; align-items: center; gap: .15rem;
  text-align: center;
}
.about-caption strong { font-size: 1rem; color: var(--c-ink); font-weight: 500; }
.about-caption span { font-size: .82rem; color: var(--c-mid); }
.values-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.value-item { display: flex; gap: 1rem; align-items: flex-start; }
.value-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--c-surface); border: 1px solid var(--c-border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1rem; }
.value-text h4 { font-family: 'DM Serif Display', serif; font-size: 1rem; margin-bottom: .2rem; }
.value-text p { font-size: .875rem; color: var(--c-mid); max-width: none; }

/* ─── HERO ────────────────────────────────────────────── */
.hero {
  padding-top: calc(var(--nav-h) + clamp(3rem, 8vw, 6rem));
  padding-bottom: clamp(4rem, 10vw, 8rem);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 30%, rgba(45,90,61,.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: center; }
.hero-eyebrow { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--c-accent); margin-bottom: 1.2rem; }
.hero h1 { margin-bottom: 1.5rem; }
.hero-sub { font-size: 1.1rem; color: var(--c-mid); margin-bottom: 2.5rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual {
  aspect-ratio: 4/3; border-radius: 12px; overflow: hidden;
  background: var(--c-surface); position: relative; border: 1px solid var(--c-border);
}
.hero-mockup { position: absolute; inset: 0; display: flex; flex-direction: column; }
.mock-bar { height: 32px; background: var(--c-border); display: flex; align-items: center; padding: 0 12px; gap: 6px; }
.mock-dot { width: 9px; height: 9px; border-radius: 50%; }
.mock-dot:nth-child(1) { background: #e57373; }
.mock-dot:nth-child(2) { background: #ffb74d; }
.mock-dot:nth-child(3) { background: #81c784; }
.mock-body { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.mock-hero-block { height: 70px; background: var(--c-accent); border-radius: 6px; opacity: .15; }
.mock-row { display: flex; gap: 8px; }
.mock-card { flex: 1; height: 50px; background: var(--c-border); border-radius: 6px; }
.mock-line { height: 8px; background: var(--c-border); border-radius: 4px; width: 70%; }
.mock-line.short { width: 45%; }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--c-border); flex-wrap: wrap; }
.stat-num { font-family: 'DM Serif Display', serif; font-size: 2.2rem; color: var(--c-ink); line-height: 1; }
.stat-lbl { font-size: .75rem; color: var(--c-mid); margin-top: .25rem; }

/* ─── FOOTER ──────────────────────────────────────────── */
footer { background: var(--c-ink); color: var(--c-white); padding: 3rem 0 2rem; }
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--gap);
  padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 1.5rem;
}
.footer-brand .logo { color: var(--c-white); margin-bottom: 1rem; }
.footer-brand p { font-size: .875rem; color: rgba(255,255,255,.5); max-width: 32ch; }
.footer-col h4 { font-family: 'DM Serif Display', serif; font-size: 1rem; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul a { font-size: .875rem; color: rgba(255,255,255,.5); transition: color .2s; }
.footer-col ul a:hover { color: var(--c-white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.4); }

/* ─── ANIMATIONS ──────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up   { animation: fadeUp .6s ease both; }
.fade-up-2 { animation: fadeUp .6s .15s ease both; }
.fade-up-3 { animation: fadeUp .6s .3s ease both; }
.fade-up-4 { animation: fadeUp .6s .45s ease both; }

/* ─── SUBSCRIPTION PRICING ───────────────────────────── */
.card-footer { margin-top: auto; border-top: 1px solid var(--c-border); padding-top: 1rem; }
.price-split { padding-top: 0; }
.price-setup-line { font-size: .8rem; color: var(--c-mid); margin-bottom: .4rem; }
.price-setup-line strong { font-weight: 500; color: var(--c-ink); }
.price-monthly-line { font-family: 'DM Serif Display', serif; font-size: 1.55rem; color: var(--c-accent); line-height: 1.1; }
.price-monthly-line small { font-family: 'DM Sans', sans-serif; font-size: .78rem; font-weight: 300; color: var(--c-mid); }
.plan-note { font-size: .78rem; color: var(--c-mid); padding: .55rem .7rem; background: var(--c-surface); border-radius: var(--r); margin-bottom: 1rem; }
.perk-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 10px; padding: 1.5rem; }
.perk-card .perk-icon { font-size: 1.4rem; margin-bottom: .65rem; }
.perk-card h4 { font-family: 'DM Serif Display', serif; font-size: 1.05rem; margin-bottom: .3rem; }
.perk-card p { font-size: .875rem; color: var(--c-mid); max-width: none; }

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-sticky { position: static; }
  .about-photo { aspect-ratio: 1/1; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { position: static; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .form-group input, .form-group select, .form-group textarea { font-size: 16px; }
}
