:root {
  --graphite: #0b0f14;
  --graphite-soft: #121922;
  --navy: #061b34;
  --navy-2: #0b2746;
  --cyan: #18d7cf;
  --green: #23d18b;
  --white: #ffffff;
  --off-white: #f5f7fa;
  --gray: #a9b4c2;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  --radius: 8px;
  --container: 1120px;
}

* {
  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(--graphite);
  background: var(--off-white);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--graphite);
  background: var(--cyan);
  border-radius: var(--radius);
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(6, 17, 31, 0.82);
  backdrop-filter: blur(16px);
}

.navbar {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--graphite);
  background: linear-gradient(135deg, var(--cyan), var(--green));
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
}

.nav-whatsapp {
  padding: 10px 15px;
  color: var(--graphite) !important;
  font-weight: 800;
  background: var(--cyan);
  border-radius: var(--radius);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  cursor: pointer;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 82svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--graphite);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 9, 14, 0.92) 0%, rgba(4, 9, 14, 0.66) 42%, rgba(4, 9, 14, 0.18) 100%),
    linear-gradient(180deg, rgba(4, 9, 14, 0.25) 0%, rgba(4, 9, 14, 0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 92px;
  padding-bottom: 34px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.about-copy h2,
.faq-intro h2,
.cta-layout h2 {
  margin: 0;
  line-height: 1.05;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.6rem, 6.8vw, 4.9rem);
}

.hero-subtitle {
  max-width: 650px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}

.hero-copy {
  max-width: 620px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1.1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus-visible,
.quick-link:hover,
.quick-link:focus-visible,
.card-cta:hover,
.card-cta:focus-visible,
.region-cta:hover,
.region-cta:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: #03140f;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 16px 36px rgba(24, 215, 207, 0.26);
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.1);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.trust-row span {
  padding: 8px 11px;
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.quick-contact {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--graphite-soft));
}

.quick-contact-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px 0;
}

.quick-contact strong,
.quick-contact span {
  display: block;
}

.quick-contact span {
  color: var(--gray);
}

.quick-link {
  flex: 0 0 auto;
  padding: 12px 16px;
  color: var(--graphite);
  background: var(--white);
  border-radius: var(--radius);
  font-weight: 900;
  transition: transform 180ms ease;
}

.section {
  padding: 92px 0;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 34px;
}

.section-heading h2,
.about-copy h2,
.faq-intro h2,
.cta-layout h2 {
  color: var(--graphite);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.section-heading p,
.about-copy p,
.faq-intro p,
.cta-layout p {
  color: #4f5c6b;
  font-size: 1.02rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card,
.regions-grid article,
.faq-list details {
  border: 1px solid rgba(9, 23, 39, 0.08);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(9, 23, 39, 0.08);
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
}

.card-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 22px;
  color: var(--graphite);
  background: linear-gradient(135deg, rgba(24, 215, 207, 0.24), rgba(35, 209, 139, 0.38));
  border-radius: var(--radius);
  font-weight: 900;
}

.service-card h3,
.regions-grid h3 {
  margin: 0 0 10px;
  color: var(--graphite);
  font-size: 1.12rem;
}

.service-card p,
.regions-grid p,
.faq-list p {
  margin: 0;
  color: #5d6977;
}

.card-cta,
.region-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 11px 14px;
  color: #03140f;
  background: rgba(35, 209, 139, 0.16);
  border: 1px solid rgba(35, 209, 139, 0.36);
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease;
}

.card-cta {
  margin-top: 22px;
}

.card-cta:hover,
.card-cta:focus-visible,
.region-cta:hover,
.region-cta:focus-visible {
  background: rgba(24, 215, 207, 0.22);
}

.about-section {
  color: var(--white);
  background: linear-gradient(135deg, var(--graphite), var(--navy));
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.65fr);
  gap: 48px;
  align-items: center;
}

.about-copy h2,
.about-copy p {
  color: var(--white);
}

.about-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.about-panel {
  display: grid;
  gap: 14px;
}

.about-panel div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.about-panel strong {
  color: var(--cyan);
  font-size: 2.2rem;
  line-height: 1;
}

.about-panel span {
  color: rgba(255, 255, 255, 0.8);
  text-align: right;
}

.regions-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.regions-grid article {
  display: flex;
  flex-direction: column;
  min-height: 188px;
  padding: 22px;
}

.region-cta {
  margin-top: 18px;
}

.seo-links-section {
  background: linear-gradient(180deg, #f5f7fa 0%, #ffffff 100%);
}

.seo-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.seo-links-grid a {
  min-height: 72px;
  display: flex;
  align-items: center;
  padding: 18px;
  color: var(--graphite);
  background: var(--white);
  border: 1px solid rgba(9, 23, 39, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(9, 23, 39, 0.08);
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease;
}

.seo-links-grid a:hover,
.seo-links-grid a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(24, 215, 207, 0.46);
}

.faq-section {
  background: var(--white);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.1fr);
  gap: 46px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0 18px;
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 0;
  color: var(--graphite);
  font-weight: 900;
}

.faq-list details[open] summary {
  color: var(--navy-2);
}

.faq-list p {
  padding-bottom: 20px;
}

.cta-section {
  padding: 72px 0;
  color: var(--white);
  background: linear-gradient(135deg, #081019, #0b2746 62%, #0f3d3c);
}

.cta-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-layout h2,
.cta-layout p {
  color: var(--white);
}

.cta-layout p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
}

.seo-hero {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 126px 0 68px;
  color: var(--white);
  background: var(--graphite);
}

.seo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 9, 14, 0.94) 0%, rgba(4, 9, 14, 0.68) 52%, rgba(4, 9, 14, 0.28) 100%),
    url("images/guincho-hero.jpg") center / cover no-repeat;
}

.seo-hero .container {
  position: relative;
  z-index: 1;
}

.seo-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 1.05;
}

.seo-hero p:not(.eyebrow) {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
}

.seo-content-section {
  padding: 78px 0;
}

.seo-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: start;
}

.content-panel,
.side-cta {
  border: 1px solid rgba(9, 23, 39, 0.08);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(9, 23, 39, 0.08);
}

.content-panel {
  padding: 34px;
}

.content-panel h2,
.content-panel h3 {
  margin: 0 0 12px;
  color: var(--graphite);
}

.content-panel p {
  margin: 0 0 18px;
  color: #4f5c6b;
}

.content-panel ul {
  margin: 0 0 22px;
  padding-left: 20px;
  color: #4f5c6b;
}

.side-cta {
  position: sticky;
  top: 96px;
  padding: 24px;
}

.side-cta h2 {
  margin: 0 0 10px;
  color: var(--graphite);
  font-size: 1.35rem;
  line-height: 1.15;
}

.side-cta p {
  margin: 0 0 18px;
  color: #5d6977;
}

.mini-faq {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.site-footer {
  padding: 46px 0 24px;
  color: rgba(255, 255, 255, 0.76);
  background: var(--graphite);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.footer-brand {
  margin-bottom: 14px;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 1rem;
}

.site-footer p {
  margin: 0 0 8px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--cyan);
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  width: 68px;
  height: 68px;
  overflow: hidden;
  background: #25d366;
  border-radius: 50%;
  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.25),
    0 0 20px rgba(37, 211, 102, 0.35);
  transition: transform 200ms ease;
  animation: whatsappPulse 3.4s ease-in-out infinite;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: scale(1.08);
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes whatsappPulse {
  0% {
    box-shadow:
      0 8px 25px rgba(0, 0, 0, 0.25),
      0 0 0 0 rgba(37, 211, 102, 0.32);
  }
  70% {
    box-shadow:
      0 8px 25px rgba(0, 0, 0, 0.25),
      0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow:
      0 8px 25px rgba(0, 0, 0, 0.25),
      0 0 0 0 rgba(37, 211, 102, 0);
  }
}

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

@media (max-width: 960px) {
  .cards-grid,
  .regions-grid,
  .seo-links-grid,
  .about-layout,
  .faq-layout,
  .footer-grid,
  .seo-content-grid {
    grid-template-columns: 1fr 1fr;
  }

  .regions-grid article {
    min-height: 150px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 74px;
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    background: rgba(6, 17, 31, 0.96);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-links:not(#main-menu) {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-links:not(#main-menu) a:not([data-whatsapp-link]) {
    display: none;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 13px;
  }

  .nav-whatsapp {
    text-align: center;
  }

  .hero {
    min-height: 84svh;
  }

  .seo-hero {
    min-height: 520px;
    padding: 110px 0 54px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(4, 9, 14, 0.86), rgba(4, 9, 14, 0.55)),
      linear-gradient(180deg, rgba(4, 9, 14, 0.2), rgba(4, 9, 14, 0.84));
  }

  .hero-content {
    padding-top: 94px;
    padding-bottom: 30px;
  }

  .hero-actions,
  .quick-contact-grid,
  .cta-layout {
    align-items: stretch;
    flex-direction: column;
  }

  .btn,
  .quick-link {
    width: 100%;
  }

  .section {
    padding: 68px 0;
  }

  .cards-grid,
  .regions-grid,
  .seo-links-grid,
  .about-layout,
  .faq-layout,
  .footer-grid,
  .seo-content-grid {
    grid-template-columns: 1fr;
  }

  .content-panel,
  .side-cta {
    padding: 22px;
  }

  .side-cta {
    position: static;
  }

  .about-panel div {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-panel span {
    text-align: left;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 68px;
    height: 68px;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 2.34rem;
  }

  .trust-row span {
    width: 100%;
  }

  .service-card,
  .regions-grid article {
    padding: 20px;
  }
}
