/* ============================================================
   DAITAMO — Stylesheet Global
   Aplica a todas las páginas del sitio
   ============================================================ */

/* ── GOOGLE FONTS — cargar desde cada HTML con:
   <link href="https://fonts.googleapis.com/css2?family=Lora:wght@400;600&family=DM+Sans:wght@300;400;500;600&display=swap" rel="stylesheet">
   ── */

/* ── VARIABLES ── */
:root {
  --navy:         #0d1b2a;
  --blue:         #1a5276;
  --accent:       #1a7dc4;
  --light-accent: #d6eaf8;
  --mid:          #5d6d7e;
  --light:        #f4f6f8;
  --white:        #ffffff;
  --border:       #dce3ea;
  --text:         #1c2833;
  --green:        #1a7c4f;
  --yellow:       #b07d0e;
  --red:          #a63220;
  --banner-blue:  #78A5C3;
}

/* ── RESET ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── BASE ── */
html { font-size: 18px; }

body {
  font-family: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ── LANGUAGE BAR ── */
.language-bar {
  background: var(--navy);
  padding: 7px 0;
}
.language-switcher {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 24px;
  gap: 12px;
}
.language-switcher span {
  color: #8899aa;
  font-size: 0.82rem;
}
.language-switcher a {
  color: #cdd5de;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
}
.language-switcher a:hover { background: #1a2a3a; color: #fff; }
.language-switcher a.active { background: var(--accent); color: #fff; }

/* ── NAV ── */
nav {
  background: var(--blue);
  border-bottom: 3px solid var(--accent);
}
.navbar {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px;
}
.navbar li { margin: 0; }
.navbar a {
  display: block;
  color: #dce8f4;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  padding: 13px 14px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.navbar a:hover,
.navbar a.active { 
  color: #fff;
  background: var(--banner-blue);
}

/* ── HEADER ── */
header {
  background: var(--light);
  text-align: center;
  padding: 28px 20px 20px;
  border-bottom: 1px solid var(--border);
}
header img { height: 60px; width: auto; }

/* ── HERO SECTION (dark) ── */
.hero-section {
  background: var(--navy);
  color: #fff;
  padding: 80px 24px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 40%, var(--accent) 60%, transparent 100%);
}
.hero-section h1 {
  font-family: 'Lora', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  line-height: 1.25;
  max-width: 760px;
  margin: 0 auto 20px;
  letter-spacing: -0.01em;
}
.hero-section p {
  font-size: 1.1rem;
  font-weight: 300;
  color: #a8bfd4;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}
.hero-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 15px 38px;
  border-radius: 4px;
  margin-top: 32px;
  transition: background 0.2s;
}
.hero-cta:hover { background: #1568a6; }

/* ── PAGE BODY ── */
.page-body {
  max-width: 1060px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}

/* ── CONTAINER (páginas estilo antiguo) ── */
.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* ── SECTION BLOCKS ── */
.block { margin-bottom: 64px; }
.block-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.block h2 {
  font-family: 'Lora', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.3;
}
.block p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--mid);
  margin-bottom: 16px;
  max-width: 780px;
}
.block p:last-child { margin-bottom: 0; }

/* ── DIVIDER ── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 64px 0;
}

/* ── SECTION TITLE (estilo antiguo) ── */
.section-title {
  text-align: center;
  color: var(--navy);
  font-family: 'Lora', serif;
  font-size: 2rem;
  font-weight: 700;
  margin: 60px auto 10px;
  padding: 0 20px;
}
.section-sub {
  text-align: center;
  color: var(--mid);
  font-size: 1rem;
  margin-bottom: 40px;
  padding: 0 20px;
}
.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  margin-bottom: 10px;
}

/* ── CARDS GENÉRICAS ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 8px;
  padding: 28px 24px;
  transition: box-shadow 0.25s;
}
.card:hover { box-shadow: 0 6px 24px rgba(13,27,42,0.08); }
.card h3 {
  font-family: 'Lora', serif;
  font-size: 1.18rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--mid);
}

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }

/* ── CONTACT CARDS ── */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}
.contact-card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border-top: 4px solid var(--accent);
}
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
.contact-icon { font-size: 3rem; margin-bottom: 15px; display: block; }
.contact-card h3 { color: var(--accent); font-size: 1.3rem; margin-bottom: 15px; }
.contact-card p { color: var(--mid); font-size: 1rem; margin-bottom: 20px; line-height: 1.6; }
.contact-card a {
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s;
}
.contact-card a:hover { color: #1568a6; text-decoration: underline; }

/* ── RESPONSE TIME NOTICE ── */
.response-time {
  background: #fff3cd;
  border-left: 5px solid #f1c40f;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 40px;
}
.response-time p {
  margin: 0;
  color: #856404;
  font-weight: 600;
  font-size: 1.05rem;
}

/* ── HERO CONTACT ── */
.hero-contact {
  background: var(--white);
  padding: 50px 40px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  text-align: center;
  margin-bottom: 40px;
}
.hero-contact h1 {
  font-family: 'Lora', serif;
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 700;
}
.intro-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--mid);
  max-width: 700px;
  margin: 0 auto 40px;
}

/* ── CTA BLOCKS ── */
.cta-block {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 52px 40px;
  text-align: center;
  margin-top: 64px;
}
.cta-block h2 {
  font-family: 'Lora', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 14px;
}
.cta-block p {
  font-size: 1rem;
  color: var(--mid);
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.cta-button, .cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 36px;
  border-radius: 4px;
  transition: background 0.2s;
}
.cta-button:hover, .cta-btn:hover { background: #1568a6; }

/* CTA box dark */
.cta-box {
  background: linear-gradient(135deg, var(--navy) 0%, #0d2247 100%);
  border-radius: 12px;
  padding: 52px 40px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}
.cta-box h2 {
  font-family: 'Lora', serif;
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 14px;
  font-weight: 700;
}
.cta-box p {
  color: #a8bfd4;
  font-size: 1.05rem;
  margin-bottom: 28px;
  line-height: 1.7;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.cta-box .cta-button, .cta-box .cta-btn {
  background: #f1c40f;
  color: var(--navy);
}
.cta-box .cta-button:hover, .cta-box .cta-btn:hover {
  background: #d4ac0d;
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  border-top: 1px solid #1a2d3d;
  text-align: center;
  padding: 28px 20px;
  margin-top: 60px;
}
footer p { font-size: 0.92rem; color: #5d7a8e; }
footer a { color: #7da5bf; text-decoration: none; }
footer a:hover { color: #fff; }

/* ── TAGS / BADGES ── */
.tag, .solution-tag, .service-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--light-accent);
  padding: 4px 10px;
  border-radius: 3px;
  margin: 3px 3px 0 0;
}

/* ── PORTFOLIO / SECTOR CARDS ── */
.portfolio-card, .sector-card, .solution-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: 10px;
  padding: 30px 26px;
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}
.portfolio-card:hover, .sector-card:hover, .solution-card:hover {
  box-shadow: 0 8px 28px rgba(13,27,42,0.1);
  transform: translateY(-4px);
}
.portfolio-card h2, .sector-card h3, .solution-card h3 {
  font-family: 'Lora', serif;
  color: var(--navy);
  margin-bottom: 10px;
}
.portfolio-card h2 { font-size: 1.5rem; }
.sector-card h3, .solution-card h3 { font-size: 1.18rem; }
.portfolio-icon, .sector-icon, .solution-icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
  display: block;
}

/* ── IMPACT BOX ── */
.impact {
  background: #fef9e7;
  border-left: 4px solid #f1c40f;
  border-radius: 6px;
  padding: 10px 15px;
  font-size: 0.92rem;
  color: #7d6608;
  margin-bottom: 20px;
  line-height: 1.5;
}
.impact strong { color: #d68910; }

/* ── PORTFOLIO BUTTON ── */
.portfolio-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 26px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  transition: background 0.2s, transform 0.2s;
  margin-top: auto;
}
.portfolio-btn:hover { background: #1568a6; transform: translateY(-2px); }

/* ── VALUE PROPS STRIP ── */
.value-props {
  background: var(--blue);
  padding: 20px;
  text-align: center;
}
.value-props ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}
.value-props li {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  padding-left: 22px;
  position: relative;
}
.value-props li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #f1c40f;
  font-weight: bold;
}

/* ── TRUST SECTION ── */
.trust-section {
  background: var(--light);
  padding: 40px 20px;
  text-align: center;
  border-top: 3px solid var(--accent);
}
.trust-section h3 { color: var(--navy); font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; }
.trust-section ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}
.trust-section li {
  color: var(--text);
  font-size: 0.95rem;
  padding-left: 22px;
  position: relative;
}
.trust-section li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: bold; }

/* ── HIGHLIGHTS LIST ── */
.highlights {
  background: var(--light);
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 20px;
}
.highlights ul { list-style: none; padding: 0; margin: 0; }
.highlights li {
  color: var(--text);
  font-size: 0.95rem;
  margin: 6px 0;
  padding-left: 18px;
  position: relative;
}
.highlights li::before { content: "✓"; color: #27ae60; font-weight: bold; position: absolute; left: 0; }

/* ── PROCESS STEPS ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.step {
  padding: 28px 22px;
  border-right: 1px solid var(--border);
  background: var(--white);
}
.step:last-child { border-right: none; }
.step-num {
  font-family: 'Lora', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--light-accent);
  line-height: 1;
  margin-bottom: 10px;
}
.step h4 { font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.step p  { font-size: 0.96rem; color: var(--mid); line-height: 1.6; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .navbar { flex-direction: column; align-items: center; flex-wrap: wrap; }
  .navbar li { margin: 0; }
  .navbar a { padding: 10px 18px; white-space: normal; }
  header img { width: 240px !important; height: auto !important; }
  .hero-section { padding: 56px 20px 48px; }
  .page-body, .container { padding: 40px 16px 60px; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--border); }
  .step:last-child { border-bottom: none; }
  .cta-block, .cta-box { padding: 36px 24px; }
  .hero-contact { padding: 30px 20px; }
  .contact-cards { grid-template-columns: 1fr; }
  .value-props ul { flex-direction: column; align-items: center; gap: 12px; }
  .trust-section ul { flex-direction: column; align-items: center; gap: 12px; }
}

@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
  .hero-contact h1 { font-size: 1.8rem; }
  .cta-box h2, .cta-block h2 { font-size: 1.4rem; }
}
