/* ============================================================
   T&C Global — Sitio institucional público
   Estilo: institucional, sobrio, corporativo.
   ============================================================ */

:root {
  --navy: #1b2a4a;
  --navy-dark: #14203a;
  --navy-light: #2c3e63;
  --ink: #22303f;
  --muted: #5a6b7c;
  --line: #dde4ec;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --gold: #b8912f;
  --accent: var(--gold);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; }

/* ---------- Header ---------- */
.site-header {
  background: var(--navy);
  color: #fff;
  border-bottom: 3px solid var(--gold);
}

.site-header__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.brand__logo {
  width: 40px;
  height: auto;
  display: block;
}

.brand__name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.brand__name em { font-style: normal; color: var(--gold); }

.brand__tagline {
  display: block;
  font-size: 12px;
  color: #b9c4d6;
  font-weight: 400;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.main-nav a {
  display: block;
  padding: 8px 14px;
  color: #d7deea;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14.5px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}

.main-nav a:hover,
.main-nav a.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color: #fff;
}

.hero__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 84px 24px 72px;
  text-align: center;
}

.hero__kicker {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.15;
  margin: 0 auto 18px;
  max-width: 820px;
  font-weight: 700;
}

.hero p.lead {
  font-size: 18px;
  color: #c6d0e0;
  max-width: 680px;
  margin: 0 auto 30px;
}

.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: background 0.15s, transform 0.1s;
}

.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: #a37f26; }

.btn--ghost { background: transparent; color: #fff; border-color: #5a6b8a; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: 64px 24px; }

.section--soft { background: var(--bg-soft); }

.section__inner { max-width: 1140px; margin: 0 auto; }

.section__kicker {
  font-size: 12.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 8px;
}

.section h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  margin: 0 0 14px;
  color: var(--navy);
  font-weight: 700;
}

.section__lead {
  font-size: 16.5px;
  color: var(--muted);
  max-width: 720px;
  margin: 0 0 34px;
}

/* ---------- Vertical cards ---------- */
.vertical-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.v-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: 10px;
  padding: 26px 24px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.15s, box-shadow 0.15s;
}

.v-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(27, 42, 74, 0.12);
}

.v-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: #fff;
  margin-bottom: 16px;
}

.v-card h3 { margin: 0 0 8px; font-size: 20px; color: var(--navy); }

.v-card p { margin: 0 0 12px; color: var(--muted); font-size: 14.5px; }

.v-card__more {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

/* ---------- Generic content page ---------- */
.page-hero {
  background: var(--navy);
  color: #fff;
}

.page-hero__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 56px 24px 48px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.page-hero__badge {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 26px;
  color: #fff;
  flex: 0 0 auto;
}

.page-hero h1 { margin: 0 0 4px; font-size: clamp(26px, 3.6vw, 38px); }

.page-hero p { margin: 0; color: #c6d0e0; font-size: 17px; }

.content { padding: 56px 24px 64px; }

.content__inner { max-width: 960px; margin: 0 auto; }

.content h2 {
  color: var(--navy);
  font-size: 24px;
  margin: 40px 0 14px;
}

.content h2:first-child { margin-top: 0; }

.content p { color: var(--ink); }

/* Service list */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin: 20px 0 30px;
}

.service {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 20px 22px;
}

.service h3 { margin: 0 0 6px; font-size: 17px; color: var(--navy); }

.service p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* Values / features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.feature h3 { margin: 0 0 6px; font-size: 16px; color: var(--navy); }

.feature p { margin: 0; font-size: 14px; color: var(--muted); }

/* Indicators strip */
.indicators {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin: 26px 0 34px;
  background: var(--navy);
  border-radius: 12px;
  padding: 22px 18px;
}

.indicator { text-align: center; }

.indicator__value {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.1;
}

.indicator__label {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #c6d0e0;
}

/* FAQ */
.faq { margin: 20px 0 30px; }

.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 0;
  overflow: hidden;
}

.faq__item summary {
  cursor: pointer;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  list-style: none;
  position: relative;
  padding-right: 40px;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--accent);
  font-weight: 700;
}

.faq__item[open] summary::after { content: "\2212"; }

.faq__item > p {
  margin: 0;
  padding: 0 18px 16px;
  font-size: 14.5px;
  color: var(--muted);
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}

/* Contact strip */
.contact-strip {
  background: var(--navy);
  color: #fff;
  text-align: center;
}

.contact-strip__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 52px 24px;
}

.contact-strip h2 { color: #fff; margin: 0 0 8px; }

.contact-strip p { color: #c6d0e0; margin: 0 0 24px; }

.contact-list {
  list-style: none;
  margin: 0 auto 26px;
  padding: 0;
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 15px;
  color: #d7deea;
}

.contact-list strong { color: var(--gold); font-weight: 600; }

/* ---------- Contact form ---------- */
.contact-form-box {
  max-width: 720px;
  margin: 30px auto 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px;
  text-align: left;
  box-shadow: 0 8px 24px rgba(27, 42, 74, 0.08);
}

.form-msg {
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 18px;
  font-size: 14.5px;
}

.form-msg--ok { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }
.form-msg--error { background: #fdecea; color: #c62828; border: 1px solid #f5c6cb; }

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form .form-field { margin-bottom: 14px; }

.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 5px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: -1px;
  border-color: var(--gold);
}

.form-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.4);
  transition: transform 0.15s, box-shadow 0.15s;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
  color: #fff;
}

@media (max-width: 560px) {
  .contact-form .form-row { grid-template-columns: 1fr; }
  .whatsapp-float__text { display: none; }
  .whatsapp-float { padding: 13px; border-radius: 50%; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: #a9b5c8;
  font-size: 14px;
}

.site-footer__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 34px 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer a { color: #d7deea; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }

.site-footer__cols {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.site-footer h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }

.site-footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 24px;
  text-align: center;
  font-size: 12.5px;
  color: #7f8ba0;
}
