:root {
  --bg: #fbf7f1;
  --surface: #ffffff;
  --ink: #2b1f1a;
  --muted: #7d6f66;
  --brand: #e8736a;
  --brand-dark: #b4483f;
  --garden: #153425;
  --garden-soft: #1f4635;
  --line: #eadfd4;
  --shadow: 0 18px 40px -20px rgba(43, 31, 26, .35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Urbanist', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

/* ------ Header ------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 241, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .8rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--ink);
}
.brand img { border-radius: 14px; box-shadow: var(--shadow); }
.brand-name {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: .5px;
}
.nav { display: flex; gap: 1.5rem; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--brand);
  transition: width .25s ease;
}
.nav a:hover::after { width: 100%; }

/* ------ Buttons ------ */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 800;
  font-size: .95rem;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 12px 24px -12px var(--brand-dark); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { border-color: var(--brand); color: var(--brand-dark); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.15); }

/* ------ Hero ------ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(60% 70% at 85% 20%, rgba(232,115,106,.55), transparent 50%),
    radial-gradient(50% 60% at 10% 85%, rgba(124,196,94,.5), transparent 50%),
    linear-gradient(135deg, #123527, #1d4638 60%, #2a5c45);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='1.4' fill='rgba(255,255,255,.35)'/%3E%3C/svg%3E");
  opacity: .35;
}
.hero-inner { position: relative; max-width: 760px; }
.hero-scroll-cta {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.6rem;
  animation: bob 1.6s ease-in-out infinite;
  color: rgba(255,255,255,.7);
}
@keyframes bob { 50% { transform: translate(-50%, 8px); } }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--brand-dark);
  margin-bottom: 1rem;
}
.center { text-align: center; }
.hero .eyebrow { color: #f4b8a4; }

.hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -1px;
}
.hero-title em {
  font-style: italic;
  background: linear-gradient(90deg, #f4b8a4, #e8736a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { font-size: 1.25rem; margin: 1.4rem 0 2rem; color: #e7e0d8; max-width: 34ch; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ------ Sections ------ */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--surface); }
.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 2.5rem;
}
.section-title.center { text-align: center; }

/* ------ Cards grid ------ */
.grid.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--surface);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s ease;
}
.card:hover { transform: translateY(-6px); }
.card-img {
  height: 230px;
  background-size: cover;
  background-position: center;
}
.card-body { padding: 1.2rem 1.3rem 1.4rem; }
.card-body h3 { font-family: 'Playfair Display', serif; font-size: 1.25rem; }
.card-body p { color: var(--muted); font-size: .95rem; margin: .35rem 0 .8rem; }
.price { font-weight: 800; color: var(--brand-dark); }

/* ------ Nosotros ------ */
.nosotros-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.nosotros-media img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 4 / 4.4;
}
.feature-list { list-style: none; margin-top: 1.2rem; }
.feature-list li {
  padding: .6rem 0 .6rem 2rem;
  position: relative;
  font-weight: 600;
}
.feature-list li::before {
  content: '✿';
  position: absolute;
  left: 0;
  color: var(--brand);
}

/* ------ Contact ------ */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.office-list { list-style: none; margin-top: .5rem; }
.office-list li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.office-list li:last-child { border-bottom: none; }
.office-list strong { display: block; font-size: 1.1rem; }
.office-list span { color: var(--muted); display: block; }
.office-list a { color: var(--brand-dark); font-weight: 700; text-decoration: none; }
.data-short { margin-top: 1.4rem; font-size: .8rem; color: var(--muted); }

.contact-form {
  background: var(--surface);
  padding: 2rem;
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.contact-form h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; margin-bottom: 1.2rem; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: .85rem 1rem;
  margin-bottom: .9rem;
  font-family: inherit;
  font-size: 1rem;
  background: var(--bg);
  color: var(--ink);
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--brand); background: #fff; }
.contact-form .btn { width: 100%; }
.form-note { margin-top: .8rem; font-weight: 700; min-height: 1.2em; color: var(--garden-soft); }

/* ------ Footer ------ */
.site-footer { background: var(--garden); color: #e7e0d8; }
.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 3rem 0 2rem;
}
.footer-brand p { margin-top: .4rem; color: #b7c9be; }
.footer-brand .brand-name { color: #fff; }
.footer-contact p { margin-bottom: .3rem; }
.footer-contact a { color: #f4b8a4; text-decoration: none; }
.footer-social { display: flex; flex-direction: column; gap: .5rem; }
.footer-social a { color: #e7e0d8; text-decoration: none; font-weight: 600; }
.footer-social a:hover { color: #f4b8a4; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,.12);
  text-align: center;
  padding: 1.4rem 1rem;
  font-size: .8rem;
  color: #9db1a4;
}

/* ------ WhatsApp float ------ */
.whatsapp-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 60;
}
.whatsapp-float a {
  display: block;
  background: #25d366;
  color: #fff;
  padding: .8rem 1.2rem;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 12px 24px -10px rgba(37,211,102,.8);
  text-decoration: none;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  50% { box-shadow: 0 0 0 10px rgba(37,211,102,0); }
}

/* ------ Responsive ------ */
@media (max-width: 860px) {
  .nav { display: none; }
  .nosotros-inner, .contact-inner { grid-template-columns: 1fr; }
  .header-order { display: none; }
}