:root {
  --bg: #f5f1ea;
  --surface: #fffdf9;
  --surface-dark: #103031;
  --text: #162122;
  --text-soft: #5f6b6b;
  --text-light: #f7f4ee;
  --accent: #d9782b;
  --accent-strong: #bf6320;
  --whatsapp: #25d366;
  --line: rgba(22, 33, 34, 0.08);
  --shadow: 0 24px 60px rgba(16, 48, 49, 0.12);
  --radius: 28px;
  --container: min(1180px, calc(100vw - 40px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f8f4ec 0%, #f5f1ea 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

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

h1,
h2,
h3 {
  margin: 0 0 1rem;
  line-height: 1.08;
}

h1,
h2 {
  font-family: "DM Serif Display", serif;
  letter-spacing: -0.03em;
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

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

.topbar {
  background: #0f292a;
  color: rgba(247, 244, 238, 0.86);
  font-size: 0.92rem;
}

.topbar__inner,
.header-main,
.footer-grid,
.footer-bottom,
.process-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar__inner {
  min-height: 48px;
}

.topbar__service {
  margin: 0;
}

.topbar__contact {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar__phone {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-main {
  min-height: 90px;
}

.branding {
  display: flex;
  align-items: center;
}

.branding__logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  min-height: 72px;
  padding: 10px 16px;
  border-radius: 20px;
  background: #102f30;
}

.branding__logo img {
  height: 56px;
  width: auto;
  display: block;
}

.primary-nav .menu {
  display: flex;
  list-style: none;
  gap: 22px;
  white-space: nowrap;
}

.primary-nav a {
  font-weight: 700;
  font-size: 0.98rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.button--whatsapp {
  background: var(--whatsapp);
  border-color: var(--whatsapp);
}

.button--whatsapp:hover,
.button--whatsapp:focus-visible {
  background: #1fba57;
  border-color: #1fba57;
}

.header-cta {
  gap: 8px;
}

.header-cta__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.button--ghost-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--text-light);
  box-shadow: none;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.hero {
  position: relative;
}

.hero-slider,
.hero-slide,
.hero-slider__track {
  min-height: calc(100vh - 138px);
}

.hero-slider {
  position: relative;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

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

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 24, 25, 0.82) 0%, rgba(11, 24, 25, 0.48) 36%, rgba(11, 24, 25, 0.18) 68%, rgba(11, 24, 25, 0.38) 100%),
    linear-gradient(180deg, rgba(16, 42, 43, 0.08), rgba(16, 42, 43, 0.32));
}

.hero-slide__badge {
  position: absolute;
  left: 20px;
  top: 20px;
  z-index: 2;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--text-light);
  backdrop-filter: blur(12px);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero-overlay__inner {
  min-height: calc(100vh - 138px);
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 540px;
  color: var(--text-light);
}

.hero-copy h1 {
  font-size: clamp(1.9rem, 4vw, 3.6rem);
  margin-bottom: 18px;
}

.hero__lead {
  max-width: 520px;
  font-size: 0.98rem;
  color: rgba(247, 244, 238, 0.88);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.eyebrow--hero,
.hero__note {
  color: rgba(247, 244, 238, 0.82);
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 24px 0 16px;
}

.hero__note {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-slider__controls {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-slider__arrow,
.hero-slider__dot {
  border: 0;
  cursor: pointer;
}

.hero-slider__arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: var(--text-light);
}

.hero-slider__dots {
  display: flex;
  gap: 8px;
}

.hero-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
}

.hero-slider__dot.is-active {
  background: var(--accent);
}

.page-breadcrumb {
  padding: 28px 0 18px;
  border-bottom: 1px solid var(--line);
  background: #f8f4ec;
}

.page-breadcrumb__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4f5a5a;
  font-size: 1rem;
  font-weight: 700;
}

.page-breadcrumb__inner strong {
  color: var(--text);
}

.section {
  padding: 88px 0;
}

.section--light {
  background: rgba(255, 255, 255, 0.52);
}

.section--dark {
  background: linear-gradient(135deg, #112728, #183738);
  color: var(--text-light);
}

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

.section-heading h2,
.about-copy h2,
.footer-grid h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.content-split--about {
  align-items: stretch;
}

.content-split--about-page {
  align-items: stretch;
}

.content-split__media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.content-split__media--tall img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

.content-split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.about-copy p {
  color: var(--text-soft);
}

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-copy--long p {
  margin-bottom: 0.95rem;
}

.about-panels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.about-panel {
  padding: 26px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.about-panel h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.about-contact {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 28px;
}

.about-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-detail-card {
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.service-detail-card h3 {
  margin-bottom: 10px;
}

.service-detail-card p {
  margin-bottom: 12px;
  color: var(--text-soft);
}

.service-detail-card__list {
  list-style: none;
  display: grid;
  gap: 8px;
}

.service-detail-card__list li {
  position: relative;
  padding-left: 18px;
}

.service-detail-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.check-list {
  list-style: none;
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.check-list li {
  position: relative;
  padding-left: 20px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--whatsapp);
}

.service-grid,
.editorial-grid,
.faq-list {
  display: grid;
  gap: 20px;
}

.service-grid--cards {
  grid-template-columns: repeat(3, 1fr);
}

.service-card,
.editorial-card,
.faq-item {
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.service-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.service-card__body {
  padding: 24px;
}

.service-card__body p,
.editorial-card p,
.faq-answer {
  color: var(--text-soft);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-weight: 800;
  color: var(--accent-strong);
}

.editorial-grid {
  grid-template-columns: repeat(3, 1fr);
}

.editorial-card {
  padding: 28px;
}

.steps-list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.steps-list li {
  position: relative;
  padding: 22px 22px 22px 76px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.steps-list li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 20px;
  top: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

.steps-list {
  counter-reset: step;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  font-weight: 800;
  color: var(--text);
  cursor: pointer;
}

.faq-plus {
  font-size: 1.5rem;
  color: var(--accent);
}

.faq-answer {
  padding: 0 28px 24px;
}

.site-footer {
  padding: 72px 0 30px;
  background: #102728;
  color: rgba(247, 244, 238, 0.84);
}

.site-footer h2,
.site-footer h3 {
  color: var(--text-light);
}

.footer-grid {
  align-items: start;
}

.footer-grid > * {
  flex: 1;
}

.footer-list {
  list-style: none;
}

.footer-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 12px;
}

.footer-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.footer-bottom {
  padding-top: 24px;
  margin-top: 28px;
  border-top: 1px solid rgba(247, 244, 238, 0.14);
  font-size: 0.95rem;
}

.floating-actions {
  position: fixed;
  right: 18px;
  top: 50%;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateY(-50%);
}

.floating-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 58px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 18px 38px rgba(16, 42, 43, 0.22);
}

.floating-action--whatsapp {
  background: var(--whatsapp);
}

.floating-action--phone {
  background: #102a2b;
}

.floating-action__icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
}

.floating-action__icon svg {
  width: 100%;
  height: 100%;
}

.floating-action__text {
  margin-left: 10px;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .service-grid--cards,
  .editorial-grid,
  .about-panels,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-split,
  .process-grid,
  .about-contact,
  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 820px) {
  .topbar {
    display: none;
  }

  .header-main {
    min-height: 82px;
  }

  .branding__logo img {
    height: 48px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .primary-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    display: none;
    padding: 16px;
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav .menu {
    flex-direction: column;
    gap: 14px;
    white-space: normal;
  }

  .hero-slider,
  .hero-slide,
  .hero-slider__track,
  .hero-overlay__inner {
    min-height: 74vh;
  }

  .hero-copy h1 {
    font-size: 2.2rem;
  }

  .content-split,
  .service-grid--cards,
  .editorial-grid,
  .about-panels,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .floating-actions {
    right: 14px;
    bottom: 18px;
    top: auto;
    transform: none;
  }

  .floating-action {
    width: 56px;
    min-width: 56px;
    height: 56px;
    min-height: 56px;
    padding: 0;
    border-radius: 50%;
  }

  .floating-action__text {
    display: none;
  }
}
