:root {
  --bg: #fff8f4;
  --surface: #ffffff;
  --surface-soft: #fff1ea;
  --ink: #2f2530;
  --muted: #6f6470;
  --primary: #b85c7a;
  --primary-dark: #8f3e5c;
  --accent: #f4b183;
  --line: #eadbd3;
  --shadow: 0 22px 60px rgb(86 48 68 / 14%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgb(255 248 244 / 88%);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgb(234 219 211 / 70%);
}
.brand { font-weight: 900; text-decoration: none; letter-spacing: -0.03em; }
.nav { display: flex; gap: 18px; color: var(--muted); font-weight: 750; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--primary); }

.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr); gap: 32px; align-items: center; max-width: 1180px; margin: 0 auto; padding: clamp(48px, 7vw, 92px) clamp(20px, 4vw, 56px); }
.hero h1 { margin: 0; font-size: clamp(2.5rem, 6vw, 5.2rem); line-height: 0.95; letter-spacing: -0.07em; }
.hero p { color: var(--muted); font-size: 1.12rem; line-height: 1.65; }
.eyebrow { margin: 0 0 10px; color: var(--primary); font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border: 1px solid var(--line); border-radius: 999px; padding: 0 18px; font-weight: 900; text-decoration: none; cursor: pointer; }
.button.primary { background: var(--primary); border-color: var(--primary); color: white; }
.button.primary:hover { background: var(--primary-dark); }
.button.secondary { background: var(--surface); color: var(--primary-dark); }
.button.whatsapp { background: #128c7e; border-color: #128c7e; color: white; }
.button.small { min-height: 38px; padding: 0 14px; font-size: .9rem; }

.hero-card { border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(145deg, #fff, var(--surface-soft)); padding: 30px; box-shadow: var(--shadow); }
.hero-card span { color: var(--primary); font-weight: 900; }
.hero-card strong { display: block; margin-top: 12px; font-size: 2rem; line-height: 1.05; }

.section { max-width: 1180px; margin: 0 auto; padding: 56px clamp(20px, 4vw, 56px); }
.section-soft { max-width: none; background: var(--surface-soft); }
.section-soft > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.section-heading { max-width: 720px; margin-bottom: 28px; }
.section-heading h2, .cta-section h2, .split h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.06em; }
.section-heading p, .cta-section p, .split p { color: var(--muted); line-height: 1.65; }

.cards-grid, .pricing-grid, .services-grid, .reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cards-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.demo-card, .pricing-card, .service-card, .review-card, .booking-card, .bot-card, .contact-card, .info-card, .team-card, .menu-card, .daily-menu-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  color: var(--ink);
  overflow: hidden;
  box-shadow: 0 12px 36px rgb(86 48 68 / 8%);
}
.demo-visual { height: 150px; background: linear-gradient(135deg, #f4b183, #b85c7a); }
.demo-visual.clinic { background: linear-gradient(135deg, #a7f3d0, #38bdf8); }
.demo-visual.food { background: linear-gradient(135deg, #fde68a, #f97316); }
.demo-visual.workshop { background: linear-gradient(135deg, #cbd5e1, #334155); }
.demo-body, .pricing-card, .service-card, .review-card, .booking-card, .bot-card, .contact-card, .info-card, .daily-menu-card { padding: 22px; }
.demo-body h3, .pricing-card h3, .service-card h3, .booking-card h3, .team-card h3, .menu-card h3, .daily-menu-card h3 { margin: 0 0 8px; }
.demo-body p, .pricing-card li, .service-card p, .review-card p, .team-card p, .menu-card p { color: var(--muted); line-height: 1.55; }
.text-link { color: var(--primary-dark); font-weight: 900; text-decoration: none; }
.tag { display: inline-flex; border-radius: 999px; background: var(--surface-soft); color: var(--primary-dark); padding: 7px 10px; font-weight: 900; font-size: .8rem; }
.muted-card { opacity: .72; }
.price { color: var(--primary-dark); font-size: 1.6rem; font-weight: 950; }
.featured { outline: 3px solid rgb(184 92 122 / 18%); }
.cta-section { text-align: center; }

.demo-page .hero { grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr); }
.business-hero { padding-top: clamp(38px, 6vw, 78px); }
.trust-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.trust-bar span { border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); padding: 10px 12px; font-size: .9rem; font-weight: 800; }
.trust-bar strong { color: var(--primary-dark); }
.hero-photo-card { position: relative; margin: 0; min-height: 460px; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow); background: var(--surface); }
.hero-photo-card img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; }
.hero-photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgb(47 37 48 / 62%)); }
.hero-photo-card figcaption { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 1; border-radius: 20px; background: rgb(255 255 255 / 92%); padding: 18px; box-shadow: 0 18px 40px rgb(63 30 50 / 18%); }
.hero-photo-card strong { display: block; font-size: 1.25rem; }
.hero-photo-card span { display: block; margin-top: 6px; color: var(--muted); font-weight: 750; }

.hero-visual { min-height: 430px; border-radius: 32px; background: radial-gradient(circle at 25% 25%, #ffe0d0, transparent 28%), linear-gradient(135deg, #f4b183, #b85c7a 70%); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.hero-visual::after { content: ""; position: absolute; inset: 54px; border-radius: 28px; border: 1px solid rgb(255 255 255 / 55%); background: rgb(255 255 255 / 18%); }
.hero-visual-label { position: absolute; left: 28px; bottom: 28px; z-index: 1; max-width: 260px; border-radius: 22px; background: rgb(255 255 255 / 88%); padding: 18px; box-shadow: 0 18px 40px rgb(63 30 50 / 18%); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr); gap: 22px; align-items: start; }
.business-intro .split { align-items: center; }
.rating-pill { display: inline-flex; margin: 0 0 10px; border-radius: 999px; background: var(--surface-soft); color: var(--primary-dark) !important; padding: 8px 12px; font-weight: 950; }
.list-clean { padding: 0; margin: 0; list-style: none; }
.list-clean li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.compact-list li:last-child { border-bottom: 0; }

.image-services .service-card { display: grid; grid-template-rows: 210px auto; padding: 0; }
.image-services .service-card img { width: 100%; height: 210px; object-fit: cover; }
.image-services .service-card div { padding: 22px; }
.image-services .service-card strong { color: var(--primary-dark); font-size: 1.1rem; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-item { min-height: 170px; border-radius: 22px; background: linear-gradient(135deg, #ffe0d0, #b85c7a); overflow: hidden; margin: 0; }
.gallery-item img { width: 100%; height: 100%; min-height: 230px; object-fit: cover; transition: transform 200ms ease; }
.gallery-item:hover img { transform: scale(1.04); }
.real-gallery .gallery-item { min-height: 230px; }

.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.team-card { display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: center; }
.team-card img { width: 180px; height: 180px; object-fit: cover; }
.team-card div { padding: 20px; }

.healthcare-demo { --bg: #f6fbfb; --surface-soft: #eaf8f6; --ink: #173239; --muted: #587077; --primary: #0f766e; --primary-dark: #115e59; --accent: #38bdf8; --line: #cfe5e2; --shadow: 0 22px 60px rgb(15 118 110 / 13%); }
.healthcare-demo .site-header { background: rgb(246 251 251 / 88%); border-bottom-color: rgb(207 229 226 / 70%); }
.healthcare-demo .button.whatsapp { background: #128c7e; border-color: #128c7e; }
.healthcare-demo .hero-photo-card::after { background: linear-gradient(180deg, transparent 45%, rgb(15 57 64 / 62%)); }
.healthcare-demo .section-soft { background: var(--surface-soft); }

.food-demo { --bg: #fffaf0; --surface-soft: #fff2d7; --ink: #372318; --muted: #6f5847; --primary: #c2410c; --primary-dark: #9a3412; --accent: #f59e0b; --line: #ead7bc; --shadow: 0 22px 60px rgb(194 65 12 / 13%); background: var(--bg); }
.food-demo .site-header { background: rgb(58 31 18 / 92%); border-bottom-color: rgb(255 236 204 / 18%); }
.food-demo .hero-photo-card::after { background: linear-gradient(180deg, transparent 45%, rgb(55 35 24 / 64%)); }
.food-demo .section-soft { background: var(--surface-soft); }
.menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.menu-card { padding: 0; }
.menu-card img { width: 100%; height: 220px; object-fit: cover; }
.menu-card div { padding: 22px; }
.menu-card span { display: inline-flex; margin-top: 6px; color: var(--primary-dark); font-weight: 950; }
.daily-menu-card { margin-top: 20px; }
.side-photo { margin: 0; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); }
.side-photo img { width: 100%; min-height: 430px; object-fit: cover; }

/* Diferenciación visual por sector */
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) {
  --bg: #120b10;
  --surface: #fff8f5;
  --surface-soft: #24141d;
  --ink: #2f1f2b;
  --muted: #76636f;
  --primary: #d66d9a;
  --primary-dark: #9f2f60;
  --accent: #f6c0a4;
  --line: #ead4dc;
  --shadow: 0 28px 80px rgb(78 15 45 / 22%);
  background: linear-gradient(180deg, #120b10 0, #2c1623 520px, #fff8f5 520px);
}
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .site-header { background: rgb(18 11 16 / 88%); border-bottom-color: rgb(255 255 255 / 12%); }
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .brand,
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .nav { color: #fff8f5; }
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .business-hero { color: #fff8f5; align-items: end; }
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .hero h1 { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 500; letter-spacing: -0.05em; }
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .hero p,
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .hero .eyebrow { color: #f9d4e4; }
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .trust-bar span { background: #fff8f5; border-color: #ead4dc; color: #2f1f2b; box-shadow: 0 14px 34px rgb(78 15 45 / 12%); }
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .trust-bar strong { color: #9f2f60; }
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .hero-photo-card { border: 10px solid #fff8f5; border-radius: 120px 120px 28px 28px; transform: rotate(1deg); }
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .hero-photo-card figcaption { left: -1px; right: auto; bottom: 28px; max-width: 310px; border-radius: 0 22px 22px 0; color: #2f1f2b; background: rgb(255 248 245 / 94%); }
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .hero-photo-card figcaption strong { color: #9f2f60; }
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .hero-photo-card figcaption span { color: #76636f; }
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .section-soft { color: #fff8f5; background: #24141d; }
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .section-soft .section-heading p,
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .section-soft .split p,
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .section-soft .list-clean li { color: #e6c8d7; }
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .section-soft .service-card,
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .section-soft .booking-card,
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .section-soft .bot-card,
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .section-soft .contact-card,
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .section-soft .review-card,
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .section-soft .info-card { color: var(--ink); }
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .section-soft .service-card p,
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .section-soft .booking-card p,
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .section-soft .bot-card p,
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .section-soft .contact-card p,
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .section-soft .review-card p,
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .section-soft .info-card p { color: var(--muted); }
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .section-soft .booking-card label { color: var(--ink); }
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .section-soft .booking-card .notice { background: #fff1ea; color: #8f3e5c; }
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .section-soft .bot-message { background: #fff1ea; color: #513044; }
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .section-soft .rating-pill { background: #fff1ea; color: #8f3e5c !important; }
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .section-soft .contact-list a,
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .section-soft .contact-list span { background: #fff8f5; color: #2f1f2b; }
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .image-services .service-card { border: 0; border-radius: 34px; box-shadow: 0 24px 70px rgb(0 0 0 / 18%); }
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .image-services .service-card:nth-child(2) { transform: translateY(34px); }
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .real-gallery { grid-template-columns: 1.2fr .8fr 1fr .8fr; }
.demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .gallery-item { border-radius: 999px 999px 24px 24px; }

.healthcare-demo .business-hero { max-width: none; padding-left: max(clamp(20px, 4vw, 56px), calc((100vw - 1180px) / 2)); padding-right: max(clamp(20px, 4vw, 56px), calc((100vw - 1180px) / 2)); background: linear-gradient(90deg, #e7f7f4 0 58%, transparent 58%); }
.healthcare-demo .hero h1 { letter-spacing: -0.04em; }
.healthcare-demo .hero-photo-card { border-radius: 18px; box-shadow: 0 28px 80px rgb(15 118 110 / 18%); }
.healthcare-demo .hero-photo-card figcaption { border-left: 6px solid var(--primary); border-radius: 12px; }
.healthcare-demo .service-card,
.healthcare-demo .team-card,
.healthcare-demo .booking-card,
.healthcare-demo .bot-card,
.healthcare-demo .contact-card,
.healthcare-demo .info-card,
.healthcare-demo .review-card { border-radius: 14px; box-shadow: 0 10px 28px rgb(15 118 110 / 8%); }
.healthcare-demo .section-heading { border-left: 6px solid var(--primary); padding-left: 18px; }
.healthcare-demo .team-card { background: linear-gradient(90deg, #fff, #f2fbfa); }
.healthcare-demo .contact-list a,
.healthcare-demo .contact-list span { border-radius: 10px; }

.food-demo .site-header { background: rgb(58 31 18 / 92%); border-bottom-color: rgb(255 236 204 / 18%); }
.food-demo .brand,
.food-demo .nav { color: #fff4df; }
.food-demo .business-hero { max-width: none; color: #fff4df; padding-left: max(clamp(20px, 4vw, 56px), calc((100vw - 1180px) / 2)); padding-right: max(clamp(20px, 4vw, 56px), calc((100vw - 1180px) / 2)); background: radial-gradient(circle at 15% 20%, rgb(245 158 11 / 34%), transparent 26%), linear-gradient(135deg, #3a1f12 0%, #7c2d12 58%, #fff2d7 58%); }
.food-demo .hero h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 800; letter-spacing: -0.04em; }
.food-demo .hero p,
.food-demo .hero .eyebrow { color: #ffe9c6; }
.food-demo .hero-photo-card { border: 8px solid #fff2d7; border-radius: 28px 120px 28px 28px; }
.food-demo .hero-photo-card figcaption { background: #fff2d7; color: #372318; }
.food-demo .hero-photo-card figcaption strong { color: #9a3412; }
.food-demo .hero-photo-card figcaption span { color: #6f5847; }
.food-demo .trust-bar span { background: rgb(255 242 215 / 13%); border-color: rgb(255 242 215 / 25%); color: #fff4df; }
.food-demo .trust-bar strong { color: #fed7aa; }
.food-demo .section:not(.section-soft) { background: var(--bg); }
.food-demo .menu-grid { align-items: stretch; }
.food-demo .menu-card { border-radius: 36px 36px 14px 14px; box-shadow: 0 18px 50px rgb(124 45 18 / 16%); }
.food-demo .menu-card:nth-child(2) { transform: translateY(28px); }
.food-demo .daily-menu-card { background: #3a1f12; color: #fff4df; border: 0; }
.food-demo .daily-menu-card h3 { color: #fff4df; }
.food-demo .daily-menu-card .list-clean li { color: #f5d7b4; border-bottom-color: rgb(255 255 255 / 12%); }
.food-demo .side-photo { border-radius: 120px 24px 24px 120px; }
.food-demo .real-gallery .gallery-item:nth-child(1),
.food-demo .real-gallery .gallery-item:nth-child(4) { border-radius: 999px; }
.food-demo .bot-message { background: #fff7e8; color: #4a2d1b; }
.food-demo .notice { background: #fff7e8; color: #7c2d12; }

.booking-card label, .bot-card label { display: block; margin: 12px 0 6px; font-weight: 900; }
.booking-card input, .booking-card select, .booking-card textarea { width: 100%; min-height: 42px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: white; color: #1f2937; }
.booking-card textarea { min-height: 88px; resize: vertical; }
.notice { margin-top: 12px; border-radius: 16px; padding: 12px; background: var(--surface-soft); color: var(--primary-dark); font-weight: 800; }
.bot-options { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.bot-message { border-radius: 18px; background: var(--surface-soft); padding: 14px; color: var(--muted); line-height: 1.55; }
.contact-list { display: grid; gap: 10px; margin-top: 18px; }
.contact-list a, .contact-list span { border: 1px solid var(--line); border-radius: 16px; background: white; color: var(--ink); padding: 14px; text-decoration: none; font-weight: 850; }
.footer { padding: 30px clamp(20px, 4vw, 56px); border-top: 1px solid var(--line); color: var(--muted); text-align: center; }

@media (max-width: 920px) {
  .hero, .demo-page .hero, .split { grid-template-columns: 1fr; }
  .cards-grid, .pricing-grid, .services-grid, .reviews-grid, .menu-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .team-card { grid-template-columns: 1fr; }
  .team-card img { width: 100%; height: 260px; }
  .healthcare-demo .business-hero,
  .food-demo .business-hero { background: var(--bg); color: var(--ink); }
  .healthcare-demo .hero p,
  .healthcare-demo .hero .eyebrow { color: var(--muted); }
  .food-demo .hero p,
  .food-demo .hero .eyebrow { color: var(--muted); }
  .food-demo .trust-bar span { background: var(--surface); border-color: var(--line); color: var(--muted); }
  .food-demo .trust-bar strong { color: var(--primary-dark); }
  .demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .image-services .service-card:nth-child(2),
  .food-demo .menu-card:nth-child(2) { transform: none; }
}
@media (max-width: 640px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .nav { flex-wrap: wrap; }
  .cards-grid, .pricing-grid, .services-grid, .reviews-grid, .gallery-grid, .team-grid, .menu-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.55rem; }
  .hero-photo-card, .hero-photo-card img { min-height: 360px; }
  .side-photo img { min-height: 300px; }
  .demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .hero-photo-card,
  .food-demo .hero-photo-card,
  .food-demo .side-photo { border-radius: 28px; transform: none; }
  .demo-page:not(.healthcare-demo):not(.food-demo):not(.workshop-demo) .real-gallery { grid-template-columns: 1fr; }
}
