/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --yellow:    #f5c518;
  --yellow-d:  #d4a800;
  --dark:      #0f172a;
  --dark-2:    #1e293b;
  --gray-bg:   #f8fafc;
  --border:    rgba(15,23,42,.1);
  --text:      #1e293b;
  --text-lt:   #64748b;
  --white:     #ffffff;
  --green-wa:  #25D366;
  --radius:    10px;
  --shadow:    0 1px 4px rgba(15,23,42,.06), 0 4px 16px rgba(15,23,42,.06);
  --shadow-md: 0 8px 32px rgba(15,23,42,.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
}

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

/* ===== ACCESSIBILITY ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--yellow);
  color: var(--dark);
  padding: 8px 16px;
  font-weight: 700;
  border-radius: 0 0 8px 8px;
  z-index: 200;
  transition: top .15s;
}
.skip-link:focus { top: 0; }

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

/* ===== LAYOUT ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section        { padding: 80px 0; }
.section--gray  { background: var(--gray-bg); }
.section--dark  { background: var(--dark-2); color: var(--white); }

section[id] { scroll-margin-top: 70px; }

.section__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 32px;
  color: var(--dark);
}
.section__title--left::after  { margin-left: 0; }
.section__title--white        { color: var(--white); }
.section__title--white::after { background: var(--yellow); }

.section__subtitle {
  text-align: center;
  color: var(--text-lt);
  margin-bottom: 48px;
  font-size: 1.05rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .95rem;
  transition: transform .15s, box-shadow .15s, background .15s;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.btn:active { transform: translateY(0); }

.btn--primary       { background: var(--yellow); color: var(--dark); }
.btn--primary:hover { background: var(--yellow-d); box-shadow: 0 6px 20px rgba(245,197,24,.35); }

.btn--whatsapp       { background: var(--green-wa); color: var(--white); }
.btn--whatsapp:hover { opacity: .9; }

.btn--header { background: var(--yellow); color: var(--dark); padding: 10px 20px; font-size: .88rem; font-weight: 700; }

.btn--large { padding: 16px 32px; font-size: 1rem; width: 100%; justify-content: center; }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
  letter-spacing: -.01em;
}
.logo__icon { width: 26px; height: 26px; color: var(--yellow); flex-shrink: 0; }
.logo__text strong { color: var(--yellow); }

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav a {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  font-weight: 500;
  transition: color .15s;
  position: relative;
  padding-bottom: 2px;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width .2s;
  border-radius: 1px;
}
.nav a:hover { color: var(--white); }
.nav a:hover::after { width: 100%; }

/* ===== HAMBURGER ===== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--white);
  padding: 96px 0 88px;
}

.hero__inner { max-width: 680px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245,197,24,.12);
  border: 1px solid rgba(245,197,24,.35);
  color: var(--yellow);
  font-size: .83rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: .02em;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}
.highlight { color: var(--yellow); }

.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.72);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.hero__usta {
  display: inline-block;
  padding-left: 14px;
  border-left: 3px solid var(--yellow);
  line-height: 1.5;
}
.hero__usta strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}
.hero__usta span {
  display: block;
  font-size: .78rem;
  color: rgba(255,255,255,.48);
  text-transform: uppercase;
  letter-spacing: .07em;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  list-style: none;
  font-size: .87rem;
  color: rgba(255,255,255,.62);
}

/* ===== SERVICES ===== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--yellow);
}

.card__icon { font-size: 2.2rem; margin-bottom: 16px; }

.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}
.card p { color: var(--text-lt); font-size: .93rem; line-height: 1.6; }

/* ===== ABOUT ===== */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__text p {
  color: var(--text-lt);
  margin-bottom: 16px;
}
.about__text p.about__intro { margin-bottom: 12px; }
.about__text strong { color: var(--dark); }
.about__intro { font-size: 1.05rem; }

.about__name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  background: var(--yellow);
  padding: 2px 10px;
  border-radius: 4px;
  margin-right: 4px;
}

.about__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  font-weight: 600;
  color: var(--dark);
}

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

.stat {
  background: var(--gray-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  border-left: 4px solid var(--yellow);
  transition: box-shadow .2s;
}
.stat:hover { box-shadow: var(--shadow); }

.stat__number {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--dark);
}
.stat__label {
  font-size: .84rem;
  color: var(--text-lt);
  margin-top: 4px;
}

/* ===== GALLERY SLIDER ===== */
.slider {
  position: relative;
  user-select: none;
}

.slider__track-wrap {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--border);
  height: 460px;
}

.slider__track {
  display: flex;
  height: 100%;
  transition: transform .4s ease;
}

.slider__slide {
  min-width: 100%;
  height: 100%;
}

.slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, .45);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider__btn:hover { background: rgba(0, 0, 0, .7); }
.slider__btn--prev { left: 12px; }
.slider__btn--next { right: 12px; }

.slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s;
}
.slider__dot--active { background: var(--yellow); }

.slider__empty {
  text-align: center;
  color: var(--text-lt);
  padding: 40px 0;
}

/* ===== CONTACT ===== */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact__desc {
  color: rgba(255,255,255,.68);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact__icon { font-size: 1.35rem; flex-shrink: 0; margin-top: 2px; }
.contact__list strong {
  display: block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--yellow);
  margin-bottom: 3px;
}
.contact__list a { color: rgba(255,255,255,.85); }
.contact__list a:hover { color: var(--yellow); }

.contact__cta-box {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact__cta-box h3 { font-size: 1.35rem; font-weight: 800; color: var(--white); }
.contact__cta-box p  { color: rgba(255,255,255,.62); font-size: .93rem; }
.contact__cta-box p.contact__note { font-size: .8rem; color: rgba(255,255,255,.4); }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.45);
  padding: 28px 0;
  font-size: .85rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  align-items: center;
}
.footer a { color: rgba(255,255,255,.55); }
.footer a:hover { color: var(--yellow); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 12px 20px 20px;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
    font-size: 1rem;
  }
  .nav a:last-child { border-bottom: none; }
  .nav a::after { display: none; }

  .nav-toggle { display: flex; }
  .btn--header { margin-left: auto; }

  .hero { padding: 60px 0; }

  .about__inner,
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }

  .about__stats { grid-template-columns: 1fr 1fr; }

  .footer__inner { flex-direction: column; text-align: center; }

  .btn--large { font-size: .95rem; padding: 14px 24px; }
}

@media (max-width: 480px) {
  .hero__cta { flex-direction: column; }
  .about__stats { grid-template-columns: 1fr 1fr; }
  .services__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}
