/* =============================================
   BYODA — Global Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- Variables --- */
:root {
  --green-dark:   #0B3D2E;
  --green-mid:    #1A6B47;
  --green-accent: #1DB368;
  --green-light:  #E8F5EE;
  --black:        #111111;
  --gray-dark:    #333333;
  --gray-mid:     #666666;
  --gray-light:   #F5F5F5;
  --border:       #E0E0E0;
  --white:        #FFFFFF;
  --radius:       10px;
  --shadow:       0 4px 20px rgba(0,0,0,0.08);
  --font:         'Inter', sans-serif;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--gray-dark); background: var(--white); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Utility --- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--gray { background: var(--gray-light); }
.section--dark { background: var(--green-dark); color: var(--white); }
.section--green { background: var(--green-light); }
.text-center { text-align: center; }
.text-green { color: var(--green-accent); }
.tag { font-size: 12px; font-weight: 600; color: var(--green-mid); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; }

/* --- Typography --- */
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.15; color: var(--black); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.25; color: var(--black); }
h3 { font-size: 1.2rem; font-weight: 600; color: var(--black); }
h4 { font-size: 1rem; font-weight: 600; color: var(--black); }
p { color: var(--gray-mid); line-height: 1.7; }
.lead { font-size: 1.1rem; color: var(--gray-mid); max-width: 600px; }
.section-title { margin-bottom: 8px; }
.section-sub { color: var(--gray-mid); margin-bottom: 48px; }
.divider { width: 40px; height: 3px; background: var(--green-accent); margin: 16px auto 32px; }
.divider--left { margin-left: 0; }

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: 6px; font-weight: 600; font-size: 15px; cursor: pointer; transition: all .2s; border: none; font-family: var(--font); }
.btn--primary { background: var(--green-dark); color: var(--white); }
.btn--primary:hover { background: var(--green-mid); }
.btn--outline { background: transparent; color: var(--black); border: 1.5px solid #ccc; }
.btn--outline:hover { background: var(--black); color: var(--white); }
.btn--ghost { background: transparent; color: var(--green-mid); padding: 0; font-weight: 600; font-size: 14px; }
.btn--ghost:hover { color: var(--green-dark); }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 64px;
  display: flex; align-items: center;
}
.navbar__inner {
  max-width: 1140px; margin: 0 auto; width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.navbar__logo { display: flex; align-items: center; gap: 8px; font-size: 1.25rem; font-weight: 800; color: var(--black); }
.navbar__logo-icon { width: 26px; height: 26px; background: var(--green-accent); border-radius: 6px; display: flex; align-items: center; justify-content: center; }
.navbar__logo-icon svg { width: 16px; height: 16px; color: white; }
.navbar__nav { display: flex; align-items: center; gap: 28px; }
.navbar__nav a { font-size: 14px; font-weight: 500; color: var(--gray-dark); transition: color .2s; }
.navbar__nav a:hover, .navbar__nav a.active { color: var(--green-mid); }
.navbar__cta { background: var(--green-dark); color: var(--white); padding: 10px 20px; border-radius: 6px; font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .2s; display: inline-block; }
.navbar__cta:hover { background: var(--green-mid); }
.navbar__hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; flex-direction: column; gap: 5px; }
.navbar__hamburger span { display: block; width: 22px; height: 2px; background: var(--black); border-radius: 2px; transition: all .3s; }

/* =============================================
   FOOTER
   ============================================= */
.footer { background: var(--green-dark); color: var(--white); padding: 64px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer__logo { display: flex; align-items: center; gap: 8px; font-size: 1.2rem; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.footer__logo-icon { width: 24px; height: 24px; background: var(--green-accent); border-radius: 5px; display: flex; align-items: center; justify-content: center; }
.footer__logo-icon svg { width: 14px; height: 14px; color: white; }
.footer__brand p { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.7; }
.footer__col h4 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,0.45); margin-bottom: 16px; }
.footer__col ul li { margin-bottom: 10px; }
.footer__col ul li a { font-size: 14px; color: rgba(255,255,255,0.7); transition: color .2s; }
.footer__col ul li a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,0.45); }
.footer__bottom a { color: rgba(255,255,255,0.45); transition: color .2s; }
.footer__bottom a:hover { color: var(--white); }
.footer__bottom-links { display: flex; gap: 20px; }

/* =============================================
   HERO
   ============================================= */
.hero { padding: 72px 0 56px; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero__eyebrow { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray-mid); margin-bottom: 20px; }
.hero__eyebrow span { font-weight: 600; color: var(--green-mid); }
.hero h1 { margin-bottom: 20px; }
.hero h1 span { color: var(--green-accent); }
.hero__desc { font-size: 1.05rem; color: var(--gray-mid); margin-bottom: 32px; max-width: 460px; line-height: 1.7; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero__powered { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--gray-mid); margin-top: 40px; }
.hero__powered-badge { display: flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--border); border-radius: 4px; font-size: 12px; color: var(--gray-mid); font-weight: 500; }
.hero__visual { border-radius: 16px; overflow: hidden; box-shadow: 0 24px 64px rgba(0,0,0,0.12); }
.hero__dashboard { width: 100%; background: linear-gradient(135deg, #0B3D2E 0%, #1A6B47 100%); border-radius: 16px; padding: 24px; min-height: 360px; display: flex; flex-direction: column; gap: 16px; }
.db-bar { background: rgba(255,255,255,0.08); border-radius: 8px; padding: 16px; }
.db-bar h5 { color: rgba(255,255,255,0.6); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; font-weight: 500; }
.db-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.db-metric { }
.db-metric__val { font-size: 1.3rem; font-weight: 700; color: white; }
.db-metric__label { font-size: 10px; color: rgba(255,255,255,0.5); }
.db-metric__change { font-size: 11px; color: var(--green-accent); font-weight: 600; }
.db-chart { background: rgba(255,255,255,0.05); border-radius: 8px; padding: 16px; flex: 1; display: flex; align-items: flex-end; gap: 8px; }
.db-bar-item { flex: 1; background: rgba(29,179,104,0.3); border-radius: 4px 4px 0 0; transition: all .3s; }
.db-bar-item:hover { background: rgba(29,179,104,0.6); }

/* =============================================
   STEPS / PROCESS FLOW
   ============================================= */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.flow::before { content: ''; position: absolute; top: 28px; left: 10%; right: 10%; height: 2px; background: linear-gradient(to right, var(--green-light), var(--green-accent), var(--green-light)); z-index: 0; }
.flow-step { text-align: center; padding: 0 8px; position: relative; z-index: 1; }
.flow-step__icon { width: 56px; height: 56px; background: var(--white); border: 2px solid var(--green-accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.flow-step__icon svg { width: 24px; height: 24px; color: var(--green-mid); }
.flow-step h4 { font-size: 14px; margin-bottom: 6px; }
.flow-step p { font-size: 12px; color: var(--gray-mid); line-height: 1.5; }

/* =============================================
   BANNER QUOTE
   ============================================= */
.quote-banner { background: var(--green-light); border-radius: var(--radius); padding: 28px 36px; display: flex; align-items: center; gap: 20px; }
.quote-banner__icon { font-size: 32px; flex-shrink: 0; }
.quote-banner p { font-size: 1rem; font-weight: 500; color: var(--green-dark); line-height: 1.5; }
.quote-banner strong { color: var(--green-accent); }

/* =============================================
   3 OPTIONS A / B / C
   ============================================= */
.options-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.option-card { border: 1.5px solid var(--border); border-radius: var(--radius); padding: 32px 28px; }
.option-card--featured { border-color: var(--green-accent); background: var(--green-light); }
.option-card__badge { width: 30px; height: 30px; border-radius: 50%; background: var(--green-dark); color: var(--white); font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 13px; }
.option-card--featured .option-card__badge { background: var(--green-accent); }
.option-card h3 { margin-bottom: 6px; font-size: 1rem; color: var(--black); }
.option-card--featured h3 { color: var(--green-dark); }
.option-card__desc { font-size: 13px; color: var(--gray-mid); margin-bottom: 20px; line-height: 1.5; }
.option-card__list li { font-size: 13px; padding: 8px 0; border-bottom: 1px solid var(--border); color: var(--gray-dark); display: flex; align-items: center; gap: 8px; }
.option-card__list li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--green-accent); flex-shrink: 0; }
.option-card__footer { margin-top: 20px; font-size: 13px; color: var(--gray-mid); font-style: italic; }

/* =============================================
   LOGOS
   ============================================= */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 32px 48px; }
.logos__item { font-size: 17px; font-weight: 800; color: var(--gray-mid); opacity: 0.55; letter-spacing: -0.5px; transition: opacity .2s; font-style: italic; }
.logos__item:hover { opacity: 0.85; }

/* =============================================
   SECTORS GRID
   ============================================= */
.sectors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sector-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 20px; transition: all .2s; cursor: pointer; }
.sector-card:hover { border-color: var(--green-accent); background: var(--green-light); box-shadow: var(--shadow); }
.sector-card__icon { font-size: 30px; margin-bottom: 12px; display: block; }
.sector-card h4 { margin-bottom: 4px; font-size: 15px; }
.sector-card a { font-size: 13px; color: var(--green-mid); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; transition: gap .2s; }
.sector-card a:hover { gap: 8px; }

/* =============================================
   WHY BYODA
   ============================================= */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.why-item { display: flex; gap: 16px; }
.why-item__icon { width: 44px; height: 44px; background: var(--green-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.why-item__icon svg { width: 22px; height: 22px; color: var(--green-mid); }
.why-item h4 { margin-bottom: 4px; font-size: 15px; }
.why-item p { font-size: 13px; line-height: 1.6; }

/* =============================================
   STATS ROW
   ============================================= */
.stats-row { display: flex; gap: 48px; flex-wrap: wrap; justify-content: center; }
.stat { text-align: center; }
.stat__num { font-size: 2.2rem; font-weight: 800; color: var(--green-dark); line-height: 1; }
.stat__label { font-size: 13px; color: var(--gray-mid); margin-top: 4px; line-height: 1.4; }

/* =============================================
   PROCESS NUMBERED (Cómo trabajamos)
   ============================================= */
.process-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.process-item { }
.process-item__num { font-size: 12px; font-weight: 700; color: var(--green-accent); margin-bottom: 10px; letter-spacing: .08em; text-transform: uppercase; }
.process-item h3 { margin-bottom: 8px; font-size: 1.05rem; }
.process-item p { font-size: 14px; line-height: 1.65; }

/* =============================================
   RECURSOS / BLOG
   ============================================= */
.recursos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.recurso-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.recurso-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.recurso-card__img { height: 160px; overflow: hidden; }
.recurso-card__img--placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 40px; }
.recurso-card__body { padding: 20px; }
.recurso-card__tag { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--green-mid); letter-spacing: .08em; margin-bottom: 8px; }
.recurso-card h4 { margin-bottom: 10px; font-size: 14px; line-height: 1.45; }
.recurso-card a { font-size: 13px; color: var(--green-mid); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }

/* =============================================
   ABOUT / SOBRE BYODA
   ============================================= */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img--placeholder { width: 100%; height: 440px; background: linear-gradient(150deg, var(--green-light), #a8d5ba); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 96px; }
.founder { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.founder__avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--green-light); display: flex; align-items: center; justify-content: center; font-size: 22px; overflow: hidden; flex-shrink: 0; }
.founder__name { font-weight: 700; font-size: 15px; color: var(--black); }
.founder__role { font-size: 13px; color: var(--gray-mid); }

/* =============================================
   CONTACT
   ============================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-detail__icon { width: 40px; height: 40px; background: var(--green-light); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-detail__icon svg { width: 18px; height: 18px; color: var(--green-mid); }
.contact-detail strong { display: block; font-size: 14px; color: var(--black); margin-bottom: 2px; }
.contact-detail span, .contact-detail a { font-size: 14px; color: var(--gray-mid); }
.form { display: flex; flex-direction: column; gap: 16px; }
.form__group { display: flex; flex-direction: column; gap: 6px; }
.form__group label { font-size: 14px; font-weight: 500; color: var(--gray-dark); }
.form__group input, .form__group textarea, .form__group select {
  padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 6px;
  font-family: var(--font); font-size: 15px; color: var(--black);
  transition: border-color .2s; background: var(--white); width: 100%;
  appearance: none;
}
.form__group input:focus, .form__group textarea:focus, .form__group select:focus { outline: none; border-color: var(--green-mid); }
.form__group textarea { resize: vertical; min-height: 120px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section { background: var(--green-dark); color: var(--white); text-align: center; padding: 88px 24px; }
.cta-section h2 { color: var(--white); margin-bottom: 14px; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.cta-section p { color: rgba(255,255,255,0.65); margin-bottom: 36px; font-size: 1.05rem; }
.btn--cta { background: var(--green-accent); color: var(--white); padding: 16px 36px; font-size: 16px; border-radius: 8px; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; transition: background .2s, transform .2s; }
.btn--cta:hover { background: #17a35a; transform: translateY(-1px); }

/* =============================================
   STAR BANNER
   ============================================= */
.star-banner { background: var(--green-light); border-top: 1px solid #c8e8d4; border-bottom: 1px solid #c8e8d4; padding: 28px 24px; text-align: center; }
.star-banner p { font-size: 1.05rem; font-weight: 600; color: var(--green-dark); }

/* =============================================
   PAGE HEADER (inner pages)
   ============================================= */
.page-header { padding: 60px 0 40px; }
.page-header .tag { margin-bottom: 12px; }
.page-header h1 { margin-bottom: 12px; }
.page-header p.lead { font-size: 1.05rem; color: var(--gray-mid); max-width: 580px; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .options-grid { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .navbar__nav { display: none; }
  .navbar__cta { display: none; }
  .navbar__hamburger { display: flex; }
  .navbar__nav.open { display: flex; flex-direction: column; position: fixed; top: 64px; left: 0; right: 0; background: var(--white); padding: 20px 24px; border-bottom: 1px solid var(--border); gap: 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow::before { display: none; }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .recursos-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .stats-row { gap: 24px; }
  .section { padding: 56px 0; }
}
@media (max-width: 480px) {
  .sectors-grid { grid-template-columns: 1fr 1fr; }
  .recursos-grid { grid-template-columns: 1fr; }
  .logos { gap: 20px 32px; }
  .options-grid { grid-template-columns: 1fr; }
}
