@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700;9..144,800&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --radius: 1rem;
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --radius-2xl: calc(var(--radius) + 8px);
  --radius-3xl: calc(var(--radius) + 16px);

  --cream: #f8f2eb;
  --ink: #2f231d;
  --terracotta: #b96743;
  --amber: #e0b565;
  --sage: #91a27d;

  --background: #fbf7f2;
  --foreground: #2f231d;
  --card: rgba(255, 252, 248, 0.92);
  --card-foreground: #2f231d;
  --popover: #fffdf9;
  --popover-foreground: #2f231d;
  --primary: #b96743;
  --primary-foreground: #fffaf4;
  --secondary: #f2e7da;
  --secondary-foreground: #3f3128;
  --muted: #f4ede4;
  --muted-foreground: #7a6658;
  --accent: #e0b565;
  --accent-foreground: #2f231d;
  --border: rgba(120, 89, 67, 0.16);
  --input: rgba(120, 89, 67, 0.16);
  --ring: rgba(185, 103, 67, 0.28);

  --gradient-warm: linear-gradient(135deg, var(--amber), var(--terracotta));
  --gradient-soft: linear-gradient(180deg, #fffaf5, #f4e8dc);
  --gradient-hero:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(224,181,101,.28), transparent 60%),
    radial-gradient(ellipse 70% 50% at 10% 90%, rgba(185,103,67,.18), transparent 60%);
  --shadow-warm: 0 20px 50px -20px rgba(185,103,67,.28);
  --shadow-soft: 0 10px 30px -12px rgba(47,35,29,.12);
  --shadow-glow: 0 0 60px rgba(224,181,101,.28);
  --transition-smooth: cubic-bezier(0.22, 1, 0.36, 1);

  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: 'Inter', system-ui, sans-serif;
  font-feature-settings: "ss01", "cv11";
  line-height: 1.6;
  background-image: var(--gradient-hero), linear-gradient(180deg, #fffaf6 0%, #f6ede4 100%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(120,89,67,.10);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}
.section-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(251,247,242,.78);
  border-bottom: 1px solid rgba(120,89,67,.08);
}
.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(120,89,67,.10);
  display: grid;
  place-items: center;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted-foreground);
  font-size: 15px;
  font-weight: 500;
}
.nav-links a:hover,
.nav-links a.active { color: var(--foreground); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: -.01em;
  border: 1px solid transparent;
  transition: all .35s var(--transition-smooth);
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gradient-warm);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-warm);
}
.btn-primary:hover { box-shadow: 0 24px 40px -18px rgba(185,103,67,.38); }
.btn-secondary {
  background: rgba(255,255,255,.72);
  border-color: var(--border);
  color: var(--foreground);
  backdrop-filter: blur(14px);
}
.btn-secondary:hover {
  border-color: rgba(185,103,67,.28);
  color: var(--primary);
  background: rgba(255,247,241,.96);
}

main section { padding: 56px 0; }
.hero { padding: 58px 0 48px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 30px;
  align-items: center;
}
.hero h1 {
  margin: 18px 0;
  font-size: clamp(44px, 7vw, 82px);
  line-height: .96;
  letter-spacing: -.06em;
  max-width: 10ch;
}
.hero h1 span { display: block; }
.hero p {
  margin: 0 0 28px;
  color: var(--muted-foreground);
  font-size: clamp(18px, 2vw, 21px);
  max-width: 60ch;
}
.hero-actions,
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-actions { margin-bottom: 28px; }
.mini-stat {
  min-width: 150px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(120,89,67,.10);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}
.mini-stat strong { display: block; font-size: 20px; margin-bottom: 4px; }
.mini-stat span { color: var(--muted-foreground); font-size: 14px; }

.hero-panel,
.contact-panel,
.form-panel,
.page-panel {
  background: rgba(255,252,248,.84);
  border: 1px solid rgba(120,89,67,.10);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}
.hero-panel {
  position: relative;
  padding: 30px;
  border-radius: 34px;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-panel::before,
.hero-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}
.hero-panel::before {
  width: 180px;
  height: 180px;
  background: rgba(185,103,67,.12);
  top: -40px;
  right: -30px;
}
.hero-panel::after {
  width: 220px;
  height: 220px;
  background: rgba(224,181,101,.18);
  bottom: -80px;
  left: -40px;
}
.panel-logo,
.panel-stack,
.floating-card { position: relative; z-index: 1; }
.panel-logo {
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(120,89,67,.10);
  border-radius: 28px;
  padding: 28px;
}
.panel-stack { display: grid; gap: 16px; }
.floating-card {
  background: rgba(255, 250, 246, .88);
  border: 1px solid rgba(120,89,67,.12);
  border-radius: 24px;
  padding: 18px 20px;
}
.floating-card strong { display: block; font-size: 15px; margin-bottom: 6px; }
.floating-card p { margin: 0; color: var(--muted-foreground); font-size: 14px; }

.section-head {
  margin-bottom: 28px;
  display: grid;
  gap: 14px;
}
.section-title,
.page-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.02;
  letter-spacing: -.04em;
}
.section-title { max-width: 12ch; }
.page-title { font-size: clamp(38px, 5vw, 64px); }
.section-intro,
.page-intro {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 17px;
  max-width: 68ch;
}
.page-shell { padding: 56px 0 72px; }
.page-panel {
  padding: 34px;
  border-radius: var(--radius-3xl);
}

.grid-2,
.grid-3,
.grid-4,
.testimonials-grid,
.contact-grid {
  display: grid;
  gap: 20px;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.testimonials-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.contact-grid { grid-template-columns: 1fr 1.15fr; align-items: start; }

.card {
  background: var(--card);
  color: var(--card-foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 26px;
  box-shadow: var(--shadow-soft);
  transition: all .35s var(--transition-smooth);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(47,35,29,.10);
  border-color: rgba(185,103,67,.20);
}
.card-tag {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: #f3e3d5;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}
.card h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.15; }
.card p,
.card li,
.contact-list a,
.process-text,
.list,
.list li,
.quote,
.footer-brand p,
.footer-links a,
.footer-contact a,
.footer-contact span { color: var(--muted-foreground); }
.card p,
.quote { margin: 0; }

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: linear-gradient(180deg, rgba(255,251,247,.94), rgba(252,241,232,.96));
}
.pricing-card.featured {
  border-color: rgba(185,103,67,.32);
  background: linear-gradient(180deg, rgba(255,249,243,.98), rgba(245,221,205,.96));
  transform: translateY(-8px);
}
.price {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--foreground);
}
.price small {
  font-size: 15px;
  color: var(--muted-foreground);
  font-weight: 600;
}
.check-list,
.list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.check-list li,
.list li {
  position: relative;
  padding-left: 24px;
}
.check-list li::before,
.list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 800;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.process-step {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-2xl);
  background: rgba(255,251,247,.76);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.process-step::after {
  content: "";
  position: absolute;
  inset: auto -30px -30px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(224,181,101,.16);
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--gradient-warm);
  color: white;
  font-weight: 800;
  margin-bottom: 18px;
  box-shadow: var(--shadow-warm);
}

.testimonial blockquote { margin: 0 0 18px; font-size: 17px; line-height: 1.7; }
.author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.avatar {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f3e3d5, #f0d4aa);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--primary);
  flex-shrink: 0;
}
.author strong { display: block; }
.author span { color: var(--muted-foreground); font-size: 14px; }

.contact-panel,
.form-panel {
  border-radius: 30px;
  padding: 28px;
}
.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}
.contact-item strong { display: block; margin-bottom: 6px; font-size: 15px; }
form { display: grid; gap: 14px; }
input, textarea {
  width: 100%;
  border: 1px solid var(--input);
  border-radius: 18px;
  padding: 15px 16px;
  color: var(--foreground);
  background: rgba(255,255,255,.88);
  transition: all .3s ease;
}
input::placeholder, textarea::placeholder { color: #9a8172; }
input:focus, textarea:focus {
  outline: none;
  border-color: rgba(185,103,67,.36);
  box-shadow: 0 0 0 4px rgba(185,103,67,.12);
  background: rgba(255,255,255,.96);
}
textarea { min-height: 150px; resize: vertical; }

footer {
  padding: 30px 0 56px;
  color: var(--muted-foreground);
}
.footer-box {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 20px;
  padding-top: 26px;
  border-top: 1px solid rgba(120,89,67,.12);
}
.footer-brand {
  display: grid;
  gap: 14px;
  max-width: 42ch;
}
.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
  align-content: start;
}
.footer-title {
  color: var(--foreground);
  font-weight: 700;
  margin-bottom: 6px;
}
.footer-bottom {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted-foreground);
  font-size: 14px;
}

.cta-band {
  margin-top: 28px;
  padding: 24px;
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, rgba(224,181,101,.18), rgba(185,103,67,.12));
  border: 1px solid rgba(185,103,67,.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testimonials-grid,
  .contact-grid,
  .footer-box,
  .hero-grid,
  .grid-2 { grid-template-columns: 1fr; }
  .hero h1,
  .section-title { max-width: none; }
}
@media (max-width: 780px) {
  header { position: static; }
  .nav-links { display: none; }
  .nav-actions .btn-secondary { display: none; }
  .hero { padding-top: 28px; }
  .grid-3,
  .grid-4,
  .process-grid,
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .hero-panel { min-height: auto; }
  .footer-bottom,
  .cta-band { flex-direction: column; align-items: flex-start; }
}
