:root {
  --bg: #f4fbf8;
  --surface: #ffffff;
  --surface-2: #e7f5ef;
  --text: #0c201f;
  --muted: #5d706d;
  --primary: #0aa6c8;
  --primary-dark: #087c9b;
  --secondary: #22a35b;
  --dark: #073f3c;
  --border: #cde3dd;
  --shadow: 0 24px 70px rgba(7, 63, 60, 0.14);
  --radius: 28px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.section-padding {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0;
}

.site-header {
  min-height: 100vh;
  color: white;
  background:
    radial-gradient(circle at 15% 10%, rgba(10, 166, 200, 0.36), transparent 30%),
    radial-gradient(circle at 82% 35%, rgba(34, 163, 91, 0.30), transparent 34%),
    linear-gradient(135deg, #052f2d, #073f3c 55%, #052321);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0;
  backdrop-filter: blur(14px);
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; }
.brand-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  padding: 12px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: #ffffff;
  font-size: 1.2rem;
  letter-spacing: .22em;
  box-shadow: 0 12px 30px rgba(0,0,0,.16);
}
.top-logo-banner {
  width: min(var(--max), calc(100% - 32px));
  margin: 12px auto 0;
  padding: 22px 26px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: var(--shadow);
}
.top-logo-banner img {
  width: 100%;
  height: clamp(120px, 18vw, 220px);
  object-fit: contain;
  object-position: center;
  border-radius: 24px;
}

.nav-menu { display: flex; align-items: center; gap: 17px; font-size: 0.94rem; font-weight: 800; }
.nav-menu a:not(.btn) { color: rgba(255,255,255,.78); }
.nav-menu a:hover { color: white; }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 25px; height: 3px; margin: 5px 0; background: white; border-radius: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  font-weight: 900;
  box-shadow: 0 14px 35px rgba(10, 166, 200, 0.24);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(10, 166, 200, 0.32); filter: brightness(1.03); }
.btn-secondary { background: var(--surface); color: var(--dark); border: 1px solid var(--border); box-shadow: none; }
.btn-secondary:hover { color: var(--dark); }
.btn-small { padding: 10px 16px; font-size: 0.9rem; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding-top: 54px;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
}
.site-header .eyebrow { color: #45d4e9; }
.hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2.7rem, 7vw, 5.9rem);
  line-height: .92;
  letter-spacing: -0.08em;
}
.hero-copy { max-width: 680px; color: rgba(255,255,255,.78); font-size: 1.18rem; margin: 26px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust-row span {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  padding: 8px 13px;
  color: rgba(255,255,255,.82);
  font-weight: 800;
  font-size: .9rem;
}
.hero-visual {
  position: relative;
  border-radius: 36px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: var(--shadow);
}
.hero-video-shell {
  border-radius: 32px;
  padding: 26px 26px 18px;
  background: linear-gradient(180deg, rgba(3, 36, 34, .72), rgba(8, 60, 57, .76));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 0 0 12px rgba(255,255,255,.05);
}
.hero-video-top,
.hero-video-label {
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  background: rgba(255,255,255,.94);
  color: var(--dark);
  font-weight: 900;
  border-radius: 999px;
  padding: 12px 20px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,.16);
}
.hero-video-top {
  margin-bottom: 18px;
}
.hero-video-card {
  min-height: 420px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-video-card .tiktok-embed {
  margin: 0 auto !important;
}
.hero-video-label {
  margin-top: 18px;
  letter-spacing: .04em;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.06em;
}
.section-title p:last-child { color: var(--muted); max-width: 680px; }
.center { text-align: center; margin-inline: auto; }
.center p { margin-inline: auto; }

.intro { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: start; }
.intro-copy {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}
.intro-copy p { margin-top: 0; color: var(--muted); font-size: 1.05rem; }
.intro-copy p:last-child { margin-bottom: 0; }

.alt { width: 100%; max-width: none; background: var(--surface-2); padding-inline: max(16px, calc((100% - var(--max)) / 2)); }
.product-grid, .service-grid, .gallery-grid { display: grid; gap: 18px; margin-top: 38px; }
.product-grid { grid-template-columns: repeat(4, 1fr); }
.product-card, .service-card, .gallery-grid article, .contact-card, .quote-card, .brand-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 16px 50px rgba(7, 63, 60, 0.08);
}
.product-card { padding: 26px; min-height: 250px; transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 22px 60px rgba(7, 63, 60, 0.12); }
.product-card span { font-size: 2.3rem; }
.product-card h3, .service-card h3, .gallery-grid h3 { margin: 14px 0 8px; line-height: 1.05; letter-spacing: -0.04em; }
.product-card p, .service-card p, .gallery-grid p, .brand-panel p, .contact p, .quote p { color: var(--muted); }

.service-grid { grid-template-columns: repeat(3, 1fr); }
.service-card { padding: 30px; }
.service-card.featured { background: linear-gradient(135deg, #ffffff, #effbf7); }
.service-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--surface-2);
  font-size: 1.8rem;
}
.service-card a { color: var(--primary-dark); font-weight: 900; }

.brand-panel { display: grid; grid-template-columns: 1fr .8fr; gap: 34px; padding: 44px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 34px; font-weight: 900; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: white; background: linear-gradient(135deg, var(--primary), var(--secondary)); width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; }

.gallery-grid { grid-template-columns: repeat(4, 1fr); }
.gallery-grid article { overflow: hidden; }
.gallery-grid h3, .gallery-grid p { padding-inline: 22px; }
.gallery-grid p { padding-bottom: 22px; margin-bottom: 0; }
.gallery-placeholder { height: 210px; display: grid; place-items: center; font-size: 4rem; background: linear-gradient(135deg, #ebfbf5, #ffffff); }
.social-strip {
  margin-top: 28px;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(135deg, var(--dark), #052321);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.social-strip h3 { margin: 0 0 4px; font-size: 1.6rem; letter-spacing: -0.04em; }
.social-strip p { margin: 0; color: rgba(255,255,255,.72); }
.social-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.tiktok-banner {
  margin-top: 28px;
  padding: 26px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #ffffff, #effbf7);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 16px 50px rgba(7, 63, 60, 0.08);
}
.tiktok-banner p {
  margin: 0;
  color: var(--muted);
}

.quote-card { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; padding: 42px; }
.quote-form { display: grid; gap: 16px; }
.quote-form label { display: grid; gap: 8px; font-weight: 900; }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 15px 16px;
  font: inherit;
  color: var(--text);
  background: #fafffd;
  outline: none;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(10,166,200,.12); }


.quote-card-enhanced {
  grid-template-columns: .85fr 1fr;
}
.quote-card-enhanced .configurator-card {
  grid-column: 1 / -1;
}
.quote-highlight {
  color: var(--dark) !important;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.configurator-card {
  margin-top: 12px;
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #ffffff, #effbf7);
  box-shadow: 0 16px 50px rgba(7, 63, 60, 0.08);
}
.configurator-heading {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 26px;
}
.configurator-heading h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: .98;
  letter-spacing: -0.06em;
}
.configurator-heading p:last-child {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}
.configurator-layout {
  display: grid;
  grid-template-columns: 1fr .92fr;
  gap: 28px;
  align-items: start;
}
.configurator-preview,
.configurator-controls {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fafffd;
}
.configurator-preview {
  padding: 24px;
}
.product-stage {
  min-height: 430px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background:
    radial-gradient(circle at 20% 20%, rgba(10,166,200,.12), transparent 34%),
    radial-gradient(circle at 84% 26%, rgba(34,163,91,.14), transparent 35%),
    #eef9f4;
  overflow: hidden;
}
.mockup {
  --design-size: 55%;
  --design-x: 0px;
  --design-y: 0px;
  --design-rotate: 0deg;
  position: relative;
  width: min(100%, 340px);
  height: 380px;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.mockup::before,
.mockup::after {
  content: "";
  position: absolute;
  z-index: 1;
}
.mockup-shirt-white::before,
.mockup-shirt-black::before,
.mockup-sweatshirt::before {
  width: 72%;
  height: 72%;
  bottom: 26px;
  border-radius: 28px 28px 42px 42px;
  box-shadow: 0 24px 50px rgba(7,63,60,.18);
}
.mockup-shirt-white::after,
.mockup-shirt-black::after,
.mockup-sweatshirt::after {
  top: 68px;
  width: 100%;
  height: 136px;
  clip-path: polygon(0 38%, 25% 0, 75% 0, 100% 38%, 86% 72%, 73% 54%, 73% 100%, 27% 100%, 27% 54%, 14% 72%);
  box-shadow: 0 18px 40px rgba(7,63,60,.14);
}
.mockup-shirt-white::before,
.mockup-shirt-white::after { background: #ffffff; border: 1px solid #dfe8e5; }
.mockup-shirt-black::before,
.mockup-shirt-black::after { background: #111b1a; border: 1px solid #2b3a38; }
.mockup-sweatshirt::before,
.mockup-sweatshirt::after { background: #eef2f1; border: 1px solid #d0ddda; }
.mockup-sweatshirt::after { border-radius: 36px 36px 12px 12px; }
.mockup-tote::before {
  width: 76%;
  height: 68%;
  bottom: 34px;
  border-radius: 18px 18px 34px 34px;
  background: #ffffff;
  border: 1px solid #dfe8e5;
  box-shadow: 0 24px 50px rgba(7,63,60,.18);
}
.mockup-tote::after {
  top: 46px;
  width: 42%;
  height: 96px;
  border: 14px solid #ffffff;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  filter: drop-shadow(0 12px 20px rgba(7,63,60,.12));
}
.mockup-cushion::before {
  width: 78%;
  height: 78%;
  border-radius: 38px;
  background: #ffffff;
  border: 1px solid #dfe8e5;
  box-shadow: inset 0 0 0 14px #f2f7f5, 0 24px 50px rgba(7,63,60,.18);
}
.mockup-mug::before {
  width: 64%;
  height: 62%;
  border-radius: 28px 28px 42px 42px;
  background: #ffffff;
  border: 1px solid #dfe8e5;
  box-shadow: 0 24px 50px rgba(7,63,60,.18);
}
.mockup-mug::after {
  right: 24px;
  top: 132px;
  width: 78px;
  height: 102px;
  border: 18px solid #ffffff;
  border-left: 0;
  border-radius: 0 999px 999px 0;
  filter: drop-shadow(0 10px 20px rgba(7,63,60,.12));
}
.design-preview {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 52%;
  width: var(--design-size);
  max-height: 62%;
  object-fit: contain;
  transform: translate(calc(-50% + var(--design-x)), calc(-50% + var(--design-y))) rotate(var(--design-rotate));
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.16));
  pointer-events: none;
}
.upload-hint {
  position: relative;
  z-index: 4;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--dark);
  font-weight: 900;
  background: rgba(255,255,255,.94);
  border: 1px dashed var(--primary);
}
.upload-hint.hidden { display: none; }
.preview-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: .95rem;
}
.configurator-controls {
  display: grid;
  gap: 16px;
  padding: 24px;
}
.configurator-controls label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}
.configurator-controls input,
.configurator-controls select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 14px;
  font: inherit;
  background: #ffffff;
  color: var(--text);
}
.configurator-controls input[type="range"] {
  padding: 0;
  accent-color: var(--primary);
}
.configurator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: start; }
.contact-card { padding: 28px; }
.contact-card p { margin: 0 0 12px; }
.contact-card p:last-child { margin-bottom: 0; }
.contact-card a { color: var(--primary-dark); font-weight: 900; }

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  padding: 14px 18px;
  border-radius: 999px;
  background: #22a35b;
  color: white;
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(34, 163, 91, .34);
}

.footer {
  padding: 42px max(16px, calc((100% - var(--max)) / 2));
  background: #052321;
  color: white;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}
.footer .brand img { width: 128px; height: 50px; border-radius: 16px; }
.footer p { color: rgba(255,255,255,.66); margin: 10px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 800; color: rgba(255,255,255,.78); }
.footer-links a:hover { color: white; }
.copyright { grid-column: 1 / -1; font-size: .9rem; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute;
    top: 86px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px;
    border-radius: 24px;
    background: rgba(5, 35, 33, .96);
    border: 1px solid rgba(255,255,255,.12);
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 12px 14px; }
  .hero, .intro, .quote-card, .contact-grid, .brand-panel, .configurator-layout { grid-template-columns: 1fr; }
  .tiktok-banner, .configurator-heading { flex-direction: column; align-items: flex-start; }
  .product-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 72px; }
  .hero-video-card { min-height: 360px; }
}

@media (max-width: 620px) {
  .section-padding { width: min(var(--max), calc(100% - 24px)); padding: 58px 0; }
  .navbar { width: calc(100% - 24px); }
  .top-logo-banner { width: calc(100% - 24px); padding: 16px; margin-top: 8px; }
  .top-logo-banner img { height: 100px; }
  .brand-text { min-width: auto; width: 100%; max-width: 132px; padding: 11px 14px; font-size: 1rem; letter-spacing: .18em; }
  .product-grid, .gallery-grid { grid-template-columns: 1fr; }
  .social-strip { flex-direction: column; align-items: flex-start; }
  .tiktok-banner { padding: 22px; }
  .quote-card, .brand-panel, .intro-copy { padding: 26px; }
  .configurator-card { padding: 20px; }
  .product-stage { min-height: 360px; }
  .mockup { height: 330px; }
  .footer { grid-template-columns: 1fr; }
  .hero-visual { padding: 12px; }
  .hero-video-shell { padding: 18px 14px 14px; }
  .hero-video-top, .hero-video-label { width: 100%; font-size: .92rem; }
  .hero-video-card { min-height: 300px; }
}


/* Profesionalización FASARI */
.site-header { min-height: auto; padding-bottom: 34px; }
.top-logo-banner {
  background: radial-gradient(circle at 50% 0%, rgba(10,166,200,.22), transparent 48%), rgba(255,255,255,.075);
}
.top-logo-banner img { filter: drop-shadow(0 22px 34px rgba(0,0,0,.22)); }
.hero-video-label { text-transform: uppercase; }
.hero-copy { max-width: 640px; }

.process-grid,
.faq-grid {
  display: grid;
  gap: 18px;
  margin-top: 38px;
}
.process-grid { grid-template-columns: repeat(4, 1fr); }
.process-grid article,
.faq-grid article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 16px 50px rgba(7,63,60,.08);
}
.process-grid article { padding: 28px; }
.process-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-weight: 900;
  margin-bottom: 16px;
}
.process-grid h3,
.faq-grid h3,
.quote-form h3 { margin: 0 0 8px; line-height: 1.08; letter-spacing: -.04em; }
.process-grid p,
.faq-grid p { margin: 0; color: var(--muted); }

.quote-card-enhanced {
  grid-template-columns: .9fr .9fr;
  align-items: start;
}
.quote-intro p { color: var(--muted); }
.quote-form h3 { font-size: 1.55rem; }
.quote-form {
  background: #fafffd;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
}
.config-note {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(10,166,200,.10);
  border: 1px solid rgba(10,166,200,.22);
  color: var(--dark);
}
.configurator-card {
  position: relative;
  overflow: hidden;
}
.configurator-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 80% 0%, rgba(34,163,91,.14), transparent 34%);
}
.configurator-card > * { position: relative; }
.configurator-controls input[type="file"] {
  cursor: pointer;
}
.configurator-actions .btn { flex: 1 1 180px; }
.preview-note { font-weight: 600; }
.mockup-shirt-black .upload-hint { color: #fff; background: rgba(17,27,26,.82); border-color: rgba(255,255,255,.55); }
.mockup-shirt-black .design-preview { filter: drop-shadow(0 8px 16px rgba(255,255,255,.18)); }

.faq-grid { grid-template-columns: repeat(3, 1fr); }
.faq-grid article { padding: 26px; }

.footer-brand img {
  object-fit: cover;
  object-position: center;
  box-shadow: 0 18px 38px rgba(0,0,0,.20);
}

@media (max-width: 980px) {
  .process-grid, .faq-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-card-enhanced { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .process-grid, .faq-grid { grid-template-columns: 1fr; }
  .quote-form { padding: 20px; }
  .config-note { padding: 14px; }
}
