/* ==========================================================================
   VH Guinchos — Design tokens
   ========================================================================== */
:root {
  --blue: #0057FF;
  --blue-dark: #003ECF;
  --blue-darker: #002C99;
  --silver: #C6CBD3;
  --silver-light: #E9EBEF;
  --black: #0B0D12;
  --black-soft: #14161C;
  --white: #FFFFFF;
  --gray-600: #565B66;
  --gray-100: #F4F5F7;

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(11,13,18,.08);
  --shadow-md: 0 10px 30px rgba(11,13,18,.14);
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

html, body { max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 800; line-height: 1.15; margin: 0 0 .5em; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue);
  color: var(--white);
  padding: 10px 16px;
  z-index: 999;
}
.skip-link:focus { left: 10px; top: 10px; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }

/* WhatsApp buttons — animated shine sweep (not used on .floating-whatsapp) */
.btn-primary,
.service-whatsapp,
.whatsapp-icon-badge {
  position: relative;
  overflow: hidden;
  background: #25D366;
  color: #06210F;
  box-shadow: var(--shadow-sm);
  isolation: isolate;
}
.btn-primary::after,
.service-whatsapp::after,
.whatsapp-icon-badge::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 35%;
  height: 100%;
  background: linear-gradient(115deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.75) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-20deg);
  pointer-events: none;
  animation: whatsapp-shine 3.2s ease-in-out infinite;
}
@keyframes whatsapp-shine {
  0% { left: -60%; }
  35% { left: 130%; }
  100% { left: 130%; }
}
.btn-primary:hover,
.service-whatsapp:hover,
.whatsapp-icon-badge:hover {
  box-shadow: var(--shadow-md);
  filter: brightness(1.04);
}
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--silver-light);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-img {
  display: block;
  height: 60px;
  width: auto;
}
.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-style: italic;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--black);
}
.logo-text em { color: var(--blue); font-style: italic; }

.main-nav ul { display: flex; gap: 28px; }
.main-nav a { font-weight: 600; font-size: 0.95rem; color: var(--gray-600); }
.main-nav a:hover { color: var(--blue); }

.header-cta { display: flex; align-items: center; gap: 12px; min-width: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--black); border-radius: 2px; }

.mobile-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--silver-light);
}
.mobile-nav ul { display: flex; flex-direction: column; padding: 8px 20px 16px; }
.mobile-nav a { display: block; padding: 12px 0; font-weight: 600; border-bottom: 1px solid var(--gray-100); }

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .site-header.nav-open .mobile-nav { display: block; }
  .header-inner { justify-content: flex-start; gap: 10px; }
  .header-cta { margin-left: auto; }
}

@media (max-width: 480px) {
  .logo-img { height: 46px; }
  .header-cta .btn span { display: none; }
  .header-cta .btn { padding: 12px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background: radial-gradient(120% 140% at 100% 0%, var(--blue-darker) 0%, var(--black) 55%);
  color: var(--white);
  padding: 56px 0 72px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-inner > * { min-width: 0; }
.eyebrow {
  color: var(--silver);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
}
.hero h1 em { color: #5C9BFF; font-style: italic; }
.hero-sub {
  color: var(--silver-light);
  font-size: 1.05rem;
  max-width: 46ch;
  margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 20px; }
.hero-trust li {
  position: relative;
  padding-left: 22px;
  font-size: .9rem;
  color: var(--silver-light);
}
.hero-trust li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #25D366;
}
.hero-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
}

@media (max-width: 640px) {
  .hero-whatsapp-btn { display: none; }
}

@media (max-width: 640px) {
  .hero { padding: 32px 0 48px; }
  .hero-media img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    object-position: center 30%;
  }
}

/* ==========================================================================
   Sections common
   ========================================================================== */
section { padding: 72px 0; }
h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-align: center;
}
.section-sub {
  text-align: center;
  color: var(--gray-600);
  max-width: 60ch;
  margin: 0 auto 40px;
}

/* ==========================================================================
   Services
   ========================================================================== */
.services { background: var(--gray-100); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(0,87,255,.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.service-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.service-card p { color: var(--gray-600); font-size: .92rem; margin-bottom: 14px; }
.service-whatsapp {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   How it works
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}
.steps li { text-align: center; padding: 0 12px; }
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  margin-bottom: 16px;
}
.steps h3 { font-size: 1.1rem; }
.steps p { color: var(--gray-600); font-size: .92rem; }
.cta-inline { text-align: center; }

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-grid img {
  border-radius: var(--radius);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
}
@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid img:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; }
}

/* ==========================================================================
   Service area
   ========================================================================== */
.service-area {
  background: var(--black);
  color: var(--white);
}
.service-area h2, .service-area .section-sub { color: var(--white); text-align: left; margin: 0 0 16px; }
.service-area .section-sub { color: var(--silver-light); }
.area-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 24px;
  margin: 24px 0 32px;
  max-width: 640px;
}
.area-list li {
  position: relative;
  padding-left: 18px;
  color: var(--silver-light);
  font-weight: 600;
}
.area-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
}
@media (max-width: 600px) {
  .area-list { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-list details {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 12px;
}
.faq-list summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 24px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0; top: -2px;
  font-size: 1.4rem;
  color: var(--blue);
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list p { color: var(--gray-600); margin: 12px 0 0; }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta {
  background: linear-gradient(120deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  text-align: center;
}
.final-cta h2 { color: var(--white); }
.final-cta p { color: var(--silver-light); max-width: 50ch; margin: 0 auto 28px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--black-soft);
  color: var(--silver-light);
  padding: 56px 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.logo-img-footer {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 10px;
}
.footer-brand p { color: var(--silver); margin-top: 12px; font-style: italic; }
.footer-col h4 { font-size: .95rem; margin-bottom: 12px; color: var(--white); }
.footer-col p { margin: 0 0 8px; }
.footer-col a:hover { color: var(--blue); text-decoration: underline; }
.footer-contact-row { display: flex; align-items: center; gap: 10px; }
.whatsapp-icon-badge,
.instagram-icon-badge {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.instagram-icon-badge {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  color: #fff;
  transition: filter .15s ease, box-shadow .15s ease;
}
.instagram-icon-badge:hover {
  filter: brightness(1.08);
  box-shadow: var(--shadow-md);
}
.footer-bottom { padding-top: 20px; font-size: .85rem; color: var(--gray-600); }

@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Floating WhatsApp button (all breakpoints)
   ========================================================================== */
.floating-whatsapp-wrap {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.floating-whatsapp-badge {
  background: #E32020;
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.floating-whatsapp {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37,211,102,.6); }
  70% { transform: scale(1.08); box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

@media (max-width: 640px) {
  .floating-whatsapp-wrap { right: 16px; bottom: 16px; }
  .floating-whatsapp { width: 54px; height: 54px; }
  .floating-whatsapp-badge { font-size: .7rem; padding: 3px 8px; }
}
