/* TarjetasDFW — Estilo cálido, tranquilo y confiable (2026)
   - Paleta: warm ivory + teal de confianza + terracotta sutil
   - Tipografía: Inter (texto) + Playfair Display (titulares)
*/

:root{
  /* Surfaces */
  --bg-warm:#FBF7F2;           /* warm ivory */
  --surface:#FFFFFF;

  /* Core palette (warm + trust + subtle accent) */
  --primary:#14222B;           /* deep calm ink */
  --blue:#2D6E6B;              /* trust teal */
  --blue-dark:#255B59;
  --magenta:#D17155;           /* warm terracotta (keeps var name for compatibility) */
  --accent:var(--magenta);
  --accent-dark:#B95F46;
  --amber:var(--blue);         /* legacy var used in a few spots */

  --text:#16202A;
  --muted:#5F6B73;
  --border:rgba(20,34,43,.12);
  --shadow:0 14px 38px rgba(20,34,43,.10);
  --radius:18px;
  --radius-lg:28px;
  --radius-btn:14px;
  --container:1200px;

  /* Brand */
  --wa:#25D366;

  /* Tints */
  --teal-weak: rgba(45,110,107,.10);
  --teal-weak-2: rgba(45,110,107,.06);
  --terr-weak: rgba(209,113,85,.12);
  --terr-weak-2: rgba(209,113,85,.08);
}


*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Inter",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg-warm);
  color:var(--text);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

img{max-width:100%;height:auto;display:block}
a{color:inherit}
p{margin:0 0 1rem}
h1,h2,h3,h4{margin:0 0 .75rem;line-height:1.15}
h1,h2{font-family:"Playfair Display",Georgia,serif}
small{color:var(--muted)}

.skip-link{
  position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;
}
.skip-link:focus{
  left:18px;top:18px;width:auto;height:auto;padding:.7rem 1rem;
  background:var(--surface);border:2px solid var(--primary);border-radius:999px;
  z-index:9999;
}

.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 1.25rem;
}

header.site-header{
  position:sticky;top:0;z-index:1000;
  background:rgba(251,247,242,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}

.navbar{
  display:flex;align-items:center;justify-content:space-between;
  gap:1rem;
  padding:1rem 0;
}

.brand{
  display:flex;align-items:baseline;gap:.25rem;
  text-decoration:none;
}
.brand .brand-mark{
  font-family:"Playfair Display",Georgia,serif;
  font-size:1.55rem;
  font-weight:700;
  letter-spacing:.2px;
  color:var(--primary);
}
.brand .brand-mark span{color:var(--accent)}
.brand .tagline{
  display:none;
  font-size:.85rem;
  color:var(--muted);
}

.nav-links{
  display:flex;align-items:center;gap:1.5rem;
  list-style:none;margin:0;padding:0;
}
.nav-links a{
  text-decoration:none;
  color:var(--text);
  font-weight:600;
  /* ~15% larger for readability and a more confident header */
  font-size:1.13rem;
  opacity:.92;
  padding:.35rem .15rem;
}
.nav-links a:hover{opacity:1;color:var(--primary)}
.nav-links a.active{color:var(--primary);border-bottom:2px solid var(--amber)}

.nav-actions{
  display:flex;align-items:center;gap:.75rem;
}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  gap:.5rem;
  padding:.85rem 1.05rem;
  border-radius:var(--radius-btn);
  border:1px solid transparent;
  text-decoration:none;
  font-weight:700;
  cursor:pointer;
  transition:transform .08s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn:active{transform:translateY(1px)}
.btn-primary{
  background:var(--blue);
  color:#fff;
  box-shadow:var(--shadow);
}
.btn-primary:hover{background:var(--blue-dark)}
.btn-outline{
  background:transparent;
  border-color:rgba(45,110,107,.28);
  color:var(--primary);
}
.btn-outline:hover{
  border-color:rgba(45,110,107,.45);
  box-shadow:0 10px 22px rgba(45,110,107,.10);
}
.btn-wa{
  background:var(--wa);
  color:#fff;
  box-shadow:var(--shadow);
}
.btn-wa:hover{filter:brightness(1.03)}
.btn-sm{padding:.65rem .9rem;font-size:.92rem}

.icon-dot{
  width:.65rem;height:.65rem;border-radius:999px;background:var(--amber);
  box-shadow:0 0 0 4px rgba(45,110,107,.16);
}

.nav-toggle{
  display:none;
  border:1px solid rgba(45,110,107,.18);
  background:rgba(255,255,255,.6);
  border-radius:12px;
  padding:.6rem .75rem;
  cursor:pointer;
}

.hero{
  padding:3.2rem 0 2.2rem;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:2.2rem;
  align-items:center;
}
.kicker{
  display:inline-flex;align-items:center;gap:.6rem;
  padding:.5rem .9rem;
  background:rgba(45,110,107,.10);
  border:1px solid rgba(45,110,107,.18);
  border-radius:999px;
  font-weight:800;
  letter-spacing:.2px;
  color:var(--primary);
  margin-bottom:1rem;
  text-transform:uppercase;
  font-size:.82rem;
}
.hero h1{font-size:3rem}
.hero p.lead{
  font-size:1.08rem;
  color:var(--muted);
  max-width:56ch;
}
.hero-cta{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.2rem}
.hero-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.hero-card .media{
  aspect-ratio:16/10;
  background:rgba(45,110,107,.06);
}
.hero-card .card-body{
  padding:1.1rem 1.1rem 1.2rem;
}
.hero-points{display:grid;gap:.6rem;margin-top:.7rem}
.point{
  display:flex;gap:.7rem;align-items:flex-start;
}
.point b{color:var(--primary)}
.point span{color:var(--muted)}

.section{
  padding:2.8rem 0;
}
.section.alt{
  background:rgba(10,61,98,.04);
  border-top:1px solid rgba(45,110,107,.08);
  border-bottom:1px solid rgba(45,110,107,.08);
}
.section .section-head{
  display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;
  margin-bottom:1.3rem;
}
.section .section-head p{
  margin:0;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.25px;
  color:var(--accent);
  font-size:.82rem;
}
.section .section-head h2{font-size:2rem;margin:0}
.section .section-head .hint{color:var(--muted);max-width:56ch;margin:0}

.grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:1.2rem;
}
.card{
  position:relative;
  border:1px solid var(--border);
  background:
    linear-gradient(180deg, var(--teal-weak-2), rgba(255,255,255,0) 55%),
    var(--surface);
  border-radius:var(--radius);
  box-shadow:0 14px 40px rgba(20,34,43,.10);
  padding:1.25rem;
  display:flex;
  flex-direction:column;
  min-height:180px;
  transition:transform .14s ease, box-shadow .18s ease, border-color .18s ease;
}
.card::before{
  content:"";
  position:absolute;
  left:14px; right:14px; top:0;
  height:3px;
  border-radius:999px;
  background:var(--accent);
  opacity:.55;
}
.card:hover{

  transform:translateY(-3px);
  border-color:rgba(45,110,107,.22);
  box-shadow:0 22px 60px rgba(20,34,43,.14);
}
.card:focus-within{
  transform:translateY(-3px);
  border-color:rgba(45,110,107,.22);
  box-shadow:0 22px 60px rgba(20,34,43,.14);
}
.card h3{font-family:"Inter",system-ui,sans-serif;font-size:1.1rem;margin-bottom:.4rem}
.card p{color:var(--muted);margin:0 0 .9rem}
/* Card text links (exclude buttons inside cards so button styles stay intact) */
.card a:not(.btn){
  margin-top:auto;
  color:var(--primary);
  font-weight:800;
  text-decoration:none;
}
.card a:not(.btn):hover{text-decoration:underline}
.badges{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.8rem}
.badge{
  font-size:.86rem;
  padding:.35rem .7rem;
  border-radius:999px;
  border:1px solid rgba(45,110,107,.16);
  color:var(--primary);
  background:rgba(255,255,255,.65);
}

.pills{
  display:flex;flex-wrap:wrap;gap:.6rem;margin:.3rem 0 1rem;
}
.pill{
  border:1px solid rgba(45,110,107,.18);
  background:rgba(255,255,255,.7);
  padding:.55rem .85rem;
  border-radius: var(--radius-btn);
  font-weight:800;
  cursor:pointer;
}
.pill[aria-pressed="true"]{
  border-color:rgba(45,110,107,.55);
  box-shadow:0 10px 22px rgba(45,110,107,.16);
}

.product-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1.2rem;
}
.product{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow);
  overflow:hidden;
  display:flex;flex-direction:column;
}
.product .thumb{
  position:relative;
  aspect-ratio:16/10;
  overflow:hidden;
  cursor:zoom-in;
}
.product .thumb img{width:100%;height:100%;object-fit:cover}
.product .thumb .tag{
  position:absolute;left:12px;top:12px;
  background:rgba(0,0,0,.62);
  color:#fff;
  padding:.35rem .6rem;
  border-radius:999px;
  font-size:.82rem;
  font-weight:800;
}
.product .content{padding:1rem 1rem 1.15rem}
.product .content h3{
  font-family:"Inter",system-ui,sans-serif;
  margin:0 0 .35rem;
}
.product .content p{margin:0 0 .9rem;color:var(--muted)}
.product .actions{display:flex;flex-wrap:wrap;gap:.6rem}
.product .actions .btn{flex:1}

.notice{
  background:var(--terr-weak);
  border:1px solid rgba(209,113,85,.26);
  padding:1rem 1.1rem;
  border-radius:var(--radius);
  color:var(--primary);
  margin-top:1rem;
}

.footer{
  padding:2.2rem 0 1.2rem;
  background:var(--primary);
  color:#fff;
  margin-top:2rem;
}
.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:1.4rem;
  align-items:start;
}
.footer a{color:var(--accent);text-decoration:none}
.footer a:hover{text-decoration:underline}
.footer small{color:rgba(255,255,255,.78)}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.15);
  padding-top:1rem;
  margin-top:1.2rem;
  color:rgba(255,255,255,.82);
  font-weight:700;
}

.map{
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  overflow:hidden;
  background:rgba(45,110,107,.05);
  box-shadow:var(--shadow);
}
.map iframe{width:100%;height:360px;border:0}

.two-col{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:1.4rem;
  align-items:start;
}

.prose{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow);
  padding:1.3rem 1.3rem 1.4rem;
}
.prose ul{margin:.6rem 0 1rem 1.05rem}
.prose li{margin:.35rem 0}

.lightbox{
  position:fixed;inset:0;
  background:rgba(0,0,0,.72);
  display:none;
  align-items:center;justify-content:center;
  padding:1.25rem;
  z-index:2000;
}
.lightbox[aria-hidden="false"]{display:flex}
.lightbox .panel{
  width:min(980px, 100%);
  background:var(--surface);
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 28px 70px rgba(0,0,0,.35);
}
.lightbox .panel header{
  display:flex;align-items:center;justify-content:space-between;
  gap:1rem;
  padding:.85rem 1rem;
  border-bottom:1px solid var(--border);
}
.lightbox .panel header .cap{
  font-weight:900;color:var(--primary);
}
.lightbox .panel .imgwrap{
  background:#111;
  display:flex;align-items:center;justify-content:center;
  aspect-ratio:16/10;
}
.lightbox .panel .imgwrap img{
  width:100%;height:100%;
  object-fit:contain;
}
.lightbox .panel footer{
  display:flex;justify-content:space-between;gap:.6rem;
  padding:.9rem 1rem;
  border-top:1px solid var(--border);
}
.lightbox .lb-btn{
  border:1px solid rgba(45,110,107,.18);
  background:rgba(255,255,255,.9);
  padding:.65rem .9rem;border-radius:14px;
  font-weight:900;color:var(--primary);
  cursor:pointer;
}
.lightbox .lb-btn:hover{box-shadow:0 10px 22px rgba(45,110,107,.12)}
.lightbox .lb-close{
  border:0;background:transparent;cursor:pointer;
  font-weight:900;color:var(--muted);
  padding:.4rem .6rem;border-radius:12px;
}
.lightbox .lb-close:hover{background:rgba(45,110,107,.06);color:var(--primary)}

@media (max-width: 980px){
  .hero-grid, .two-col{grid-template-columns:1fr}
  .hero h1{font-size:2.35rem}
}
@media (max-width: 860px){
  .grid, .product-grid{grid-template-columns:repeat(2, minmax(0,1fr))}
  .footer-grid{grid-template-columns:1fr}
}
@media (max-width: 720px){
  .nav-toggle{display:inline-flex}
  .nav-links{
    position:absolute;left:0;right:0;top:100%;
    background:rgba(251,249,246,.98);
    border-bottom:1px solid var(--border);
    padding:1rem 1.25rem;
    display:none;
    flex-direction:column;
    gap:.85rem;
  }
  .nav-links.open{display:flex}
  .brand .tagline{display:none}
}
@media (max-width: 520px){
  .grid, .product-grid{grid-template-columns:1fr}
  .hero{padding:2.2rem 0 1.6rem}
  .section{padding:2.2rem 0}
}

/* Utilities */
.mt-0{margin-top:0!important}
.mb-0{margin-bottom:0!important}
.mb-1{margin-bottom:.5rem!important}
.mb-2{margin-bottom:1rem!important}
.mt-1{margin-top:.5rem!important}
.mt-2{margin-top:1rem!important}
.mt-3{margin-top:1.5rem!important}
.muted{color:var(--muted)!important}
.list{margin:.7rem 0 0 1.05rem;color:var(--muted)}
.cat-title{
  margin:1.2rem 0 .65rem;
  color:var(--primary);
  font-family:"Inter",system-ui,sans-serif;
  font-size:1.05rem;
  font-weight:900;
}

/* Footer polish (avoid inline styles) */
.footer h4{margin:0 0 .75rem}
.footer .brand-title{
  font-family:"Playfair Display",Georgia,serif;
  font-size:1.35rem;
}
.footer p{color:rgba(255,255,255,.85)}
.footer .footer-links p{margin:.35rem 0}
.footer .footer-contact p{margin:.35rem 0}
.footer .footer-contact small{display:block;color:rgba(255,255,255,.72)}

.badge-invert{
  border-color:rgba(255,255,255,.22)!important;
  color:#fff!important;
  background:rgba(255,255,255,.10)!important;
}


/* =========================
   Pricing tables (Precios)
   ========================= */
.table-wrap{
  overflow-x:auto;
  border:1px solid rgba(15,23,42,.10);
  border-radius:var(--radius);
  background:rgba(255,255,255,.9);
}

.price-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  min-width:620px;
}

.price-table th,
.price-table td{
  padding:.8rem .85rem;
  border-bottom:1px solid rgba(15,23,42,.08);
  text-align:left;
  white-space:nowrap;
}

.price-table thead th{
  position:sticky;
  top:0;
  background:#fff;
  z-index:1;
  font-size:.95rem;
  color:var(--primary);
}

.price-table tbody th{
  font-weight:800;
}

.price-table tbody tr:hover td,
.price-table tbody tr:hover th{
  background:rgba(45,110,107,.05);
}

.card-actions{
  display:flex;
  gap:.75rem;
  flex-wrap:wrap;
  margin-top:1rem;
}

@media (max-width: 640px){
  .price-table{min-width:520px}
  .price-table th,.price-table td{padding:.7rem .75rem}
}


/* Forms */
.stack{display:flex;flex-direction:column;gap:14px}
.form .req{color:var(--primary);font-weight:800}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.field-full{grid-column:1/-1}
.field label{display:block;font-weight:800;font-size:.92rem;margin:0 0 .35rem}
.control{width:100%;padding:.75rem .85rem;border-radius:12px;border:1px solid rgba(45,110,107,.18);background:#fff;color:var(--text)}
.control:focus{outline:none;border-color:rgba(45,110,107,.45);box-shadow:0 0 0 4px rgba(45,110,107,.12)}
textarea.control{resize:vertical;min-height:120px}
.form-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.fineprint{margin-top:10px;font-size:.88rem;color:var(--muted);line-height:1.4}
.fineprint a{color:var(--primary);text-decoration:underline;text-underline-offset:3px}
.hp{display:none!important}
.alert{border-radius:12px;padding:10px 12px;margin:10px 0 12px;border:1px solid rgba(15,23,42,.12);background:#fff}
.alert-success{border-color:rgba(16,185,129,.35);background:rgba(16,185,129,.08)}
.alert-error{border-color:rgba(239,68,68,.35);background:rgba(239,68,68,.08)}
.map-card .map iframe{height:260px}

@media (max-width: 860px){
  .form-grid{grid-template-columns:1fr}
}


/* Contact form validation */
.error-msg{display:block;min-height:1.1em;margin-top:6px;font-size:.86rem;color:var(--accent);line-height:1.2}
.control.is-invalid{border-color:rgba(192,57,43,.55);box-shadow:0 0 0 4px rgba(192,57,43,.10)}


/* Bilingual support line */
.lead-en{margin-top:.55rem;font-size:1.0rem;color:var(--muted);max-width:56ch}
