:root {
  --bg: #fffaf4;
  --surface: #ffffff;
  --surface-alt: #fff2dd;
  --surface-cream: #fff7eb;
  --text: #1f2937;
  --muted: #64748b;
  --muted-strong: #475569;
  --brand: #ff8a3d;
  --brand-strong: #ef6c1f;
  --accent: #1e9a8a;
  --accent-soft: #daf4ef;
  --line: #f1dec7;
  --line-strong: #e8d3bb;
  --star: #f5b301;
  --shadow: 0 18px 40px rgba(25, 35, 53, 0.12);
  --shadow-soft: 0 8px 22px rgba(25, 35, 53, 0.08);
  --shadow-lift: 0 14px 30px rgba(22, 32, 48, 0.14);
  --focus-ring: 0 0 0 3px rgba(30, 154, 138, 0.2);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Nunito", sans-serif;
  font-size: 16px;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 8%, #ffe7c7 0%, rgba(255, 231, 199, 0) 34%),
    radial-gradient(circle at 90% 14%, #d9f3ee 0%, rgba(217, 243, 238, 0) 30%),
    radial-gradient(circle at 40% 100%, #fff3de 0%, rgba(255, 243, 222, 0) 40%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 35%),
    var(--bg);
  line-height: 1.65;
}

.home-page .hero {
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.72) 0%, rgba(255, 250, 244, 0.64) 45%, rgba(255, 250, 244, 0.86) 100%),
    radial-gradient(circle at 12% 10%, rgba(255, 226, 185, 0.3) 0%, rgba(255, 226, 185, 0) 35%),
    radial-gradient(circle at 88% 20%, rgba(212, 245, 239, 0.22) 0%, rgba(212, 245, 239, 0) 30%),
    url("assets/amduma-buildings-6978345.jpg") center 24% / cover no-repeat;
  border-bottom: 1px solid var(--line-strong);
}

.home-page .hero-grid > div {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(232, 211, 187, 0.85);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 28px rgba(22, 32, 48, 0.12);
  padding: 1.1rem;
}

.home-page .hero h1 {
  color: #142332;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}

.home-page .hero p {
  color: #334155;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease, text-decoration-color .2s ease;
}

a:hover {
  color: var(--brand-strong);
}

a:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

img {
  width: 100%;
  display: block;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section { padding: 3.9rem 0; }

.section-title {
  font-family: "Quicksand", sans-serif;
  font-size: clamp(1.4rem, 1rem + 1.8vw, 2rem);
  letter-spacing: -0.015em;
  margin: 0 0 .5rem;
}

.home-page h2 {
  color: #172534;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

.home-page .section-title {
  display: inline-block;
  padding: .2rem .55rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 4px 14px rgba(17, 24, 39, 0.08);
}

.section-subtitle {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.7;
}

.section-subtitle strong {
  color: var(--muted-strong);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(255, 252, 248, 0.86);
  border-bottom: 1px solid var(--line-strong);
  box-shadow: 0 8px 20px rgba(31, 41, 55, 0.07);
}

.topbar-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  font-family: "Quicksand", sans-serif;
  font-weight: 800;
  font-size: 1.18rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: contain;
  flex: 0 0 auto;
}

.logo span {
  line-height: 1;
}

.nav {
  display: flex;
  gap: 1rem;
  color: var(--muted);
  font-weight: 700;
  font-size: .95rem;
  flex-wrap: wrap;
}

.nav a {
  color: #475569;
  padding: .4rem .7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all .2s ease;
}

.nav a:hover {
  background: #eef8f5;
  border-color: #cdebe3;
  color: #0f766e;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: .015em;
  line-height: 1.1;
  text-decoration: none;
  padding: .72rem 1rem;
  border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(31, 41, 55, .12);
}

.btn-primary {
  background: linear-gradient(135deg, #ff6b2c, #ff2d55);
  color: #fff;
  border: 1px solid rgba(186, 30, 72, 0.24);
  box-shadow: 0 10px 20px rgba(255, 45, 85, 0.3);
}

.btn-secondary {
  background: #fff1c9;
  border: 1px solid #f6c453;
  color: #7a3a00;
}

.hero {
  padding: 4.4rem 0 2.8rem;
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
  align-items: end;
  grid-template-columns: 1.2fr .8fr;
}

.hero h1 {
  font-family: "Quicksand", sans-serif;
  font-size: clamp(2rem, 1.4rem + 2.8vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 .8rem;
  max-width: 18ch;
}

.hero p {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
  font-size: 1.02rem;
}

.hero-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: riseIn .6s ease both;
}

.hero-figure img {
  transform: scale(1.03);
}

.search-panel {
  margin-top: 1.5rem;
  background: linear-gradient(180deg, #ffffff, #fff9ef);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 34px rgba(25, 35, 53, 0.09);
  padding: 1.1rem;
  display: grid;
  gap: .8rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.field {
  display: grid;
  gap: .3rem;
  min-width: 0;
}

.field label {
  font-size: .8rem;
  color: var(--muted);
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: .65rem .75rem;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  outline: 2px solid rgba(30, 154, 138, 0.2);
  outline-offset: 1px;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.card-body { padding: 1.1rem; }

.card h3 {
  margin-top: 0;
  margin-bottom: .38rem;
  letter-spacing: -0.01em;
}

.tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: #fff3e8;
  color: var(--brand-strong);
  margin: .2rem .2rem 0 0;
}

.stars { color: var(--star); font-weight: 700; }

.mini {
  font-size: .9rem;
  color: var(--muted);
  margin: .3rem 0;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.feature {
  background: linear-gradient(180deg, var(--surface-cream), #fff8ee);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 1rem;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.feature::after {
  content: "";
  position: absolute;
  top: -18px;
  right: -18px;
  width: 68px;
  height: 68px;
  border-radius: 20px;
  opacity: .22;
  pointer-events: none;
}

.feature-doodle {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  border: 1px solid rgba(31, 41, 55, 0.12);
  display: inline-block;
  margin-bottom: .55rem;
  position: relative;
  box-shadow: 0 8px 16px rgba(31, 41, 55, 0.12);
}

.feature-doodle::before,
.feature-doodle::after {
  content: "";
  position: absolute;
}

.feature-local .feature-doodle {
  background: linear-gradient(140deg, #ffe7cb, #ffd2a5);
}

.feature-local .feature-doodle::before {
  width: 14px;
  height: 14px;
  border: 3px solid #d97706;
  border-radius: 999px;
  top: 8px;
  left: 12px;
}

.feature-local .feature-doodle::after {
  width: 4px;
  height: 12px;
  background: #d97706;
  border-radius: 999px;
  top: 23px;
  left: 18px;
}

.feature-local::after {
  background: linear-gradient(145deg, #ffd8ac, #ffbe78);
}

.feature-servicios .feature-doodle {
  background: linear-gradient(140deg, #d7f4ef, #bdeade);
}

.feature-servicios .feature-doodle::before {
  width: 22px;
  height: 4px;
  background: #0f766e;
  border-radius: 999px;
  transform: rotate(45deg);
  top: 20px;
  left: 11px;
}

.feature-servicios .feature-doodle::after {
  width: 22px;
  height: 4px;
  background: #0f766e;
  border-radius: 999px;
  transform: rotate(-45deg);
  top: 20px;
  left: 11px;
}

.feature-servicios::after {
  background: linear-gradient(145deg, #c8f0e6, #9ddfce);
}

.feature-resenas .feature-doodle {
  background: linear-gradient(140deg, #fff1c7, #ffe4a3);
}

.feature-resenas .feature-doodle::before {
  width: 20px;
  height: 20px;
  background: #d4a106;
  clip-path: polygon(50% 0%, 61% 36%, 98% 36%, 68% 57%, 79% 92%, 50% 71%, 21% 92%, 32% 57%, 2% 36%, 39% 36%);
  top: 11px;
  left: 12px;
}

.feature-resenas::after {
  background: linear-gradient(145deg, #ffe9af, #ffd773);
}

.feature-reserva .feature-doodle {
  background: linear-gradient(140deg, #ffe4dd, #ffc7ba);
}

.feature-reserva .feature-doodle::before {
  width: 16px;
  height: 24px;
  border: 3px solid #be3a24;
  border-radius: 5px;
  top: 7px;
  left: 12px;
}

.feature-reserva .feature-doodle::after {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #be3a24;
  top: 27px;
  left: 18px;
}

.feature-reserva::after {
  background: linear-gradient(145deg, #ffd0c6, #ffac99);
}

.seo-copy {
  padding-top: 2.2rem;
}

.seo-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.seo-columns h3 {
  margin: 0 0 .5rem;
  font-family: "Quicksand", sans-serif;
}

.intent-links {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: .65rem;
}

.intent-link {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .46rem .78rem;
  font-size: .88rem;
  font-weight: 700;
  color: var(--text);
}

.intent-link:hover {
  background: #fff4e8;
  color: var(--brand-strong);
}

.faq-list {
  display: grid;
  gap: .7rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #ffffff, #fffaf3);
  padding: .85rem 1rem;
  box-shadow: 0 6px 14px rgba(31, 41, 55, 0.04);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--brand-strong);
  font-weight: 800;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: .65rem 0 0;
}

.directory-tools {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: .8rem;
  margin-bottom: 1rem;
  align-items: end;
}

.directory-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.results-count {
  font-size: .95rem;
  color: var(--muted);
  font-weight: 700;
}

.filter-actions {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

.filter-actions .btn {
  white-space: nowrap;
}

.more-actions {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.directory-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1rem;
  padding: 1rem;
  border-top: 1px dashed var(--line);
  transition: background-color .2s ease;
}

.directory-item:first-child { border-top: 0; }

.directory-item:hover {
  background: #fff8ec;
  box-shadow: inset 0 0 0 1px #f2ddc4;
}

.map-frame {
  width: 100%;
  height: 180px;
  border: 0;
  border-radius: var(--radius-sm);
}

.details {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: .5rem;
}

.actions {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin-top: .85rem;
}

.actions .btn {
  padding: .62rem .9rem;
  font-size: .92rem;
}

.inline-list {
  display: grid;
  gap: .45rem;
  margin-top: .7rem;
}

.empty-state {
  padding: 1.2rem;
  text-align: center;
  color: var(--muted);
}

.gallery-thumb {
  aspect-ratio: 1 / 1;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .94rem;
  background: #fff;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.pricing-table th,
.pricing-table td {
  border-bottom: 1px solid var(--line);
  padding: .65rem .7rem;
  text-align: left;
}

.pricing-table th {
  background: #fff3e8;
  font-family: "Quicksand", sans-serif;
}

.review {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .8rem;
  background: linear-gradient(180deg, #ffffff, #fffcf7);
}

.cta-band {
  background: linear-gradient(120deg, #ffb265, #ff8a3d 40%, #1e9a8a 120%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.blog-card img { aspect-ratio: 16 / 10; }

.blog-card {
  background: linear-gradient(180deg, #ffffff 0%, #fffdf9 100%);
}

.blog-card .card-body {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.blog-read-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: auto;
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.mono-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
}

.social-links {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

.social-links a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .45rem .8rem;
  font-size: .88rem;
  font-weight: 700;
}

.form-disclaimer {
  margin: .75rem 0 0;
  font-size: .9rem;
  color: var(--muted);
}

.form-disclaimer a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-links {
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
  margin-top: .45rem;
}

.legal-links a {
  color: #475569;
  font-weight: 700;
}

.legal-links a:hover {
  color: var(--brand-strong);
}

footer {
  margin-top: 3rem;
  padding: 1.5rem 0 2.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .93rem;
}

::selection {
  background: #ffd7b2;
  color: #1f2937;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .home-page .hero {
    background:
      linear-gradient(180deg, rgba(255, 250, 244, 0.76) 0%, rgba(255, 250, 244, 0.7) 50%, rgba(255, 250, 244, 0.9) 100%),
      radial-gradient(circle at 12% 10%, rgba(255, 226, 185, 0.26) 0%, rgba(255, 226, 185, 0) 35%),
      radial-gradient(circle at 88% 20%, rgba(212, 245, 239, 0.2) 0%, rgba(212, 245, 239, 0) 30%),
      url("assets/amduma-buildings-6978345.jpg") center 30% / cover no-repeat;
  }

  .home-page .hero-grid > div {
    padding: .95rem;
    background: rgba(255, 255, 255, 0.76);
  }

  .hero-grid,
  .mono-grid,
  .grid-3,
  .grid-2,
  .seo-columns,
  .feature-list,
  .search-panel,
  .directory-tools {
    grid-template-columns: 1fr 1fr;
  }

  .directory-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-grid,
  .search-panel,
  .feature-list,
  .directory-tools,
  .grid-3,
  .grid-2,
  .seo-columns,
  .mono-grid,
  .topbar-inner {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    display: grid;
    padding: .7rem 0;
  }

  .directory-toolbar,
  .filter-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-actions .btn {
    width: 100%;
  }
}
