:root {
  --wine: #7a1c2b;
  --wine-dark: #5a1220;
  --leaf: #4d7d3a;
  --sun: #e9b949;
  --ink: #1f1a1b;
  --muted: #5f5658;
  --line: #e6dfdc;
  --paper: #fbf8f5;
  --sand: #f3ece6;
  --white: #ffffff;
  --radius: 18px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--wine); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

.kicker {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--wine); margin-bottom: 14px;
}
.kicker-light { color: var(--sun); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 0.98rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-solid { background: var(--wine); color: #fff; }
.btn-solid:hover { background: var(--wine-dark); }
.btn-line { border-color: var(--wine); color: var(--wine); }
.btn-line:hover { background: var(--wine); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 0.92rem; }
.btn-block { width: 100%; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 245, 0.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(31, 26, 27, 0.06); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand img { height: 60px; width: auto; }
.menu { display: flex; align-items: center; gap: 30px; }
.menu a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 0.96rem; color: var(--muted); }
.menu a:not(.btn):hover { color: var(--wine); }
.menu-btn { display: none; }

/* Hero */
.hero { padding: 48px 0 28px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.hero-lead { font-size: 1.15rem; color: var(--muted); margin: 22px 0 32px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { margin: 0; position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: center;
  border-radius: 28px 28px 28px 120px;
}
.hero-media::after {
  content: ""; position: absolute; width: 90px; height: 90px; border-radius: 50%;
  background: var(--sun); top: -22px; right: 32px; z-index: -1; opacity: .9;
}
.facts {
  list-style: none; margin: 48px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.facts li { display: flex; flex-direction: column; }
.facts strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--wine); }
.facts span { color: var(--muted); font-size: 0.95rem; }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--sand); }
.head { max-width: 720px; margin-bottom: 48px; }
.head-row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.head-note { max-width: 360px; color: var(--muted); }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(122, 28, 43, 0.08); }
.card h3 { margin: 22px 0 10px; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card-icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: #f6e9eb; color: var(--wine);
}
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Band */
.band { background: var(--wine); color: #fff; padding: 96px 0; position: relative; overflow: hidden; }
.band::before {
  content: ""; position: absolute; inset: auto -120px -160px auto; width: 420px; height: 420px;
  border-radius: 50%; background: rgba(255, 255, 255, 0.05);
}
.band-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; position: relative; }
.quote { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 400; font-style: italic; }
.band-lead { margin-top: 20px; color: rgba(255, 255, 255, 0.8); font-size: 1.08rem; }
.principles { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: p; }
.principles li {
  counter-increment: p; padding: 22px 24px 22px 76px; position: relative;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius);
}
.principles li::before {
  content: "0" counter(p); position: absolute; left: 24px; top: 21px;
  font-family: var(--serif); font-size: 1.4rem; color: var(--sun);
}
.principles p { color: rgba(255, 255, 255, 0.8); margin-top: 4px; font-size: 0.98rem; }

/* Clients */
.clients {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.client {
  aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.client:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(31, 26, 27, 0.08); }
.client-logo { background: var(--sand); }
.client-logo img { width: 100%; height: 100%; object-fit: cover; }
.client-light { background: #fff; border: 1px solid var(--line); }
.client-light img { object-fit: contain; padding: 18px; }
.client-aqua { background: #1c3664; }
.client-aqua img { object-fit: contain; }
.client-name { background: var(--white); border: 1px solid var(--line); padding: 20px; gap: 6px; }
.client-name strong { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; line-height: 1.2; color: var(--wine); }
.client-name span { font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.client-more { background: var(--wine); color: #fff; padding: 20px; gap: 10px; }
.client-more strong { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; }
.client-more a { color: var(--sun); font-weight: 700; text-decoration: none; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps li { border-top: 3px solid var(--wine); padding-top: 22px; }
.steps span {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--leaf); color: #fff; font-weight: 700; margin-bottom: 16px;
}
.steps p { color: var(--muted); margin-top: 8px; font-size: 0.97rem; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 700; font-size: 1.05rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 400; color: var(--wine); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 40px 22px 0; color: var(--muted); }

/* Contact */
.contact { background: var(--ink); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-copy > p { color: rgba(255, 255, 255, 0.75); margin-top: 16px; font-size: 1.08rem; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; }
.contact-list li { font-weight: 600; }
.contact-list a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.contact-list a:hover { border-color: var(--sun); }
.form { background: var(--white); color: var(--ink); border-radius: 24px; padding: 32px; display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field span { font-weight: 600; font-size: 0.92rem; }
.field em { font-style: normal; color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper);
  width: 100%;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--wine); background: #fff; }
.form-error { color: #b42318; font-weight: 600; font-size: 0.92rem; }
.form-note { color: var(--muted); font-size: 0.85rem; text-align: center; }

/* Footer */
.footer { padding: 40px 0; background: var(--paper); border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer-row img { height: 64px; width: auto; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a { text-decoration: none; font-weight: 600; color: var(--muted); }
.footer-nav a:hover { color: var(--wine); }
.footer-legal { width: 100%; color: var(--muted); font-size: 0.86rem; }

/* WhatsApp */
.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  transition: transform .2s;
}
.wa:hover { transform: scale(1.06); }
.wa svg { width: 28px; height: 28px; fill: currentColor; }

/* Responsive */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .clients { gap: 16px; }
}
@media (max-width: 860px) {
  .menu-btn {
    display: grid; gap: 5px; width: 44px; height: 44px; place-content: center;
    background: none; border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
  }
  .menu-btn span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .menu {
    position: absolute; top: 80px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 16px 20px; display: none;
  }
  .menu.open { display: flex; }
  .menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .menu .btn { margin-top: 16px; }
  .hero { padding-top: 24px; }
  .hero-grid, .band-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-media { order: -1; }
  .hero-media img { border-radius: 22px 22px 22px 72px; aspect-ratio: 16 / 11; }
  .hero-media::after { width: 60px; height: 60px; top: -14px; right: 20px; }
  .facts { grid-template-columns: 1fr; gap: 14px; margin-top: 36px; }
  .head-row { flex-direction: column; align-items: start; }
  .section, .band { padding: 72px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand img { height: 50px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .clients { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .client-name strong { font-size: 1.1rem; }
  .client-name span { font-size: 0.72rem; }
  .hero-actions .btn { width: 100%; }
  .form { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
