:root {
  --navy: #0d1b2a;
  --navy-2: #1b2b3f;
  --orange: #f28c28;
  --orange-dark: #d9741a;
  --text: #1f2933;
  --muted: #5b6774;
  --bg: #ffffff;
  --bg-alt: #f3f5f8;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; }
a { color: inherit; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }

h1, h2, h3 { font-family: "Barlow Condensed", sans-serif; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); color: var(--navy); }
h3 { font-size: 1.4rem; color: var(--navy); }

.eyebrow {
  color: var(--orange); font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; font-size: .8rem; margin: 0 0 .6rem;
}

/* Buttons */
.btn {
  display: inline-block; background: var(--orange); color: #fff; text-decoration: none;
  font-weight: 600; padding: .85rem 1.4rem; border-radius: var(--radius); border: 2px solid var(--orange);
  cursor: pointer; font-size: 1rem; transition: background .2s;
}
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.6); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-small { padding: .5rem 1rem; font-size: .9rem; }

/* Header */
.topbar {
  position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 8px; background: var(--orange); color: var(--navy);
  display: grid; place-items: center; font-family: "Barlow Condensed"; font-weight: 700; font-size: 1.6rem;
}
.logo-text { font-family: "Barlow Condensed"; font-weight: 700; font-size: 1.4rem; letter-spacing: .04em; line-height: 1; }
.logo-text small { display: block; font-family: "Inter"; font-weight: 400; font-size: .68rem; letter-spacing: .02em; opacity: .75; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--orange); }
.logo-img { height: 56px; width: auto; display: block; background: #fff; padding: 4px 8px; border-radius: 8px; }
.brands { margin-top: 2rem; color: var(--muted); text-align: center; }
.brands strong { color: var(--navy); }
.menu-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; }

/* Hero */
.hero {
  color: #fff;
  position: relative; overflow: hidden;
  background: var(--navy);
  padding: clamp(4rem, 10vw, 7rem) 0;
}
.hero-inner { position: relative; z-index: 2; }
.hero-inner > * { max-width: 820px; }

/* Fotos que cambian en la portada */
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(13,27,42,.95) 35%, rgba(13,27,42,.6));
}
.lead { font-size: 1.15rem; opacity: .9; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 2.5rem; }
.hero-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-tags li { border: 1px solid rgba(242,140,40,.6); color: #ffd3a8; padding: .3rem .8rem; border-radius: 999px; font-size: .85rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; background: var(--navy-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem .8rem .6rem; color: #fff; font-size: .85rem; font-weight: 600;
  background: linear-gradient(transparent, rgba(13,27,42,.9));
}
.about-photo { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); }
.cta a:not(.btn) { color: var(--orange); }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.card {
  background: #fff; border: 1px solid #e3e7ec; border-radius: var(--radius); padding: 1.6rem;
  border-top: 4px solid var(--orange); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(13,27,42,.1); }
.card-wide { grid-column: 1 / -1; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }
.icon { width: 48px; height: 48px; border-radius: 10px; background: #fff3e6; display: grid; place-items: center; margin-bottom: 1rem; }
.icon svg { width: 26px; height: 26px; fill: none; stroke: var(--orange-dark); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.photo-placeholder {
  aspect-ratio: 4/3; border-radius: var(--radius); background: var(--navy-2);
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 2px, transparent 2px 18px);
  display: grid; place-items: center; color: rgba(255,255,255,.6); font-size: .95rem;
}

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 2rem; }
.feature span { font-family: "Barlow Condensed"; font-weight: 700; font-size: 2.4rem; color: var(--orange); }
.feature p { color: var(--muted); margin: 0; }

/* CTA / form */
.cta { background: var(--navy); color: #fff; }
.cta h2 { color: #fff; }
.form { background: #fff; color: var(--text); padding: 1.8rem; border-radius: var(--radius); display: grid; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: .9rem; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; padding: .7rem .8rem; border: 1px solid #cdd4dc; border-radius: 8px; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--orange); border-color: transparent; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1rem; }
.contact-list strong { display: block; color: var(--navy); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.contact-list a { color: var(--orange-dark); font-weight: 600; }
.social { display: flex; gap: .8rem; flex-wrap: wrap; }
.social a { text-decoration: none; border: 1px solid #cdd4dc; padding: .45rem .9rem; border-radius: 999px; font-size: .9rem; }
.social a:hover { border-color: var(--orange); color: var(--orange-dark); }
.map { width: 100%; height: 360px; border: 0; border-radius: var(--radius); }

/* Footer */
.footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 1.5rem 0; font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer a { text-decoration: none; }

/* WhatsApp float */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); z-index: 60;
}
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

/* Responsive */
@media (max-width: 960px) {
  .cards, .features { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--navy);
    flex-direction: column; align-items: flex-start; padding: 1rem 16px 1.5rem; gap: 1rem;
  }
  .nav.open { display: flex; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .cards, .features { grid-template-columns: 1fr; }
  .logo-text small { display: none; }
}
