/* IslaPOS — teal / gold, Spanish-first landing. No framework, no build step. */

:root {
  --teal: #0e7c7b;
  --teal-dark: #0a5e5d;
  --teal-deep: #083f3e;
  --teal-soft: #e6f4f3;
  --gold: #d9a441;
  --gold-dark: #b9821f;
  --ink: #12211f;
  --muted: #55635f;
  --bg: #ffffff;
  --soft: #f4f8f7;
  --line: #dce8e6;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(8, 63, 62, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--teal-dark); }
a:hover { color: var(--teal); }

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-soft { background: var(--soft); }
.section-teal { background: var(--teal-deep); color: #fff; }
.light { color: #fff; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.75em;
}
.eyebrow-light { color: var(--gold); }

.section-intro { color: var(--muted); max-width: 640px; font-size: 1.1rem; }
.section-intro.light, .section-teal .section-intro { color: #cfe3e1; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-logo { width: 44px; height: 44px; object-fit: cover; border-radius: 10px; }
.brand-name { font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; }
.main-nav { margin-left: auto; display: flex; gap: 22px; }
.main-nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.main-nav a:hover { color: var(--teal); }

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 22px;
  border: 2px solid transparent;
  text-align: center;
  cursor: pointer;
}
.btn-gold { background: var(--gold); color: #1d1400; }
.btn-gold:hover { background: var(--gold-dark); color: #fff; }
.btn-outline { border-color: var(--teal); color: var(--teal-dark); background: #fff; }
.btn-outline:hover { background: var(--teal-soft); }
.btn-large { padding: 14px 28px; font-size: 1.05rem; }
.btn-small { padding: 9px 16px; font-size: 0.9rem; }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--teal-soft) 0%, #fff 100%);
  padding: 64px 0 72px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { color: var(--teal-deep); }
.lead { font-size: 1.2rem; color: var(--muted); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 12px; }
.hero-note { font-size: 0.9rem; color: var(--muted); }
.hero-badges { list-style: none; padding: 0; margin: 20px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.hero-badges li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.9rem;
}
.hero-visual { position: relative; }
.hero-logo { border-radius: 24px; box-shadow: var(--shadow); width: 100%; }
.sale-card {
  position: absolute;
  left: -12px;
  bottom: -18px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px;
  width: min(280px, 88%);
}
.sale-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.sale-row { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px dashed var(--line); }
.sale-total { border-bottom: 0; font-size: 1.1rem; }
.sale-pay { color: var(--teal-dark); font-weight: 700; margin: 8px 0 0; }

/* Cards / features */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: #fff;
}
.card h3 { color: var(--teal-deep); }
.card p { color: var(--muted); margin-bottom: 0; }

/* Business types */
.types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.type {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 20px;
}
.type h3 { color: #fff; margin-bottom: 0.25em; }
.type p { color: #cfe3e1; margin-bottom: 0; }
.type-icon { font-size: 1.8rem; display: block; margin-bottom: 10px; }

/* Prototype */
.prototype-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.checklist { list-style: none; padding: 0; margin: 0 0 24px; }
.checklist li { padding: 6px 0 6px 28px; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }
.prototype-card {
  background: var(--teal-deep);
  color: #fff;
  border-radius: var(--radius);
  padding: 26px;
}
.prototype-card .sale-label { color: var(--gold); }
.prototype-card ol { margin: 0; padding-left: 20px; }
.prototype-card li { margin-bottom: 10px; color: #e6f4f3; }

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
  align-items: stretch;
}
.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.price-card h3 { color: var(--teal-deep); }
.price { font-size: 2.6rem; font-weight: 800; color: var(--teal-deep); margin: 0.2em 0; line-height: 1; }
.price .currency { font-size: 1.4rem; vertical-align: top; }
.price .per { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price-note { color: var(--muted); }
.price-card ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.price-card li { padding: 6px 0 6px 26px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }
.price-featured { border: 2px solid var(--gold); box-shadow: var(--shadow); position: relative; }
.featured-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #1d1400;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 5px 12px;
  border-radius: 999px;
  margin: 0;
  white-space: nowrap;
}
.pricing-note { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 24px; }

/* Final CTA */
.cta-final {
  background: var(--teal-deep);
  color: #fff;
  text-align: center;
}
.cta-final h2 { color: #fff; }
.cta-final p { color: #cfe3e1; font-size: 1.1rem; }
.cta-final .hero-cta { justify-content: center; }
.cta-final .btn-outline { background: transparent; color: #fff; border-color: #fff; }
.cta-final .btn-outline:hover { background: rgba(255,255,255,0.12); }

/* Footer */
.site-footer { background: #071f1e; color: #cfe3e1; padding: 48px 0 24px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid h3 { color: #fff; }
.footer-logo { width: 72px; height: 72px; object-fit: cover; border-radius: 14px; margin-bottom: 12px; }
.footer-bottom { text-align: center; color: #8fb3b0; font-size: 0.9rem; margin: 32px 0 0; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; }

/* Responsive */
@media (max-width: 900px) {
  .cards, .types, .pricing { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .prototype-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { max-width: 520px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .main-nav { display: none; }
  .header-inner .btn-small { margin-left: auto; }
  .cards, .types, .pricing, .footer-grid { grid-template-columns: 1fr; }
  .sale-card { position: static; width: 100%; margin-top: 16px; }
  .hero-cta .btn { width: 100%; }
  .price-featured { margin-top: 18px; }
}
