/* ============================================
   GESTURNIA – Landing Page Styles
   Paleta: Teal #0E6B68 + Turquesa #14B8A6
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, sans-serif;
  background: #F5FAFA;
  color: #1A3A3A;
  font-size: 16px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* --- Tokens --- */
:root {
  --teal-dark:   #0A4A48;
  --teal:        #0E6B68;
  --teal-mid:    #1A8A87;
  --teal-light:  #14B8A6;
  --teal-bg:     #E6F9F5;
  --teal-border: #B0E8DE;
  --text-dark:   #0C3A38;
  --text-mid:    #3A6060;
  --text-muted:  #7AADAA;
  --bg-white:    #ffffff;
  --bg-light:    #F5FAFA;
  --border:      #D8EEEB;
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   14px;
}

/* --- Layout --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow {
  max-width: 720px;
}

/* --- Typography --- */
h1, h2, h3 { line-height: 1.2; color: var(--text-dark); }
h1 { font-size: clamp(28px, 5vw, 48px); font-weight: 800; }
h2 { font-size: clamp(22px, 3.5vw, 34px); font-weight: 800; margin-bottom: 12px; }
h3 { font-size: 18px; font-weight: 700; }

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 8px;
}

.accent { color: var(--teal-light); }

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--teal);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  text-align: center;
}
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--teal);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--teal);
  cursor: pointer;
  transition: background 0.15s;
  text-align: center;
}
.btn-ghost:hover { background: var(--teal-bg); }

.btn-white {
  display: inline-block;
  background: #fff;
  color: var(--teal);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 36px;
  border-radius: var(--radius-sm);
  border: 2px solid #fff;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-white:hover { background: var(--teal-bg); }

/* --- Badge --- */
.badge {
  display: inline-block;
  background: var(--teal-bg);
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid var(--teal-border);
  margin-bottom: 18px;
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo-img { height: 36px; width: auto; }

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--teal); }

.nav-cta { padding: 9px 20px; font-size: 14px; }

@media (max-width: 640px) {
  .nav-links { display: none; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 48px;
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 40px;
    padding-bottom: 32px;
  }
  .hero-visual { order: -1; }
}

.hero-text h1 { margin-bottom: 16px; }

.hero-sub {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.hero-note {
  font-size: 12px;
  color: var(--text-muted);
}

/* Calendar preview card */
.cal-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-white);
  box-shadow: 0 4px 20px rgba(14,107,104,0.08);
}

.cal-header-bar {
  background: var(--teal);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cal-dots { display: flex; gap: 5px; }
.cal-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
}

.cal-label { font-size: 11px; color: rgba(255,255,255,0.7); }

.cal-body { padding: 14px; }

.cal-row-header {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 8px;
}

.cal-th {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
  text-align: center;
}

.cal-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 6px;
}

.cal-slot {
  background: var(--teal-bg);
  border-radius: 5px;
  padding: 6px 4px;
  font-size: 9px;
  color: var(--teal);
  text-align: center;
  line-height: 1.4;
  font-weight: 500;
}

.cal-slot.busy { background: #D0F0E8; }
.cal-slot.free { background: #F0F0F0; color: #AAA; }

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
}

.stat {
  padding: 20px 16px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }

.stat-num {
  display: block;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  color: var(--teal);
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
  display: block;
  margin-top: 2px;
}

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-light); }

.section-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

/* ============================================
   PROBLEMA
   ============================================ */
.problem-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.problem-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.5;
}

.icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--teal-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  color: var(--teal);
}

.solution-box {
  background: var(--teal);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.solution-box strong {
  font-size: 17px;
  color: #fff;
  font-weight: 700;
}

.solution-box span {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

/* ============================================
   PLANES
   ============================================ */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.plan-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}

.plan-card:hover { border-color: var(--teal-light); }

.plan-card.featured {
  border: 2px solid var(--teal);
}

.plan-header {
  padding: 22px 22px 16px;
  border-bottom: 1px solid var(--border);
}

.plan-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  background: var(--teal-bg);
  color: var(--teal);
  border: 1px solid var(--teal-border);
}

.plan-tag.hot {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

.plan-tag.enterprise {
  background: var(--teal-bg);
  color: var(--teal-dark);
  border-color: var(--teal);
}

.plan-name {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-top: 14px;
}

.price-curr { font-size: 15px; color: var(--teal); font-weight: 600; }
.price-amount { font-size: 36px; font-weight: 800; color: var(--text-dark); line-height: 1; }
.price-period { font-size: 12px; color: var(--text-muted); }

.plan-body {
  padding: 18px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
  margin-bottom: 18px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.45;
}

.feature-list i {
  color: var(--teal-light);
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}

.plan-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid var(--teal);
  background: transparent;
  color: var(--teal);
  transition: background 0.15s, color 0.15s;
  margin-top: auto;
}

.plan-btn:hover, .plan-btn.primary {
  background: var(--teal);
  color: #fff;
}

.badge-soon {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  background: var(--teal-bg);
  color: var(--teal);
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px solid var(--teal-border);
  margin-left: 6px;
  vertical-align: middle;
}

/* ============================================
   ADD-ONS
   ============================================ */
.addons-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.addons-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  transition: border-color 0.15s;
}

.addons-list li:hover { border-color: var(--teal-light); }

.addon-icon {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: var(--teal-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
  color: var(--teal);
}

.addon-info {
  flex: 1;
  min-width: 0;
}

.addon-info strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.addon-info span {
  font-size: 12px;
  color: var(--text-muted);
}

.addon-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
  white-space: nowrap;
}

/* ============================================
   TESTIMONIOS
   ============================================ */
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.testimony {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal-light);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}

.testimony p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 16px;
}

.testimony footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimony cite {
  display: block;
  font-size: 13px;
  font-weight: 600;
  font-style: normal;
  color: var(--text-dark);
}

.testimony footer span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}

/* ============================================
   CTA FINAL
   ============================================ */
.cta-final {
  background: var(--teal);
  padding: 80px 24px;
}

.cta-final h2 { color: #fff; margin-bottom: 14px; }
.cta-final p { color: rgba(255,255,255,0.75); font-size: 15px; margin-bottom: 28px; }

.cta-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 14px;
  margin-bottom: 0 !important;
}

.cta-sub a {
  color: rgba(255,255,255,0.85);
  text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--teal-dark);
  padding: 40px 24px 20px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.footer-logo-img { height: 32px; width: auto; }

.footer-tagline {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-top: 10px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--teal-light); }

.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; text-align: center; }
  .stats-bar { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }
  .plans-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
