:root {
  --bg: #f4eee4;
  --bg-soft: #fbf8f2;
  --ink: #1f2f25;
  --text: #3d3a34;
  --gold: #b58a4a;
  --line: rgba(31, 47, 37, 0.14);
  --shadow: 0 18px 45px rgba(45, 37, 25, 0.10);
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg-soft);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(100% - 40px, var(--max-width)); margin-inline: auto; }

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.08;
}
h1 { margin: 0; font-size: clamp(3rem, 5.6vw, 5.5rem); letter-spacing: -0.035em; }
h2 { margin: 0; font-size: clamp(2.35rem, 4vw, 4rem); }
h3 { margin: 0; }
p { margin-top: 0; }
.eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 248, 242, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  position: relative;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; line-height: 1.15; }
.brand-title { font-family: Georgia, "Times New Roman", serif; font-size: 2rem; color: var(--ink); }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a { font-size: 0.93rem; position: relative; }
.main-nav a:not(.nav-whatsapp)::after {
  content: ""; position: absolute; left: 0; bottom: -7px; width: 0; height: 1px;
  background: var(--gold); transition: width .25s ease;
}
.main-nav a:hover::after { width: 100%; }
.nav-whatsapp {
  padding: 10px 14px;
  border: 1px solid rgba(31,47,37,.25);
  border-radius: 5px;
  font-weight: 700;
}
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 100%; height: 2px; margin: 5px 0; background: var(--ink); transition: transform .25s ease, opacity .25s ease; }

/* Hero */
.hero {
  position: relative;
  min-height: 740px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(244,238,228,.99) 0%, rgba(244,238,228,.96) 42%, rgba(244,238,228,.58) 67%, rgba(244,238,228,.10) 100%),
    url("assets/hero-fray-denis-hospitalidad.jpg") 92% 62% / auto 100% no-repeat;
  background-color: var(--bg);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 22% 40%, rgba(255,255,255,.38), transparent 36%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }
.hero-copy { max-width: 760px; padding-block: 92px; }
.hero-kicker { margin: 26px 0 0; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.25rem, 2vw, 1.65rem); }
.hero-intro { max-width: 690px; margin: 20px 0 0; font-size: 1.08rem; }
.hero-location { margin: 24px 0 0; color: #676057; font-size: .93rem; font-weight: 700; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }

/* Buttons */
.button {
  min-height: 52px; padding: 14px 22px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 5px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--ink); box-shadow: 0 10px 24px rgba(31,47,37,.18); }
.button-primary:hover { background: #152019; }
.button-secondary { border: 1px solid rgba(31,47,37,.28); background: rgba(255,255,255,.52); }
.button-whatsapp { color: #fff; background: var(--ink); }

/* Sections */
.section { padding: 96px 0; }
.section-heading { text-align: center; margin-bottom: 48px; }
.section-heading > p:last-child { max-width: 760px; margin: 18px auto 0; }
.section-heading-left { text-align: left; }
.section-heading-left > p:last-child { margin-left: 0; }
.narrow-heading { max-width: 780px; }
.section-action { margin-top: 34px; }
.text-cta { color: var(--ink); font-weight: 700; border-bottom: 1px solid var(--gold); padding-bottom: 3px; }

/* Problems */
.problems { background: var(--bg-soft); }
.problem-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.problem-card {
  padding: 28px;
  background: #fffdf9;
  border: 1px solid rgba(31,47,37,.08);
  border-radius: 12px;
}
.problem-card h3 { font-size: 1.45rem; margin-bottom: 14px; }
.problem-card p { margin-bottom: 0; }
.problem-card-wide { grid-column: 1 / -1; }

/* Services */
.services { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.service-card {
  padding: 34px 30px;
  background: #fffdf9;
  border: 1px solid rgba(31,47,37,.08);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.service-card h3 { font-size: 1.75rem; margin-bottom: 18px; }
.service-card p:last-child { margin-bottom: 0; }
.service-emphasis { padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 700; }

/* Bridge */
.bridge-section { padding: 78px 0; background: var(--ink); color: rgba(255,255,255,.82); }
.bridge-inner { max-width: 900px; }
.bridge-section h2 { color: #fff; }
.bridge-section p:last-child { max-width: 760px; margin: 22px 0 0; font-size: 1.12rem; }

/* Track record */
.track-record { background: var(--bg-soft); }
.track-record-intro { max-width: 820px; margin-bottom: 42px; }
.track-record-intro p { max-width: 760px; }
.track-record-intro h2 { margin-bottom: 24px; }
.case-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.case-card { padding: 26px 24px; border-left: 3px solid var(--gold); background: #fff; }
.case-card h3 { font-size: 1.45rem; margin-bottom: 10px; }
.case-card p { margin-bottom: 0; font-size: .95rem; }

/* Method */
.method { background: #eee4d6; }
.method-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.method-intro h2 { margin-bottom: 22px; }
.method-steps { list-style: none; counter-reset: steps; padding: 0; margin: 0; display: grid; gap: 0; }
.method-steps li { counter-increment: steps; position: relative; padding: 0 0 26px 58px; border-left: 1px solid rgba(31,47,37,.18); margin-left: 20px; }
.method-steps li:last-child { padding-bottom: 0; border-left-color: transparent; }
.method-steps li::before {
  content: counter(steps); position: absolute; left: -20px; top: -3px; width: 40px; height: 40px;
  display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700;
}
.method-steps strong { display: block; color: var(--ink); margin-bottom: 4px; }
.method-steps span { display: block; }

/* Engagement */
.engagement { background: var(--bg-soft); }
.engagement-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.engagement-grid article { padding: 28px 24px; border-top: 2px solid var(--gold); background: #fffdf9; }
.engagement-grid h3 { font-size: 1.45rem; margin-bottom: 12px; }
.engagement-grid p { margin-bottom: 0; }

/* Coverage */
.coverage { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.coverage-inner { max-width: 900px; }
.coverage h2 { margin-bottom: 24px; }
.coverage p { max-width: 780px; }

/* Contact */
.contact { background: var(--ink); color: rgba(255,255,255,.82); }
.contact h2, .contact h3 { color: #fff; }
.contact-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 62px; align-items: start; }
.contact-copy > p { max-width: 600px; }
.direct-contact { margin-top: 38px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.16); }
.direct-contact h3 { font-size: 1.45rem; margin-bottom: 10px; }
.lead-form-card { padding: 34px; background: #fbf8f2; border-radius: 14px; box-shadow: var(--shadow); color: var(--text); }
.lead-form { display: grid; gap: 18px; }
.form-field { display: grid; gap: 8px; }
.form-field label, .form-check label { color: var(--ink); font-size: .95rem; font-weight: 700; }
.form-field input, .form-field textarea {
  width: 100%; min-height: 48px; padding: 11px 13px; color: var(--text); background: #fff;
  border: 1px solid rgba(31,47,37,.22); border-radius: 6px; font: inherit; outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(181,138,74,.16); }
.optional { margin-left: 6px; color: #777168; font-size: .78rem; font-weight: 400; }
.form-check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.form-check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--ink); }
.form-check label { font-weight: 400; line-height: 1.5; }
.privacy-check a { color: var(--ink); font-weight: 700; border-bottom: 1px solid var(--gold); }
.form-submit { width: 100%; border: 0; cursor: pointer; }
.form-note { margin: -4px 0 0; color: #6f6a62; font-size: .82rem; text-align: center; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* Presentation */
.presentation { background: #eee4d6; }
.presentation-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 64px; align-items: center; }
.presentation-copy { max-width: 760px; }
.presentation-copy h2 { margin-bottom: 20px; }
.presentation-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.file-note { color: rgba(61,58,52,.72); font-size: .88rem; }

/* Final CTA */
.final-cta { padding: 80px 0; background: var(--bg-soft); }
.final-cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.final-cta h2 { max-width: 820px; font-size: clamp(2.1rem, 3.4vw, 3.5rem); }
.final-cta-actions { display: flex; flex-direction: column; gap: 12px; min-width: 250px; }

/* Footer */
.site-footer { padding: 42px 0 24px; background: #142019; color: rgba(255,255,255,.72); font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 52px; }
.footer-grid p { margin-bottom: 9px; }
.footer-grid a { color: #e2bd88; }
.footer-brand { color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; }
.footer-services { color: rgba(255,255,255,.88); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; }
.footer-bottom p { margin: 0; }

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed; right: 18px; bottom: 18px; z-index: 35; width: 52px; height: 52px;
  display: none; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 800;
  box-shadow: 0 10px 26px rgba(20,32,25,.28);
}

/* Responsive */
@media (max-width: 1040px) {
  .main-nav { gap: 14px; }
  .main-nav a { font-size: .86rem; }
  .case-grid, .engagement-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 820px) {
  .menu-toggle { display: block; margin-left: auto; position: relative; z-index: 50; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 45; display: none;
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px;
    background: rgba(251,248,242,.99); border-bottom: 1px solid var(--line); box-shadow: 0 16px 28px rgba(31,47,37,.10);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 11px 4px; font-size: .95rem; }
  .nav-whatsapp { margin-top: 6px; padding: 11px 12px !important; text-align: center; }
  .menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero {
    min-height: 800px;
    align-items: start;
    background:
      linear-gradient(to top, rgba(244,238,228,1) 0%, rgba(244,238,228,.99) 54%, rgba(244,238,228,.78) 73%, rgba(244,238,228,.18) 100%),
      url("assets/hero-fray-denis-hospitalidad.jpg") 88% 14% / auto 46% no-repeat;
    background-color: var(--bg);
  }
  .hero-copy { padding: 310px 0 72px; }
  h1 { font-size: clamp(2.65rem, 11vw, 4.5rem); }
  .hero-kicker { font-size: 1.2rem; }

  .problem-grid, .services-grid, .method-grid, .contact-grid, .presentation-inner, .final-cta-inner, .footer-grid { grid-template-columns: 1fr; }
  .method-grid, .contact-grid { gap: 42px; }
  .presentation-inner, .final-cta-inner { gap: 28px; }
  .final-cta-actions { min-width: 0; flex-direction: row; flex-wrap: wrap; }
  .presentation-actions { align-items: stretch; }
  .floating-whatsapp { display: grid; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, var(--max-width)); }
  .section { padding: 72px 0; }
  .header-inner { min-height: 72px; }
  .brand-title { font-size: 1.55rem; }
  .hero { min-height: 820px; }
  .hero-copy { padding-top: 300px; }
  .hero-actions, .final-cta-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .problem-card-wide { grid-column: auto; }
  .case-grid, .engagement-grid { grid-template-columns: 1fr; }
  .lead-form-card { padding: 26px 20px; }
  .footer-bottom { flex-direction: column; }
  .floating-whatsapp { right: 14px; bottom: 14px; }
}

/* Secondary pages */
.subpage-hero {
  padding: 112px 0 96px;
  background: linear-gradient(135deg, #eee4d6 0%, #f8f3eb 58%, #fbf8f2 100%);
  border-bottom: 1px solid var(--line);
}
.subpage-hero-compact { padding-bottom: 82px; }
.subpage-hero-inner { max-width: 930px; }
.subpage-hero h1 { max-width: 900px; }
.subpage-lead { max-width: 820px; margin: 28px 0 0; font-size: 1.18rem; }
.subpage-meta { margin: 26px 0 0; color: #6e675e; font-size: .92rem; font-weight: 700; }
.split-copy-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 72px; align-items: start; }
.split-copy-grid h2 { margin-top: 0; }
.body-copy { font-size: 1.06rem; }
.body-copy p:last-child { margin-bottom: 0; }
.professional-summary { background: var(--bg-soft); }
.experience-cases { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.experience-list { display: grid; border-top: 1px solid var(--line); }
.experience-item { display: grid; grid-template-columns: .38fr .62fr; gap: 42px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.experience-name h3 { font-size: 1.75rem; margin-bottom: 8px; }
.experience-name span { color: var(--gold); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.experience-detail p { margin: 3px 0 0; font-size: 1.04rem; }
.capability-band { background: var(--ink); color: rgba(255,255,255,.82); }
.capability-band h2, .capability-band h3 { color: #fff; }
.capability-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.capability-grid article { padding: 28px 24px; border-top: 2px solid var(--gold); background: rgba(255,255,255,.06); }
.capability-grid h3 { font-size: 1.42rem; margin-bottom: 12px; }
.capability-grid p { margin-bottom: 0; }
.professional-view { background: #eee4d6; }
.independent-projects { background: var(--bg-soft); }
.independent-project-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.independent-project-card { padding: 42px 38px; background: #fffdf9; border: 1px solid rgba(31,47,37,.08); border-radius: 12px; box-shadow: var(--shadow); }
.independent-project-card h2 { margin-bottom: 22px; }
.independent-project-card .text-cta { display: inline-block; margin-top: 12px; }
.separation-note { background: #eee4d6; }
.separation-note-inner { max-width: 850px; }
.separation-note h2 { margin-bottom: 22px; }
.separation-note p { max-width: 760px; }
.separation-note .button { margin-top: 18px; }

@media (max-width: 900px) {
  .split-copy-grid, .experience-item, .independent-project-grid { grid-template-columns: 1fr; }
  .split-copy-grid { gap: 28px; }
  .experience-item { gap: 12px; }
  .capability-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 620px) {
  .subpage-hero { padding: 82px 0 68px; }
  .subpage-lead { font-size: 1.06rem; }
  .capability-grid { grid-template-columns: 1fr; }
  .independent-project-card { padding: 30px 24px; }
}

/* Privacy page */
.legal-main {
  min-height: calc(100vh - 170px);
  padding: 72px 0 100px;
  background: var(--bg-soft);
}
.legal-content { max-width: 860px; }
.legal-content h1 { margin: 0 0 18px; font-size: clamp(2.7rem, 6vw, 4.9rem); }
.legal-content h2 { margin: 46px 0 14px; font-size: 1.8rem; }
.legal-content p, .legal-content li { color: var(--text); }
.legal-content ul { padding-left: 22px; }
.legal-content a { color: var(--ink); font-weight: 700; border-bottom: 1px solid var(--gold); }
.legal-updated { color: #706a61; font-size: .9rem; }
.legal-back { display: inline-flex; margin-top: 38px; color: var(--ink); font-weight: 700; border-bottom: 1px solid var(--gold); }

/* Form response pages */
.response-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px;
  background: var(--bg);
}
.response-card {
  width: min(100%, 680px);
  padding: 46px;
  background: #fff;
  border: 1px solid rgba(31,47,37,.1);
  border-radius: 14px;
  box-shadow: var(--shadow);
  text-align: center;
}
.response-card h1 { margin: 0 0 18px; font-size: clamp(2.4rem, 6vw, 4rem); }
.response-card > p:not(.eyebrow):not(.response-extra) { margin: 0 auto 28px; max-width: 560px; }
.response-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.response-secondary { color: var(--ink); border: 1px solid rgba(31,47,37,.24); background: transparent; }
.response-extra { margin: 20px 0 0; font-size: .9rem; }
.response-extra a { color: var(--ink); font-weight: 700; border-bottom: 1px solid var(--gold); }

@media (max-width: 520px) {
  .response-card { padding: 26px 20px; }
  .response-actions { flex-direction: column; }
  .response-actions .button { width: 100%; }
}
