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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

/* ── DEV BANNER — remove before launch ───────────────────────── */
.dev-banner {
  background: #92400e;
  color: #fef3c7;
  text-align: center;
  padding: 0.6rem 3rem;
  font-size: 0.82rem;
  line-height: 1.5;
  position: relative;
}
.dev-banner-close {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fef3c7;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.75;
  padding: 0.2rem 0.4rem;
}
.dev-banner-close:hover { opacity: 1; }

/* ── NAV ──────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 68px;
  box-shadow: 0 2px 0 #0f5c2e, 0 4px 16px rgba(0,0,0,0.08);
}

.nav-logo {
  color: #0f5c2e;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Drop logo at images/logo.svg */
.nav-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-center {
  flex: 1;
  display: flex;
  gap: 2rem;
  list-style: none;
  justify-content: center;
}

.nav-center a {
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.nav-center a:hover,
.nav-center a.active { color: #0f5c2e; border-bottom-color: #22c55e; }

.lang-btn {
  background: #f0fdf4;
  color: #0f5c2e;
  border: 1.5px solid #86efac;
  border-radius: 6px;
  padding: 0.28rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  flex-shrink: 0;
}
.lang-btn:hover { background: #dcfce7; border-color: #4ade80; }

.nav-login-btn {
  background: #0f5c2e;
  color: #ffffff;
  border-radius: 6px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s;
  flex-shrink: 0;
  white-space: nowrap;
}
.nav-login-btn:hover { background: #15803d; color: #ffffff; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #0f5c2e;
  border-radius: 2px;
}

/* Mobile menu — fixed below sticky nav so it works at any scroll position */
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  z-index: 99;
  background: #ffffff;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  border-top: 1px solid #dcfce7;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.mobile-menu.open { max-height: 380px; padding: 0.5rem 0 1rem; }

.mobile-menu .nav-login-btn {
  background: #0f5c2e;
  color: #ffffff;
  border-radius: 6px;
  margin: 0.25rem 2rem;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
}
.mobile-menu .nav-login-btn:hover { background: #15803d; }

.mobile-menu .lang-btn {
  display: block;
  width: calc(100% - 4rem);
  margin: 0.25rem 2rem 0.25rem;
  text-align: center;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}

.mobile-menu a {
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.75rem 2rem;
  display: block;
  transition: background 0.15s, color 0.15s;
}

.mobile-menu a:hover { background: #f0fdf4; color: #0f5c2e; }

/* ── COMMON ───────────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; }

.tag {
  display: inline-flex;
  align-items: center;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 0.9rem;
}

h2.sec-title {
  font-size: clamp(1.65rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.6rem;
  line-height: 1.2;
  color: #111827;
}

p.sec-sub {
  font-size: 0.97rem;
  color: #6b7280;
  line-height: 1.75;
  max-width: 560px;
}

/* ── BUTTONS ──────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1.75rem;
  background: #22c55e;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.btn-primary:hover {
  background: #16a34a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(34,197,94,0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.75rem;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-outline:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.8); transform: translateY(-1px); }

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.75rem;
  background: transparent;
  color: #15803d;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1.5px solid #15803d;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-outline-dark:hover { background: #15803d; color: #fff; }

.btn-green {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.75rem;
  background: #22c55e;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
}

.btn-green:hover { background: #16a34a; box-shadow: 0 4px 12px rgba(34,197,94,0.3); }

/* ── HOME / HERO ──────────────────────────────────────────────── */
#home {
  padding: 0;
  background: linear-gradient(135deg, #052e16 0%, #14532d 60%, #166534 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero {
  padding: 7rem 2.5rem 7rem;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

/* Hero image column */
.hero-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.hero-placeholder {
  text-align: center;
  color: rgba(255,255,255,0.4);
}

.hero-placeholder span { font-size: 4rem; display: block; margin-bottom: 0.5rem; }
.hero-placeholder p { font-size: 0.72rem; font-family: monospace; }

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 1.25rem;
}

.hero h1 span { color: #4ade80; }

.hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 2.25rem;
}

.hero-btns { display: flex; gap: 0.85rem; flex-wrap: wrap; }

/* Hero primary override — white button on dark hero */
#home .btn-primary {
  background: #fff;
  color: #166534;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

#home .btn-primary:hover {
  background: #f0fdf4;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

/* Stats bar */
.stats-bar {
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(4px);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 2.25rem 2.5rem;
}

.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 1rem;
}

.stats-grid > div {
  padding: 0 1rem;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.stats-grid > div:last-child { border-right: none; }

.stat-num {
  font-size: 2.1rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1;
}

.stat-lbl {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.35rem;
  font-weight: 500;
}

/* ── SOLUTIONS ────────────────────────────────────────────────── */
.solutions { background: #f8fafc; padding: 5.5rem 2.5rem; text-align: center; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2.75rem;
}

.card {
  background: #fff;
  border-radius: 14px;
  padding: 2rem 1.75rem;
  text-align: left;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.06);
}

/* Icon + title inline row — shared by .card, .product-card, .mv-card */
.card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.card-head h3 { margin-bottom: 0; }

/* Icon boxes — each card a different color */
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  background: #dcfce7;
}

.card:nth-child(2) .card-icon { background: #dbeafe; }
.card:nth-child(3) .card-icon { background: #f3e8ff; }

.card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.45rem; color: #111827; }
.card p { font-size: 0.875rem; color: #6b7280; line-height: 1.7; }

/* ── CTA BANNER ───────────────────────────────────────────────── */
.cta-banner { background: #14532d; padding: 4rem 2.5rem; }

.cta-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.cta-banner h2 span { color: #86efac; }

/* ── WHY + HOW ────────────────────────────────────────────────── */
.why-how { background: #fff; padding: 5.5rem 2.5rem; }

.why-how-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.why-list { list-style: none; margin-top: 1.75rem; display: flex; flex-direction: column; gap: 1.25rem; }

.why-item { display: flex; gap: 1rem; align-items: flex-start; }

.why-icon {
  width: 44px;
  height: 44px;
  background: #dcfce7;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.why-item h4 { font-size: 0.925rem; font-weight: 700; margin-bottom: 0.25rem; color: #111827; }
.why-item p { font-size: 0.85rem; color: #6b7280; line-height: 1.65; }

.how-steps { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 1.25rem; }

.how-step { display: flex; gap: 1rem; align-items: flex-start; }

.step-num {
  width: 34px;
  height: 34px;
  background: #22c55e;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(34,197,94,0.35);
}

.how-step h4 { font-size: 0.925rem; font-weight: 700; margin-bottom: 0.25rem; color: #111827; }
.how-step p { font-size: 0.85rem; color: #6b7280; line-height: 1.65; }

/* ── ABOUT ────────────────────────────────────────────────────── */
#about { padding: 0; background: #fff; }

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2.75rem;
}

.mv-card {
  background: #fff;
  border-radius: 14px;
  padding: 2rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  text-align: left;
}

.mv-card .mv-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  background: #dcfce7;
}

.mv-card:nth-child(2) .mv-icon { background: #dbeafe; }

.mv-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; color: #111827; }
.mv-card p { font-size: 0.875rem; color: #6b7280; line-height: 1.7; }

/* History */
.history {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 0;
}

.history-text h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; letter-spacing: -0.5px; margin-bottom: 1rem; }
.history-text p { font-size: 0.9rem; color: #6b7280; line-height: 1.8; margin-bottom: 0.85rem; }

.history-img {
  position: relative;
  background: #dcfce7;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #bbf7d0;
}

.history-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-placeholder { text-align: center; color: #15803d; opacity: 0.45; }
.img-placeholder .ph-icon { font-size: 4.5rem; display: block; margin-bottom: 0.5rem; }
.img-placeholder p { font-size: 0.72rem; font-family: monospace; }

/* Values */
.values { margin-top: 0; }
.section-center { text-align: center; }
.section-center p.sec-sub { margin: 0 auto 2rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.value-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.value-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.09); }

.value-card .v-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 0.85rem;
  background: #dbeafe; /* Trust - blue */
}

/* Different color per value card */
.value-card:nth-child(1) .v-icon { background: #dbeafe; }   /* Trust — blue */
.value-card:nth-child(2) .v-icon { background: #ffedd5; }   /* Speed — orange */
.value-card:nth-child(3) .v-icon { background: #dcfce7; }   /* Transparency — green */
.value-card:nth-child(4) .v-icon { background: #f3e8ff; }   /* Innovation — purple */

.value-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.35rem; color: #111827; }
.value-card p { font-size: 0.82rem; color: #6b7280; line-height: 1.6; }

/* Team */
.team { margin-top: 0; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-top: 2.25rem;
}

.team-card { text-align: center; }

.team-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #dcfce7;
  border: 3px solid #bbf7d0;
  margin: 0 auto 1rem;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: #15803d;
  opacity: 0.7;
}

/* Drop team photos at images/team-1.png, team-2.png, etc. */
.team-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.team-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.15rem; color: #111827; }
.team-card .role { font-size: 0.82rem; color: #22c55e; font-weight: 600; }
.team-card .dept { font-size: 0.76rem; color: #9ca3af; margin-top: 0.15rem; }

/* About stats strip */
.about-stats {
  background: linear-gradient(135deg, #052e16 0%, #14532d 100%);
  border-radius: 16px;
  margin-top: 4.5rem;
  padding: 2.75rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.about-stats > div {
  padding: 0 1rem;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.about-stats > div:last-child { border-right: none; }

.about-stats .num { font-size: 2rem; font-weight: 900; color: #fff; letter-spacing: -1px; line-height: 1; }
.about-stats .lbl { font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-top: 0.4rem; font-weight: 500; }

/* ── PRODUCTS ─────────────────────────────────────────────────── */
#products { background: #fff; padding: 5.5rem 2.5rem; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2.75rem;
}

.product-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 2rem;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.06);
}

/* Icon box — different color per product */
.product-card .p-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  background: #dcfce7;
}

.product-card:nth-child(1) .p-icon { background: #dcfce7; }  /* green — Préstamos */
.product-card:nth-child(2) .p-icon { background: #ffedd5; }  /* orange — Hipotecas */

.product-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.45rem; color: #111827; }
.product-card > p { font-size: 0.875rem; color: #6b7280; line-height: 1.7; margin-bottom: 1.25rem; }

.feat-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #15803d;
  margin-bottom: 0.65rem;
}

.feat-list { list-style: none; margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 0.55rem; }

.feat-list li {
  font-size: 0.86rem;
  color: #374151;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

/* Circle checkmark to match example */
.feat-list li::before {
  content: "✓";
  color: #fff;
  background: #22c55e;
  border-radius: 50%;
  width: 17px;
  height: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.products-cta {
  margin-top: 4rem;
  padding-top: 3.5rem;
  border-top: 1px solid #f3f4f6;
  text-align: center;
}

.products-cta h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 0.4rem; }
.products-cta p { color: #6b7280; margin-bottom: 1.5rem; font-size: 0.95rem; }
.products-cta .cta-btns { display: flex; gap: 0.85rem; justify-content: center; flex-wrap: wrap; }

/* ── CONTACT ──────────────────────────────────────────────────── */
#contact { padding: 0; background: #f8fafc; }

.contact-header {
  background: linear-gradient(135deg, #052e16 0%, #14532d 60%, #166534 100%);
  padding: 4rem 2.5rem;
  text-align: center;
}

.contact-header h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.75px;
  margin-bottom: 0.5rem;
}

.contact-header p { color: rgba(255,255,255,0.7); font-size: 1rem; }

.contact-body { padding: 3.5rem 2.5rem; }

.contact-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.form-box {
  background: #fff;
  border-radius: 14px;
  padding: 2rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.form-box h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 1.5rem; color: #111827; display: flex; align-items: center; gap: 0.5rem; }

form { display: flex; flex-direction: column; gap: 0.85rem; }

form input, form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  color: #111827;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

form input::placeholder, form textarea::placeholder { color: #9ca3af; }

form input:focus, form textarea:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.12);
}

form textarea { resize: vertical; min-height: 120px; }

form button {
  padding: 0.85rem;
  background: #22c55e;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

form button:hover { background: #16a34a; box-shadow: 0 4px 12px rgba(34,197,94,0.3); }

.info-col { display: flex; flex-direction: column; gap: 1.25rem; }

.info-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.info-card h3 { font-size: 0.92rem; font-weight: 700; margin-bottom: 1rem; color: #111827; }

.info-row { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 0.85rem; }
.info-row:last-child { margin-bottom: 0; }
.i-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.i-label { font-size: 0.78rem; font-weight: 700; display: block; margin-bottom: 0.1rem; color: #374151; }
.i-val { font-size: 0.84rem; color: #6b7280; line-height: 1.5; }

.hours-list { list-style: none; }
.hours-list li { font-size: 0.85rem; color: #374151; padding: 0.3rem 0; display: flex; align-items: center; gap: 0.5rem; }
.hours-list li::before { content: ""; width: 8px; height: 8px; background: #22c55e; border-radius: 50%; flex-shrink: 0; }
.hours-list li.closed::before { background: #d1d5db; }
.hours-list li.closed { color: #9ca3af; }

/* Branches */
.branches { max-width: 1100px; margin: 3.5rem auto 0; }
.branches h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.5px; text-align: center; margin-bottom: 0.4rem; }
.branches .sub { text-align: center; color: #6b7280; font-size: 0.92rem; margin-bottom: 2rem; }

.branches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

.branch-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.branch-card h4 { font-size: 0.92rem; font-weight: 700; margin-bottom: 0.9rem; color: #111827; display: flex; align-items: center; gap: 0.4rem; }
.b-row { display: flex; gap: 0.5rem; align-items: flex-start; margin-bottom: 0.45rem; font-size: 0.83rem; color: #6b7280; }

.btn-directions {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 1.1rem;
  padding: 0.65rem;
  background: #22c55e;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  font-family: inherit;
}

.btn-directions:hover { background: #16a34a; }

/* Map placeholder */
.map-wrap { max-width: 1100px; margin: 2.5rem auto 0; }

.map-placeholder {
  background: #e5e7eb;
  border-radius: 16px;
  height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  border: 1px solid #d1d5db;
}

.map-placeholder .map-icon { font-size: 2.75rem; margin-bottom: 0.5rem; opacity: 0.5; }
.map-placeholder p { font-size: 0.85rem; font-weight: 500; }

/* ── LEGAL PAGES ──────────────────────────────────────────────── */
.legal-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 3.5rem 2.5rem;
}

.legal-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #f3f4f6;
}

.legal-section:last-child { border-bottom: none; }

.legal-section h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
}

.legal-section p {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 0.65rem;
}

.legal-section p:last-child { margin-bottom: 0; }

.legal-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.legal-section ul li {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.7;
  padding-left: 1.25rem;
  position: relative;
}

.legal-section ul li::before {
  content: "•";
  color: #22c55e;
  font-weight: 700;
  position: absolute;
  left: 0;
}

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  margin-bottom: 0.65rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.5rem;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
  transition: background 0.15s;
}

.faq-q:hover { background: #f8fafc; }

.faq-arrow {
  font-size: 1rem;
  color: #22c55e;
  flex-shrink: 0;
  transition: transform 0.25s;
  display: inline-block;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
}

.faq-a p {
  font-size: 0.88rem;
  color: #6b7280;
  line-height: 1.8;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 1.5rem 1.1rem;
}

.faq-item.open .faq-arrow { transform: rotate(180deg); }

/* ── WHATSAPP FLOAT ───────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.wa-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.55);
}

/* ── FOOTER ───────────────────────────────────────────────────── */
footer { background: #0f172a; }

.footer-top {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 2.5rem;
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

/* Drop logo at images/logo.png */
.footer-logo {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  margin-bottom: 0.85rem;
  letter-spacing: -0.3px;
}

.footer-logo img { height: 32px; width: auto; object-fit: contain; display: block; }

.footer-tagline { font-size: 0.82rem; line-height: 1.7; color: #475569; }

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 1rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }

.footer-col ul li a {
  color: #64748b;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.15s;
}

.footer-col ul li a:hover { color: #cbd5e1; }

.footer-divider { border: none; border-top: 1px solid #1e293b; }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1rem;
}

.footer-copy { font-size: 0.82rem; color: #475569; }
.footer-photo-credit {
  font-size: 0.72rem;
  color: #64748b;
  flex: 0 0 100%;   /* own row on desktop, sandwiched between copy+social */
  order: 10;
}
.footer-photo-credit a { color: #64748b; text-decoration: underline; text-underline-offset: 2px; }
.footer-social { display: flex; gap: 0.6rem; }

/* Social buttons — image if dropped, else SVG fallback */
.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1e293b;
  border: 1px solid #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  overflow: hidden;
  position: relative;
  transition: background 0.2s, border-color 0.2s;
}

.social-btn:hover { background: #334155; border-color: #475569; }

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero           { grid-template-columns: 1fr; gap: 2rem; }
  .hero-img-wrap  { max-width: 460px; width: 100%; margin: 0 auto; }
  .why-how-inner  { grid-template-columns: 1fr; gap: 3rem; }
  .history        { grid-template-columns: 1fr; gap: 2.5rem; }
  .mv-grid        { grid-template-columns: 1fr; }
  .contact-grid   { grid-template-columns: 1fr; }
  .about-stats    { grid-template-columns: repeat(2, 1fr); }
  .footer-top     { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  nav             { padding: 0 1.25rem; }
  .nav-center     { display: none; }
  .hamburger      { display: flex; margin-left: auto; }
  .mobile-menu    { display: flex; }
  nav .lang-btn       { display: none; }
  nav .nav-login-btn  { display: none; }
  .stats-grid     { grid-template-columns: repeat(2, 1fr); }
  .stats-grid > div { border-right: none; }
  /* Reduce section side padding on tablets */
  .solutions, .why-how,
  .contact-body, .branches       { padding-left: 1.5rem; padding-right: 1.5rem; }
  /* #about intentionally excluded — its child .about-band elements handle their own padding */
}

@media (max-width: 480px) {
  /* Banner — left-align text, keep button from overlapping on multi-line */
  .dev-banner     { padding: 0.6rem 2.75rem 0.6rem 1rem; text-align: left; font-size: 0.78rem; }

  /* Hero — tighter padding, hide photo (saves ~250px of scroll) */
  .hero           { padding: 6rem 1.25rem 3rem; }
  .hero-img-wrap  { display: none; }
  .hero-btns      { flex-direction: column; }

  /* Stats bar */
  .stats-bar      { padding: 1.75rem 1.25rem; }
  .stat-num       { font-size: 1.65rem; }

  /* Common sections — tighter vertical + horizontal */
  .solutions      { padding: 2.5rem 1.25rem; }
  .why-how        { padding: 2.5rem 1.25rem; }
  #about .about-band { padding: 2rem 1.25rem !important; }

  /* CTA banner */
  .cta-banner-inner { flex-direction: column; text-align: center; }

  /* About stats — already 2-col from 960px rule, keep + clear borders */
  .about-stats > div { border-right: none; }

  /* Products — tighter spacing so all cards visible sooner */
  #products       { padding: 2rem 1.25rem; }
  .products-grid  { margin-top: 1.5rem; }
  .product-card   { padding: 1.5rem; }
  .products-cta .cta-btns { flex-direction: column; align-items: center; }

  /* Mission / Vision cards — compact on phones */
  .mv-card        { padding: 1.5rem; }

  /* Inner page headers — compact on phones */
  .contact-header { padding: 1.25rem 1.25rem; }
  .contact-header h1 { font-size: 1.7rem; }

  /* Inner page content wrappers (careers, security, faq) */
  .inner-wrap     { padding: 2rem 1.25rem !important; }

  /* Legal pages (terms, privacy) */
  .legal-body     { padding: 1.75rem 1.25rem; }

  /* Contact — stack form + info vertically; tighten form so button stays visible */
  .contact-body   { padding: 2rem 1.25rem; }
  .contact-grid   { grid-template-columns: 1fr; }
  form            { gap: 0.65rem; }
  form textarea   { min-height: 100px; }

  /* Section title spacing */
  .sec-title      { margin-bottom: 0.5rem; }
  .cards-grid     { margin-top: 1.5rem; }
  .mv-grid        { margin-top: 1.25rem; }

  /* FAQ accordion — tighter padding */
  .faq-q          { padding: 1rem 1.25rem; font-size: 0.88rem; }

  /* Footer — stack cleanly */
  .footer-top     { grid-template-columns: 1fr; padding: 2.5rem 1.25rem; }
  .footer-bottom  { flex-direction: column; align-items: center; text-align: center; padding: 1rem 1.25rem; gap: 0.5rem; }
  .footer-photo-credit { margin-top: 0; }
}
