/* ===================================================================
   COSTA AZUL E.I.R.L. — Design tokens
=================================================================== */
:root{
  --blue: #004E9F;
  --blue-dark: #113378;
  --orange: #EA7509;
  --lime: #7DB92B;
  --white: #FFFFFF;
  --bg-soft: #F2F8FF;
  --bg-soft-2: #FDF3E9;
  --ink: #0F1E38;
  --gray: #5B6B85;
  --gray-light: #8A97AC;
  --border: #E4ECF7;

  --font-display: 'Baloo 2', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-soft: 0 20px 40px -20px rgba(17,51,120,.25);
  --shadow-card: 0 10px 24px -14px rgba(15,30,56,.18);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ text-decoration:none; color:inherit; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family: var(--font-display); margin:0; color: var(--blue-dark); }
p{ margin:0; }
.container{ width:100%; max-width:1180px; margin:0 auto; padding:0 24px; }
.text-orange{ color: var(--orange); }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

/* ===================================================================
   BUTTONS
=================================================================== */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight:700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor:pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--orange); color:var(--white); box-shadow: 0 12px 24px -10px rgba(234,117,9,.55);}
.btn-primary:hover{ background:#d66a06; }
.btn-outline{ border-color: var(--blue); color: var(--blue); background:var(--white); }
.btn-outline:hover{ background: var(--blue); color:var(--white); }
.btn-outline-dark{ border-color: var(--blue-dark); color: var(--blue-dark); }
.btn-outline-dark:hover{ background: var(--blue-dark); color:var(--white); }
.btn-ghost{ color: var(--blue-dark); background: transparent; border-color: transparent; }
.btn-ghost:hover{ background: var(--bg-soft); }
.btn-full{ width:100%; justify-content:center; }
.icon-wa{ width:18px; height:18px; fill:currentColor; }

/* ===================================================================
   HEADER
=================================================================== */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  height: 78px;
}
.brand img{ height: 44px; }
.main-nav{ display:flex; gap: 34px; }
.main-nav a{
  font-weight:600; font-size:15px; color: var(--blue-dark);
  position:relative; padding: 6px 0;
}
.main-nav a::after{
  content:""; position:absolute; left:0; bottom:0; height:2px; width:0;
  background: var(--orange); transition: width .2s ease;
}
.main-nav a:hover::after{ width:100%; }
.header-actions{ display:flex; align-items:center; gap:14px; }
.nav-toggle{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:40px; height:40px; border:1px solid var(--border); border-radius:10px;
  background:var(--white); cursor:pointer;
}
.nav-toggle span{ display:block; height:2px; background:var(--blue-dark); border-radius:2px; }

/* ===================================================================
   HERO
=================================================================== */
.hero{
  position:relative;
  overflow:hidden;
  background: linear-gradient(180deg, #EAF3FF 0%, #F7FBFF 55%, #FFFFFF 100%);
  padding: 72px 0 0;
}
.hero-blob{
  position:absolute; top:-160px; right:-160px; width:640px; height:640px;
  background: radial-gradient(circle at 30% 30%, #CFE4FB 0%, #EAF3FF 60%, transparent 70%);
  border-radius:50%;
  z-index:0;
}
.hero-confetti{ position:absolute; inset:0; pointer-events:none; z-index:1; }
.leaf{ position:absolute; width:34px; height:34px; background: var(--lime); opacity:.35;
  border-radius: 0 60% 60% 60%; transform: rotate(35deg); }
.leaf-1{ top: 120px; left: 6%; }
.leaf-2{ bottom: 60px; left: 46%; transform: rotate(-15deg) scale(.7); opacity:.25;}
.dot{ position:absolute; border-radius:50%; background: var(--orange); opacity:.25; }
.dot-1{ width:16px; height:16px; top: 220px; right: 8%; }
.dot-2{ width:10px; height:10px; bottom: 140px; right: 22%; background:var(--blue); opacity:.3;}

.hero-inner{
  position:relative; z-index:2;
  display:grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items:center;
  padding-bottom: 70px;
}
.eyebrow{
  display:inline-block; font-weight:700; font-size:13px; letter-spacing:.04em;
  color: var(--orange); text-transform:uppercase; margin-bottom:14px;
}
.hero h1{
  font-size: 48px; line-height:1.08; color: var(--blue-dark); font-weight:800; letter-spacing:-.01em;
}
.hero-sub{ margin-top:20px; font-size:17px; color: var(--gray); max-width: 480px; }
.hero-cta{ display:flex; gap:16px; margin-top: 30px; flex-wrap:wrap; }
.hero-stats{ display:flex; gap: 34px; margin-top: 44px; flex-wrap:wrap; }
.stat strong{ display:block; font-family:var(--font-display); font-size:26px; color:var(--blue); }
.stat span{ font-size:13px; color: var(--gray-light); }

.hero-visual{ position:relative; height: 460px; }
.collage{ position:relative; width:100%; height:100%; }
.c-img{
  position:absolute; border-radius: var(--radius-md); object-fit:cover;
  box-shadow: var(--shadow-soft); border: 5px solid var(--white);
}
.c-img-1{ width: 230px; height:150px; top: 10px; left: 30px; transform: rotate(-6deg); z-index:3;}
.c-img-2{ width: 210px; height:135px; top: 40px; right: 0; transform: rotate(6deg); z-index:2;}
.c-img-3{ width: 200px; height:130px; bottom: 90px; left: 0; transform: rotate(5deg); z-index:2;}
.c-img-4{ width: 230px; height:150px; bottom: 30px; right: 20px; transform: rotate(-4deg); z-index:3;}
.badge-float{
  position:absolute; background: var(--white); border-radius: 999px;
  padding: 10px 18px; box-shadow: var(--shadow-card); font-weight:700; font-size:13px;
  color: var(--blue-dark); z-index:4;
}
.badge-1{ top: 190px; left: 40%; }
.badge-2{ bottom: -6px; left: 6%; }

.hero-wave{ position:relative; z-index:2; display:block; width:100%; height:70px; }

@media (min-width: 900px){ .hero h1{ font-size:54px; } }

/* ===================================================================
   BRANDS STRIP
=================================================================== */
.brands-strip{ background: var(--white); padding: 30px 0 40px; }
.brands-label{
  text-align:center; font-size:13px; font-weight:700; letter-spacing:.06em;
  text-transform:uppercase; color: var(--gray-light); margin-bottom:18px;
}
.brands-track{
  display:flex; flex-wrap:wrap; justify-content:center; gap: 12px 14px;
}
.brands-track span{
  padding: 8px 18px; border-radius: 999px; background: var(--bg-soft);
  color: var(--blue-dark); font-weight:600; font-size: 14px; border:1px solid var(--border);
}

/* ===================================================================
   VALUE PROPS
=================================================================== */
.value-props{ padding: 10px 0 70px; }
.value-grid{
  display:grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.value-card{
  background: var(--white); border:1px solid var(--border); border-radius: var(--radius-md);
  padding: 26px 22px; box-shadow: var(--shadow-card);
}
.value-icon{
  width:48px; height:48px; border-radius:14px; display:flex; align-items:center; justify-content:center;
  font-size:22px; margin-bottom:16px;
}
.value-card h3{ font-size:18px; margin-bottom:8px; }
.value-card p{ font-size:14px; color: var(--gray); }

/* ===================================================================
   SECTION HEADINGS (shared)
=================================================================== */
.section-eyebrow{
  display:block; text-align:center; font-weight:700; font-size:13px; letter-spacing:.06em;
  text-transform:uppercase; color: var(--orange); margin-bottom:10px;
}
.section-eyebrow--light{ color: #FFC98A; }
h2{ text-align:center; font-size:34px; font-weight:800; }
h2.light{ color: var(--white); }
.section-sub{
  text-align:center; color: var(--gray); max-width: 620px; margin: 14px auto 0; font-size:16px;
}

/* ===================================================================
   CATÁLOGO
=================================================================== */
.section-catalogo{ padding: 90px 0; background: var(--white); }
.filter-tabs{
  display:flex; flex-wrap:wrap; justify-content:center; gap: 10px; margin: 34px 0 40px;
}
.tab{
  padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--border);
  background: var(--white); color: var(--blue-dark); font-weight:600; font-size:14px;
  cursor:pointer; transition: all .15s ease;
}
.tab:hover{ border-color: var(--blue); }
.tab.active{ background: var(--blue); border-color: var(--blue); color: var(--white); }

.product-grid{
  display:grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
}
.product-card{
  border: 1px solid var(--border); border-radius: var(--radius-md); overflow:hidden;
  background: var(--white); box-shadow: var(--shadow-card);
  display:flex; flex-direction:column; transition: transform .18s ease, box-shadow .18s ease;
}
.product-card:hover{ transform: translateY(-4px); box-shadow: 0 18px 30px -16px rgba(15,30,56,.25); }
.product-thumb{ position:relative; }
.product-thumb img{ width:100%; height:150px; object-fit:cover; }
.product-cat-tag{
  position:absolute; top:10px; left:10px; background: var(--white); color: var(--blue-dark);
  font-size:11px; font-weight:700; padding: 4px 10px; border-radius: 999px; box-shadow: var(--shadow-card);
}
.product-body{ padding: 16px 18px 18px; display:flex; flex-direction:column; gap:8px; flex:1; }
.product-body h4{ font-family: var(--font-body); font-size:15.5px; font-weight:700; color: var(--ink); line-height:1.3; min-height:40px; }
.product-brand{ font-size:12.5px; color: var(--blue); font-weight:700; }
.product-weight{
  display:inline-block; align-self:flex-start; font-size:12px; font-weight:700; color: var(--orange);
  background: var(--bg-soft-2); padding: 3px 10px; border-radius: 999px;
}
.product-cta{
  margin-top:auto; display:flex; align-items:center; justify-content:center; gap:6px;
  padding: 10px 12px; border-radius: 999px; background: var(--bg-soft); color: var(--blue-dark);
  font-weight:700; font-size:13px; transition: background .15s ease, color .15s ease;
}
.product-cta:hover{ background: var(--orange); color: var(--white); }
.product-cta svg{ width:14px; height:14px; fill:currentColor; }

/* ===================================================================
   CÓMO PEDIR
=================================================================== */
.section-como-pedir{
  padding: 90px 0;
  background: linear-gradient(160deg, var(--blue-dark) 0%, var(--blue) 100%);
}
.steps{
  display:grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 44px;
}
.step{
  background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-md); padding: 28px 22px; color:var(--white); position:relative;
}
.step-num{
  width:40px; height:40px; border-radius:50%; background: var(--orange); color:var(--white);
  display:flex; align-items:center; justify-content:center; font-family:var(--font-display);
  font-weight:700; font-size:17px; margin-bottom: 18px;
}
.step h3{ color: var(--white); font-size:17px; margin-bottom:8px; }
.step p{ font-size:14px; color: #DCE7FA; }
.como-pedir-cta{ text-align:center; margin-top: 44px; }

/* ===================================================================
   NOSOTROS
=================================================================== */
.section-nosotros{ padding: 100px 0; background: var(--white); }
.nosotros-grid{ display:grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items:center; }
.nosotros-visual{ position:relative; height: 380px; }
.n-img{ position:absolute; border-radius: var(--radius-md); border:5px solid var(--white); box-shadow: var(--shadow-soft); object-fit:cover; }
.n-img-1{ width:210px; height:260px; top:0; left: 40px; z-index:2; }
.n-img-2{ width:190px; height:150px; top: 190px; left: 0; z-index:1; }
.n-img-3{ width:190px; height:150px; bottom: 0; right: 10px; z-index:2; }
.nosotros-tag{
  position:absolute; top: 20px; right: 0; background: var(--lime); color:var(--white);
  font-weight:700; font-size:13px; padding: 9px 16px; border-radius: 999px; box-shadow: var(--shadow-card); z-index:3;
}
.nosotros-copy h2{ text-align:left; margin-bottom:16px; }
.nosotros-copy .section-eyebrow{ text-align:left; }
.lead{ font-size:17px; color: var(--gray); margin-bottom: 22px; }
.check-list{ display:flex; flex-direction:column; gap:12px; margin-bottom: 30px; }
.check-list li{ position:relative; padding-left: 30px; color: var(--ink); font-size:15px; }
.check-list li::before{
  content:"✓"; position:absolute; left:0; top:-1px; width:20px; height:20px; border-radius:50%;
  background: var(--bg-soft); color: var(--blue); font-size:12px; font-weight:800;
  display:flex; align-items:center; justify-content:center;
}

/* ===================================================================
   CONTACTO
=================================================================== */
.section-contacto{ padding: 100px 0; background: var(--bg-soft); }
.contacto-grid{ display:grid; grid-template-columns: .8fr 1.2fr; gap: 40px; margin-top: 44px; }
.contacto-info{ display:flex; flex-direction:column; gap:18px; }
.info-card{
  display:flex; align-items:flex-start; gap:14px; background: var(--white); border:1px solid var(--border);
  border-radius: var(--radius-md); padding: 18px 20px; box-shadow: var(--shadow-card);
}
.info-icon{ font-size:22px; }
.info-card h4{ font-family:var(--font-body); font-size:14px; color: var(--gray-light); margin-bottom:4px; font-weight:700; text-transform:uppercase; letter-spacing:.03em;}
.info-card p, .info-card a{ font-size:15px; color: var(--ink); font-weight:600; }
.info-card a:hover{ color: var(--blue); }

.contacto-form{
  background: var(--white); border:1px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow-card); display:flex; flex-direction:column; gap:18px;
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.contacto-form label{ display:flex; flex-direction:column; gap:8px; font-size:13.5px; font-weight:700; color: var(--blue-dark); }
.contacto-form input, .contacto-form textarea{
  border:1.5px solid var(--border); border-radius: 12px; padding: 12px 14px; font-family:var(--font-body);
  font-size:14.5px; color: var(--ink); resize:vertical;
}
.contacto-form input:focus, .contacto-form textarea:focus{ border-color: var(--blue); outline:none; }
.form-note{ font-size:12.5px; color: var(--gray-light); font-weight:500; text-align:center; }

/* ===================================================================
   FOOTER
=================================================================== */
.site-footer{ background: var(--blue-dark); color: #CBD8F0; padding-top: 60px; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-logo{ background: var(--white); display:inline-flex; padding: 10px 16px; border-radius: 14px; margin-bottom:18px; }
.footer-logo img{ height:34px; }
.footer-brand p{ font-size:14px; line-height:1.6; color:#B7C6E6; max-width:280px; }
.social-row{ display:flex; gap:10px; margin-top:18px; }
.social-row a{
  width:36px; height:36px; border-radius:50%; background: rgba(255,255,255,.1);
  display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:700;
  text-transform:uppercase; color:var(--white);
}
.footer-col h5{ color:var(--white); font-family:var(--font-display); font-size:15px; margin-bottom:18px; }
.footer-col{ display:flex; flex-direction:column; gap:10px; }
.footer-col a{ font-size:14px; color:#B7C6E6; }
.footer-col a:hover{ color: var(--orange); }
.footer-text{ font-size:14px; color:#B7C6E6; }
.footer-bottom{ border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; }
.footer-bottom-inner{ display:flex; justify-content:space-between; font-size:13px; color:#96A8CC; flex-wrap:wrap; gap:8px;}

/* ===================================================================
   WHATSAPP FLOAT
=================================================================== */
.whatsapp-float{
  position:fixed; right:24px; bottom:24px; width:60px; height:60px; border-radius:50%;
  background: #25D366; display:flex; align-items:center; justify-content:center;
  box-shadow: 0 14px 30px -8px rgba(37,211,102,.6); z-index:200;
  animation: wa-pulse 2.4s ease-in-out infinite;
}
.whatsapp-float svg{ width:30px; height:30px; fill:var(--white); }
@keyframes wa-pulse{
  0%,100%{ box-shadow: 0 14px 30px -8px rgba(37,211,102,.6); }
  50%{ box-shadow: 0 14px 30px -4px rgba(37,211,102,.9); }
}

/* ===================================================================
   RESPONSIVE
=================================================================== */
@media (max-width: 980px){
  .value-grid{ grid-template-columns: repeat(2,1fr); }
  .product-grid{ grid-template-columns: repeat(2,1fr); }
  .steps{ grid-template-columns: repeat(2,1fr); }
  .nosotros-grid, .contacto-grid{ grid-template-columns: 1fr; }
  .nosotros-visual{ margin: 0 auto; max-width: 420px; width:100%; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px){
  .hero-inner{ grid-template-columns: 1fr; padding-bottom:50px; }
  .hero-visual{ height: 360px; order:-1; }
  .hero h1{ font-size:38px; }
  .main-nav{
    display:flex; flex-direction:column; gap:0; position:absolute; top:78px; left:0; right:0;
    background:var(--white); border-bottom:1px solid var(--border); padding: 8px 24px 16px;
    max-height:0; overflow:hidden; transition: max-height .25s ease;
  }
  .main-nav.open{ max-height:280px; padding: 14px 24px 20px; }
  .main-nav a{ padding: 12px 0; border-bottom:1px solid var(--border); }
  .nav-toggle{ display:flex; }
  .header-actions .btn-outline span{ display:none; }
}
.nav-toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
.nav-toggle span{ transition: all .2s ease; }

@media (max-width: 640px){
  .value-grid, .product-grid, .steps{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns:1fr; }
  h2{ font-size:26px; }
  .hero h1{ font-size:32px; }
  .footer-grid{ grid-template-columns: 1fr; text-align:left; }
  .footer-bottom-inner{ flex-direction:column; text-align:center; }
  .header-actions .btn-outline{ padding:10px 14px; }
  .header-actions .btn-outline svg{ margin:0; }
}
