:root {
  --teal: #12b8aa;
  --teal-dark: #007f75;
  --cyan: #21c6d8;
  --green: #22c55e;
  --purple: #8b2cf5;
  --ink: #061a33;
  --muted: #475569;
  --line: #dbe2ea;
  --bg: #f5f6f8;
  --white: #ffffff;
  --shadow: 0 12px 25px rgba(15, 23, 42, .12);
  --soft-shadow: 0 8px 20px rgba(15, 23, 42, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  background: var(--bg);
}

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

a {
  color: inherit;
}

.wrap {
  width: min(100% - 48px, 1280px);
  margin-inline: auto;
}

.narrow {
  width: min(100% - 48px, 920px);
}

.center {
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 22px rgba(15, 23, 42, .1);
  backdrop-filter: blur(12px);
}

.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  color: #008d82;
  font-size: 1.55rem;
  font-weight: 800;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  color: #14213d;
  font-size: .98rem;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--teal-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 1.25rem;
}

.hero {
  color: var(--white);
  background: linear-gradient(120deg, #16b69d 0%, #20c6d8 100%);
  min-height: 464px;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  align-items: center;
  gap: 72px;
  padding: 64px 0;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2.5rem, 5vw, 4.1rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0;
}

.hero p {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.btn {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--soft-shadow);
  cursor: pointer;
}

.btn-primary {
  color: var(--white);
  background: var(--purple);
}

.btn-secondary {
  color: #00665f;
  background: var(--white);
}

.btn-teal {
  color: var(--white);
  background: var(--teal);
}

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

.hero-photo {
  width: min(100%, 320px);
  aspect-ratio: 1;
  justify-self: center;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 24px 55px rgba(5, 80, 89, .35);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.section {
  padding: 88px 0;
}

.section h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 2px 2px 0 rgba(13, 148, 136, .22);
}

.section-heading {
  margin-bottom: 62px;
}

.section-heading p,
.about p,
.philosophy blockquote,
.gallery-block > p,
.reasons > .wrap > p {
  margin-inline: auto;
  max-width: 760px;
}

.about {
  background: #f4f5f7;
}

.badges {
  width: min(640px, 100%);
  margin: 48px auto 0;
  padding: 0;
  display: grid;
  gap: 22px;
  text-align: left;
  list-style: none;
}

.badges li {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1.04rem;
}

.badges span {
  width: 34px;
  text-align: center;
  font-size: 1.6rem;
}

.philosophy {
  background: var(--white);
  padding: 116px 0;
}

.philosophy blockquote {
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-style: italic;
}

.facilities {
  background: #f1f2f4;
}

.gallery-block + .gallery-block {
  margin-top: 82px;
}

.gallery-block h3 {
  margin: 0 0 6px;
  color: var(--teal-dark);
  font-size: 1.85rem;
}

.slider {
  position: relative;
  width: min(100%, 896px);
  margin: 46px auto 0;
}

.slides {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 22px 35px rgba(15, 23, 42, .16);
  background: #e2e8f0;
}

.slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.015);
  transition:
    opacity 900ms ease,
    transform 1200ms ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.crop-left {
  object-position: 34% center;
}

.crop-right {
  object-position: 76% center;
}

.crop-center {
  object-position: center;
}

.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  color: var(--teal-dark);
  font-size: 1.65rem;
  box-shadow: var(--soft-shadow);
  transform: translateY(-50%);
  cursor: pointer;
}

.slider-btn.prev {
  left: 18px;
}

.slider-btn.next {
  right: 18px;
}

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

.dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c6cdd5;
  cursor: pointer;
}

.dots button.active {
  background: var(--teal);
}

.reasons {
  background: var(--white);
  padding: 86px 0;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 54px;
}

.reason-card {
  min-height: 174px;
  padding: 24px 18px;
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.reason-card span,
.service-card > span {
  display: block;
  margin-bottom: 14px;
  font-size: 2.2rem;
}

.reason-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.35;
}

.reason-card p {
  margin: 0;
  font-size: .82rem;
  line-height: 1.35;
}

.tint-peach { background: #fff0ec; }
.tint-blue { background: #eaf8ff; }
.tint-lilac { background: #fbf0ff; }
.tint-mint { background: #effdf5; }
.tint-cream { background: #fff9df; }

.case-question {
  margin-top: 48px;
  font-size: 1.05rem;
}

.services,
.team {
  background: #f5f6f8;
}

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

.service-card {
  min-height: 368px;
  padding: 34px 32px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.service-card h3 {
  margin: 0 0 14px;
  font-size: 1.55rem;
  line-height: 1.25;
}

.service-card p {
  margin: 0 0 18px;
  color: #17233d;
}

.service-card ul {
  padding: 0;
  margin: 0;
  list-style: none;
  color: #1e293b;
  font-size: .94rem;
}

.service-card li::before {
  content: "✓ ";
}

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

.team-card {
  min-height: 385px;
  padding: 32px 28px;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--soft-shadow);
}

.team-a { background: #f5f2ff; color: #1741ef; }
.team-b { background: #edfff7; color: #00923f; }
.team-c { background: #fff8e8; color: #d56000; }
.team-d { background: #fff0f6; color: #c70054; }

.team-card h3 {
  margin: 24px 0 8px;
  color: #001225;
  font-size: 1.25rem;
}

.team-card p {
  margin: 0 0 16px;
  font-weight: 600;
}

.team-card strong {
  display: block;
  margin: 0 0 22px;
  font-size: .86rem;
}

.team-card a {
  font-weight: 700;
}

.avatar {
  width: 128px;
  height: 128px;
  margin: 0 auto;
  display: block;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: var(--soft-shadow);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-flor img {
  object-position: center 34%;
  transform: scale(1.48);
}

.avatar-franco img {
  object-position: center 31%;
  transform: scale(1.42);
}

.avatar-leiva img {
  object-position: center 30%;
  transform: scale(1.42);
}

.avatar-nucera img {
  object-position: center center;
  transform: scale(1.06);
}

.testimonials {
  background: var(--white);
}

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

.testimonial-grid article {
  min-height: 196px;
  padding: 28px 24px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.testimonial-grid article > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.stars {
  color: #f5b300;
}

.testimonial-grid small {
  color: var(--muted);
}

.testimonial-grid p {
  margin: 0 0 18px;
}

.faq {
  background: var(--white);
}

.accordion {
  display: grid;
  gap: 16px;
}

details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

summary {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 34px;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: var(--purple);
  font-size: 1.6rem;
  font-weight: 500;
}

details[open] summary::after {
  content: "−";
}

details p {
  margin: 0;
  padding: 0 34px 26px;
}

.faq-cta {
  margin-top: 48px;
}

.contact {
  background: #f2f3f5;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: 64px;
  align-items: start;
  width: min(100%, 1024px);
  margin-inline: auto;
}

.contact-info h3,
.contact-form h3 {
  margin: 0 0 22px;
  font-size: 1.55rem;
}

.contact-form-message {
  margin: 0 0 18px;
  padding: 13px 16px;
  border-radius: 6px;
  font-weight: 700;
  line-height: 1.45;
}

.contact-form-message.success {
  color: #064e3b;
  background: #d9fbe8;
  border: 1px solid #86efac;
}

.contact-form-message.error {
  color: #7f1d1d;
  background: #fee2e2;
  border: 1px solid #fecaca;
}

.info-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.info-row > span {
  font-size: 1.75rem;
}

.info-row p {
  margin: 8px 0;
}

.info-row b {
  color: var(--teal-dark);
}

.info-row a,
.instagram-link {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: none;
}

.mini-btn {
  width: fit-content;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--white) !important;
  background: var(--teal);
}

.social-line {
  display: grid;
  gap: 12px;
  margin: 44px 0 30px;
}

.instagram-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.instagram-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #b86cff, #ff3d9a);
  box-shadow: var(--soft-shadow);
  position: relative;
}

.instagram-icon::before {
  content: "";
  width: 20px;
  height: 16px;
  border: 2px solid var(--white);
  border-radius: 4px;
}

.instagram-icon::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 7px -5px 0 -3px var(--white);
}

.instagram-user {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 999px;
  color: #001225;
  background: #ffd8b0;
  font-weight: 800;
}

.payment {
  margin-top: 24px;
  padding: 26px;
  border: 2px solid #bd7cff;
  border-radius: 8px;
  text-align: center;
  background: #fcf7ff;
  box-shadow: var(--soft-shadow);
}

.payment h4 {
  margin: 0 0 16px;
  font-size: 1.15rem;
}

.contact-form {
  padding: 34px 32px;
  border-radius: 8px;
  background: #e9fffb;
  box-shadow: var(--soft-shadow);
}

.contact-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 14px 16px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
}

.contact-form textarea {
  resize: vertical;
}

.full {
  width: 100%;
  border-radius: 7px;
}

.footer {
  padding: 52px 0 34px;
  color: #d8e9f7;
  background: #1d2a3a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.5fr;
  gap: 64px;
}

.footer h3 {
  margin: 0 0 14px;
  color: var(--white);
}

.footer a {
  display: block;
  margin-bottom: 10px;
  color: #d8e9f7;
  text-decoration: none;
}

.copyright {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  text-align: center;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 60;
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 28px;
  border-radius: 999px;
  color: var(--white);
  background: var(--green);
  box-shadow: 0 16px 34px rgba(15, 23, 42, .18);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 1050px) {
  .reason-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 820px) {
  .wrap,
  .narrow {
    width: min(100% - 32px, 1280px);
  }

  .nav {
    height: 72px;
  }

  .brand {
    font-size: 1.18rem;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 18px;
    background: var(--white);
    box-shadow: 0 14px 22px rgba(15, 23, 42, .1);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 58px 0;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-photo {
    width: min(72vw, 300px);
  }

  .section {
    padding: 64px 0;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .reason-grid,
  .service-grid,
  .team-grid,
  .testimonial-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid,
  .footer-grid {
    gap: 34px;
  }

  .slides {
    aspect-ratio: 4 / 3;
  }

  .slider-btn {
    width: 44px;
    height: 44px;
  }

  .whatsapp-float {
    left: 16px;
    right: 16px;
    bottom: 16px;
    min-height: 56px;
  }

  .footer {
    padding-bottom: 96px;
  }
}

@media (max-width: 520px) {
  .hero-actions .btn,
  .btn {
    width: 100%;
  }

  .reason-grid {
    gap: 14px;
  }

  .service-card,
  .team-card,
  .contact-form {
    padding: 26px 22px;
  }

  summary {
    min-height: 74px;
    padding: 0 18px;
    font-size: 1rem;
  }

  details p {
    padding: 0 18px 22px;
  }
}
