:root {
  --rose: #e91e63;
  --rose-700: #bc164f;
  --rose-100: #fce4ec;
  --cream: #fff8f1;
  --gold: #f6bd3d;
  --cacao: #5d4037;
  --ink: #1f1a1d;
  --muted: #6f6068;
  --line: #f1d5df;
  --bg: #fff;
  --shadow: 0 18px 42px rgba(64, 30, 43, .12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

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

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

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(233, 30, 99, .12);
  backdrop-filter: blur(12px);
}

.nav {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand__logo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(233, 30, 99, .18);
}

.brand__title {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 23px;
  line-height: 1;
}

.brand__subtitle {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.menu a {
  border-radius: var(--radius);
  padding: 10px 12px;
  color: #4c3d44;
  font-weight: 700;
  font-size: 14px;
}

.menu a:hover {
  background: var(--rose-100);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 11px 16px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

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

.btn--large {
  min-height: 52px;
  padding-inline: 20px;
}

.btn--rose {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 14px 28px rgba(233, 30, 99, .26);
}

.btn--rose:hover {
  background: var(--rose-700);
}

.btn--light {
  background: #fff;
  color: var(--ink);
  border-color: rgba(255, 255, 255, .7);
}

.btn--outline {
  border-color: var(--line);
  background: #fff;
  color: var(--rose-700);
}

.btn--whatsapp {
  background: #22c55e;
  color: #fff;
  box-shadow: 0 12px 26px rgba(34, 197, 94, .22);
}

.hero {
  position: relative;
  min-height: calc(82svh - 78px);
  display: grid;
  align-items: center;
  background-image: url("assets/tarta-frutos-rojos-fondo.jpeg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(35, 17, 24, .86), rgba(35, 17, 24, .48) 48%, rgba(35, 17, 24, .12)),
    linear-gradient(0deg, rgba(35, 17, 24, .25), rgba(35, 17, 24, .1));
}

.hero__content {
  position: relative;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  max-width: 760px;
  padding: 78px 0;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--rose);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}

.hero .eyebrow {
  color: #ffd5e3;
}

.hero h1,
.section h2,
.cta-strip h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  line-height: 1.02;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(48px, 8vw, 92px);
}

.hero__lead {
  max-width: 640px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero__proof span {
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  backdrop-filter: blur(8px);
}

.trust-band {
  width: min(1160px, calc(100% - 32px));
  margin: -34px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.trust-band div {
  background: #fff;
  padding: 22px;
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band strong {
  font-size: 18px;
}

.trust-band span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 82px 0;
}

.section--tight {
  padding-top: 96px;
}

.section__intro {
  max-width: 760px;
  margin-bottom: 28px;
}

.section h2,
.cta-strip h2 {
  font-size: clamp(34px, 5vw, 54px);
}

.section__intro p:not(.eyebrow),
.story-section p,
.cta-strip p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

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

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

.service-card a {
  display: block;
  height: 100%;
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--cream);
}

.service-card div {
  padding: 20px;
}

.service-card h3,
.testimonial strong,
.contact-card h3 {
  margin: 0 0 8px;
}

.service-card p {
  min-height: 92px;
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.6;
}

.service-card strong {
  color: var(--cacao);
  font-size: 18px;
}

.local-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.local-links a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 14px;
  background: #fff;
  color: var(--rose-700);
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(64, 30, 43, .07);
}

.service-hero {
  position: relative;
  min-height: 540px;
  display: grid;
  align-items: end;
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}

.service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(35, 17, 24, .86), rgba(35, 17, 24, .42) 58%, rgba(35, 17, 24, .18)),
    linear-gradient(0deg, rgba(35, 17, 24, .42), rgba(35, 17, 24, .08));
}

.service-hero__content {
  position: relative;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0 72px;
  max-width: 780px;
}

.service-hero h1 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.04;
}

.service-hero p:not(.eyebrow) {
  max-width: 660px;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.breadcrumb {
  width: min(1160px, calc(100% - 32px));
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.breadcrumb a {
  color: var(--rose-700);
}

.content-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 34px;
  align-items: start;
}

.copy-block p,
.copy-block li,
.area-list li,
.faq-item p {
  color: var(--muted);
  line-height: 1.75;
}

.copy-block h2,
.copy-block h3,
.faq-item h3 {
  margin-top: 0;
}

.highlight-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--cream);
}

.highlight-panel ul,
.area-list {
  margin: 0;
  padding-left: 18px;
}

.service-photo {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--cream);
  box-shadow: var(--shadow);
}

.service-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

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

.related-services a,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.related-services strong,
.related-services span {
  display: block;
}

.related-services strong {
  margin-bottom: 8px;
  color: var(--rose-700);
}

.related-services span {
  color: var(--muted);
  line-height: 1.6;
}

.cta-strip {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-radius: var(--radius);
  padding: 34px;
  background: var(--cream);
  border: 1px solid #f3dfc5;
}

.cta-strip p {
  margin: 8px 0 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 14px;
}

.tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream);
}

.tile--large {
  grid-column: span 2;
  grid-row: span 2;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease;
}

.tile:hover img {
  transform: scale(1.04);
}

.tile-hit {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.tile figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(31, 26, 29, .72);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
}

.section--rose {
  width: 100%;
  max-width: none;
  padding: 82px max(16px, calc((100% - 1160px) / 2));
  background: linear-gradient(180deg, #fff, var(--rose-100));
}

.section--rose .section__intro {
  width: min(760px, 100%);
}

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

.testimonial {
  border: 1px solid rgba(233, 30, 99, .16);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 18px;
}

.testimonial p {
  color: #4c3d44;
  line-height: 1.7;
}

.story-section {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 42px;
  align-items: center;
}

.story-photo {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.story-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.contact-section {
  padding-top: 20px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 22px;
}

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

.contact-form {
  display: grid;
  gap: 16px;
}

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

label span {
  display: block;
  margin-bottom: 7px;
  color: #4c3d44;
  font-weight: 800;
  font-size: 13px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #eadde2;
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
}

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

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(233, 30, 99, .16);
  border-color: var(--rose);
}

.send {
  width: fit-content;
}

.policy {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.contact-card p,
.contact-card li {
  color: var(--muted);
  line-height: 1.7;
}

.contact-card hr {
  margin: 20px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.contact-card ul {
  margin: 0 0 20px;
  padding-left: 18px;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  box-shadow: 0 16px 34px rgba(34, 197, 94, .34);
  font-size: 30px;
}

.footer {
  background: #181416;
  color: #fff;
}

.footer-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 22px;
}

.footer h3,
.footer h4 {
  margin: 0 0 10px;
}

.footer p,
.copyright {
  color: rgba(255, 255, 255, .72);
}

.footer a {
  display: block;
  width: fit-content;
  margin: 7px 0;
  color: rgba(255, 255, 255, .86);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 14px 16px;
  text-align: center;
  font-size: 13px;
}

dialog::backdrop {
  background: rgba(20, 14, 18, .72);
}

@media (max-width: 980px) {
  .menu {
    display: none;
  }

  .service-grid,
  .testimonial-grid,
  .contact-layout,
  .story-section,
  .content-grid,
  .related-services,
  .faq-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .nav {
    min-height: 70px;
  }

  .brand__subtitle,
  .nav-cta {
    display: none;
  }

  .hero {
    min-height: calc(78svh - 70px);
    background-position: 62% center;
  }

  .hero__overlay {
    background: linear-gradient(90deg, rgba(35, 17, 24, .9), rgba(35, 17, 24, .5));
  }

  .hero__actions,
  .cta-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .btn,
  .cta-strip .btn,
  .send {
    width: 100%;
  }

  .trust-band,
  .row,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 310px;
  }

  .tile--large {
    grid-column: auto;
    grid-row: auto;
  }

  .section {
    padding: 64px 0;
  }

  .section--rose {
    padding: 64px 16px;
  }
}

@media (max-width: 430px) {
  .brand__title {
    font-size: 20px;
  }

  .brand__logo {
    width: 48px;
    height: 48px;
  }

  .hero__content {
    padding: 56px 0 72px;
  }

  .trust-band {
    margin-top: -22px;
  }
}
