:root {
  --navy: #0f2740;
  --navy-soft: #173b5a;
  --turquoise: #2ab7b0;
  --aqua: #7fe0d7;
  --sand: #f2e7d6;
  --beige: #fbf7ef;
  --white: #ffffff;
  --whatsapp: #25d366;
  --text: #163047;
  --muted: #66788a;
  --line: rgba(15, 39, 64, 0.1);
  --shadow: 0 24px 60px rgba(15, 39, 64, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(127, 224, 215, 0.2), transparent 30%),
    linear-gradient(180deg, #fefcf9 0%, #f7fbfc 40%, #fbf7ef 100%);
  overflow-x: hidden;
}

.site-shell {
  padding-top: 88px;
}

#services,
#about,
#contact {
  scroll-margin-top: 104px;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.narrow {
  max-width: 720px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(251, 247, 239, 0.8);
  border-bottom: 1px solid rgba(15, 39, 64, 0.06);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.4rem;
}

.brand small,
.section-heading p,
.service-card p,
.guide-copy p,
.testimonial-card p,
.contact-aside p,
.footer-inner p,
.page-hero p {
  color: var(--muted);
  line-height: 1.7;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.main-nav a,
.footer-nav a {
  position: relative;
  padding: 0.2rem 0;
  color: var(--navy);
  font-weight: 600;
}

.main-nav a::after,
.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  background: var(--turquoise);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.main-nav a:hover::after,
.main-nav a.is-active::after,
.footer-nav a:hover::after {
  transform: scaleX(1);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
}

.mobile-language-switcher {
  display: none;
}

.language-switcher button {
  border: 0;
  background: transparent;
  color: var(--navy);
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1;
}

.language-flag {
  display: block;
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
}

.language-switcher button.is-selected {
  background: var(--navy);
  color: var(--white);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 0;
  min-height: 52px;
  padding: 0.9rem 1.4rem;
  font-weight: 800;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-whatsapp {
  color: var(--white);
  background: linear-gradient(135deg, #1da851, var(--whatsapp));
  box-shadow: 0 16px 30px rgba(37, 211, 102, 0.22);
}

.button-secondary {
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
}

.full-width {
  width: 100%;
}

.hero-section {
  position: relative;
  min-height: 0;
  display: grid;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  min-height: 0;
  gap: 1.4rem;
  color: var(--white);
  padding-block: 3.5rem 2.5rem;
}

.page-hero h1,
.service-summary h1,
.empty-state h1 {
  font-family: "Libre Baskerville", serif;
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 12ch;
}

.hero-content p {
  max-width: 58ch;
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
}

.hero-content h1 {
  font-size: clamp(3rem, 7.5vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 12ch;
  font-weight: 800;
}

.hero-city {
  color: var(--aqua);
}

.page-hero .eyebrow,
.service-summary .eyebrow {
  color: var(--navy);
  background: rgba(42, 183, 176, 0.12);
}

.eyebrow {
  width: fit-content;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: inherit;
  backdrop-filter: blur(12px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.hero-actions,
.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.section {
  padding: 5.5rem 0;
}

.section-muted {
  background: rgba(255, 255, 255, 0.58);
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading h2,
.guide-copy h2,
.content-card h2,
.aside-card h2,
.contact-form h2,
.contact-aside h2 {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  margin: 0 0 0.8rem;
  color: var(--navy);
}

.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.text-link {
  color: var(--navy);
  font-weight: 800;
}

.category-grid,
.service-grid,
.steps-grid,
.testimonial-grid {
  display: grid;
  gap: 1.2rem;
}

.category-grid {
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
}

.category-card,
.card,
.step-card,
.testimonial-card,
.filters-panel,
.empty-state {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 39, 64, 0.06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.category-card,
.step-card,
.testimonial-card,
.empty-state {
  padding: 1.5rem;
}

.category-card .icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--turquoise);
  border-radius: 18px;
  background: rgba(42, 183, 176, 0.12);
  margin-bottom: 1rem;
}

.category-card .icon svg {
  width: 24px;
  fill: currentColor;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-card-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 320px;
}

.pill {
  display: inline-flex;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(42, 183, 176, 0.12);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 800;
}

.service-card h3,
.testimonial-card strong,
.guide-copy strong {
  font-size: 1.25rem;
  margin: 1rem 0 0.7rem;
  color: var(--navy);
}

.service-meta,
.detail-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.1rem 0 1.4rem;
}

.service-card .service-actions {
  margin-top: auto;
  flex-wrap: nowrap;
  gap: 0.5rem;
}

.service-card .button {
  min-height: 42px;
  padding: 0.65rem 0.8rem;
  font-size: 0.78rem;
  white-space: nowrap;
}

.service-meta span,
.detail-list span {
  color: var(--muted);
  font-size: 0.94rem;
}

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

.step-card span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--turquoise));
  color: var(--white);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-guide {
  background:
    radial-gradient(circle at top right, rgba(42, 183, 176, 0.16), transparent 28%),
    transparent;
}

.guide-preview,
.about-grid,
.contact-layout,
.detail-content-grid,
.service-detail-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.guide-image-wrap img,
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
  min-height: 520px;
}

.guide-copy {
  padding: 1rem 0.4rem;
}

.guide-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.guide-facts div {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
}

.guide-facts strong {
  display: block;
  font-size: 1.2rem;
}

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

.testimonial-card .stars {
  color: #f5b301;
  letter-spacing: 0.2rem;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.2rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: var(--white);
  box-shadow: var(--shadow);
}

.final-cta p {
  color: rgba(255, 255, 255, 0.82);
}

.page-hero,
.service-detail-hero {
  padding: 4.5rem 0 2rem;
}

.page-hero-services {
  padding-bottom: 1rem;
}

.page-hero h1,
.page-hero p {
  max-width: 62ch;
}

.page-hero h1 {
  max-width: 16ch;
}

.filters-panel {
  padding: 1.2rem;
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.search-field,
.filter-group,
.contact-form label {
  display: grid;
  gap: 0.55rem;
}

.search-field span,
.filter-group span,
.contact-form span {
  color: var(--navy);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(15, 39, 64, 0.12);
  background: #fff;
  min-height: 52px;
  padding: 0.95rem 1rem;
  color: var(--text);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.filter-chips button {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 0.8rem 1rem;
  font-weight: 700;
  color: var(--navy);
}

.filter-chips button.is-selected {
  background: var(--navy);
  color: var(--white);
}

.service-gallery,
.service-summary,
.content-card,
.aside-card,
.contact-form,
.contact-aside,
.about-photo,
.about-content {
  padding: 1.3rem;
}

.service-gallery {
  background: transparent;
  padding: 0;
}

.gallery-main {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.gallery-grid img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.detail-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(15, 39, 64, 0.08);
}

.detail-list strong {
  text-align: right;
}

.content-card ul,
.about-content ul {
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.7;
}

.content-group + .content-group {
  margin-top: 1.6rem;
}

.contact-stack {
  display: grid;
  gap: 0.9rem;
}

.aside-card .button + .button {
  margin-top: 0.8rem;
}

.contact-stack a {
  color: var(--navy);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.quick-inquiry {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.quick-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.quick-fields label {
  display: grid;
  gap: 0.55rem;
}

.field-error {
  color: #c54141;
  font-size: 0.82rem;
}

.field-error:empty {
  display: none;
}

.site-footer {
  padding: 2rem 0 6rem;
}

.footer-inner {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(15, 39, 64, 0.08);
}

.footer-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  width: 58px;
  padding: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #1da851, var(--whatsapp));
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 16px 30px rgba(37, 211, 102, 0.28);
}

.whatsapp-icon {
  width: 29px;
  height: 29px;
}

.card-whatsapp-icon {
  width: 17px;
  height: 17px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.8rem;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
}

.menu-toggle span + span {
  margin-top: 0.3rem;
}

@media (max-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-preview,
  .about-grid,
  .detail-content-grid,
  .service-detail-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  .header-inner {
    justify-content: flex-start;
    gap: 0.5rem;
  }

  .mobile-language-switcher {
    margin-left: auto;
    margin-right: 0.15rem;
  }

  .menu-toggle {
    display: grid;
    align-content: center;
  }

  .header-actions {
    position: absolute;
    top: calc(100% + 0.7rem);
    left: 1rem;
    right: 1rem;
    display: none;
    padding: 1rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(15, 39, 64, 0.08);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }

  .language-switcher {
    justify-content: center;
  }

  .mobile-language-switcher {
    display: inline-flex;
  }

  .header-actions.is-open {
    display: flex;
  }

  .main-nav,
  .footer-inner,
  .split,
  .final-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .header-whatsapp {
    width: 100%;
  }

  .hero-content {
    padding-top: 7rem;
  }
}

@media (max-width: 640px) {
  .hero-section,
  .hero-content {
    min-height: 0;
  }

  .hero-content {
    padding-block: 3rem 1.5rem;
    gap: 0.9rem;
  }

  .hero-content .hero-actions .button-whatsapp {
    display: none;
  }

  .filters-panel {
    overflow: hidden;
    padding: 0.75rem;
  }

  .filter-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    padding-bottom: 0.15rem;
  }

  .filter-chips::-webkit-scrollbar {
    display: none;
  }

  .filter-chips button {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0.5rem 0.65rem;
    font-size: 0.78rem;
  }

  .section {
    padding: 2rem 0;
  }

  .section-heading {
    margin-bottom: 0.8rem;
  }

  .container {
    width: min(calc(100% - 1.2rem), var(--container));
  }

  .hero-content h1,
  .page-hero h1,
  .service-summary h1,
  .empty-state h1 {
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .guide-image-wrap img,
  .about-photo img {
    min-height: 340px;
  }

  .guide-facts strong {
    font-size: 0.82rem;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }

  .category-grid,
  .service-grid,
  .guide-facts,
  .testimonial-grid,
  .steps-grid,
  .quick-fields {
    grid-template-columns: 1fr;
  }

  .service-grid {
    gap: 0.8rem;
  }

  .service-card {
    display: grid;
    grid-template-columns: minmax(112px, 36%) minmax(0, 1fr);
    align-items: stretch;
    height: auto;
  }

  .service-card img {
    width: 100%;
    height: 132px;
    min-height: 132px;
    align-self: stretch;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .service-card-body {
    min-height: 0;
    padding: 0.85rem 0.9rem;
  }

  .service-card .pill,
  .service-card .service-meta {
    display: none;
  }

  .service-card h3 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
  }

  .service-card p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin: 0 0 0.6rem;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .service-card .service-actions {
    gap: 0;
    margin-top: 0;
  }

  .service-card .service-actions .button-secondary {
    width: auto;
    min-height: 36px;
    padding: 0.45rem 0.85rem;
    font-size: 0.78rem;
  }

  .hero-actions .button,
  .service-actions .button {
    width: 100%;
  }

  .service-card .service-actions {
    gap: 0.35rem;
    flex-wrap: nowrap;
  }

  .service-card .service-actions .button {
    width: auto;
    min-height: 34px;
    padding: 0.45rem 0.62rem;
    font-size: 0.7rem;
  }

  .service-card-body,
  .service-summary,
  .content-card,
  .aside-card,
  .contact-form,
  .contact-aside,
  .about-content {
    padding: 1rem;
  }

  .floating-whatsapp {
    left: auto;
    right: 1rem;
    bottom: 0.9rem;
    width: 58px;
  }
}
