:root {
  --sage: #cfded2;
  --powder: #d5e2ee;
  --beige: #efe4d8;
  --blush: #f2e4e7;
  --offwhite: #fbf9f4;
  --text: #5b6570;
  --text-strong: #3f4a54;
  --card-radius: 26px;
  --shadow: 0 16px 40px rgba(63, 74, 84, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at 20% 20%, #f9f7f0 0%, var(--offwhite) 55%, #f4f6f7 100%);
  color: var(--text);
  font-family: "Manrope", "Avenir Next", sans-serif;
}

body {
  min-height: 100vh;
}

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

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

.site-shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.25rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  margin-bottom: 1rem;
  border-radius: 18px;
  backdrop-filter: blur(10px);
  background: rgba(251, 249, 244, 0.78);
  border: 1px solid rgba(91, 101, 112, 0.12);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
}

.mobile-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(91, 101, 112, 0.2);
  background: rgba(255, 255, 255, 0.82);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-strong);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  color: var(--text-strong);
  letter-spacing: 0.02em;
}

.brand span {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nav-side {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-links a {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--powder);
  transform: translateY(-1px);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  border-radius: 999px;
  border: 1px solid rgba(91, 101, 112, 0.2);
  background: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.lang-switch a {
  padding: 0.32rem 0.55rem;
  border-radius: 999px;
}

.lang-switch a.is-active {
  background: #8ea89a;
  color: #fff;
}

.mobile-lang-switch {
  display: none;
}

.page-title {
  margin: 1rem 0 0.5rem;
  padding: 0.5rem;
}

.page-title h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--text-strong);
  line-height: 1.06;
}

.page-title p {
  margin: 0.6rem 0 0;
  max-width: 70ch;
  font-size: 1.04rem;
}

.puzzle-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(80px, auto);
  grid-auto-flow: row dense;
  gap: 0.9rem;
}

.card {
  position: relative;
  padding: 1.25rem;
  border-radius: var(--card-radius);
  border: 1px solid rgba(91, 101, 112, 0.12);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent 55%);
  pointer-events: none;
}

.card h2,
.card h3 {
  margin: 0 0 0.6rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--text-strong);
}

.card p {
  margin: 0;
  line-height: 1.6;
}

.hero {
  grid-column: span 7;
  grid-row: span 4;
  background: linear-gradient(145deg, var(--sage), #deebe2);
  display: grid;
  align-content: space-between;
  gap: 1rem;
}

.hero h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
}

.hero small {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .cta-wrap {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(63, 74, 84, 0.15);
}

.btn-primary {
  background: #8ea89a;
  color: #fff;
}

.btn-soft {
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(63, 74, 84, 0.15);
}

.photo-block {
  grid-column: span 5;
  grid-row: span 4;
  background: linear-gradient(145deg, var(--powder), #e4eef6);
  display: grid;
  place-items: center;
}

.portrait-placeholder {
  width: min(100%, 340px);
  aspect-ratio: 1/1;
  border-radius: 28px;
  background: linear-gradient(145deg, #f4f6f8, #d7e3ee);
  border: 1px solid rgba(91, 101, 112, 0.16);
  display: grid;
  place-items: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.4rem;
  color: #55616d;
}

.portrait-frame {
  margin: 0;
  width: min(100%, 360px);
}

.portrait-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid rgba(91, 101, 112, 0.16);
}

.portrait-frame figcaption {
  margin-top: 0.55rem;
  text-align: center;
  font-size: 0.9rem;
}

.about {
  grid-column: span 4;
  grid-row: span 2;
  background: linear-gradient(145deg, var(--beige), #f4ece3);
}

.method {
  grid-column: span 3;
  grid-row: span 2;
  background: linear-gradient(145deg, var(--blush), #f5e8eb);
}

.support-areas {
  grid-column: span 5;
  grid-row: span 2;
  background: linear-gradient(145deg, #e5edf3, #f1f6fa);
}

.benefits {
  grid-column: span 6;
  grid-row: span 2;
  background: linear-gradient(145deg, #deeadf, #ecf4ec);
}

.testimonial {
  grid-column: span 6;
  grid-row: span 2;
  background: linear-gradient(145deg, #f0e5d8, #f7efe6);
}

.blog-preview {
  grid-column: span 12;
  grid-row: span 3;
  background: linear-gradient(145deg, #dce7ef, #edf3f8);
}

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

.split-list div {
  padding: 0.65rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.93rem;
}

.blog-cards {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.blog-mini {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.63);
  padding: 0.9rem;
  border: 1px solid rgba(91, 101, 112, 0.1);
}

.blog-mini p {
  margin-top: 0.35rem;
  font-size: 0.93rem;
}

.surface {
  border-radius: 24px;
  border: 1px solid rgba(91, 101, 112, 0.12);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow);
  padding: 1.1rem;
}

.form-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

form {
  display: grid;
  gap: 0.7rem;
}

label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-strong);
}

input,
textarea,
select {
  width: 100%;
  padding: 0.68rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(91, 101, 112, 0.2);
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
  color: var(--text);
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(142, 168, 154, 0.35);
  border-color: #8ea89a;
}

label input[type='checkbox'] {
  width: auto;
  margin-right: 0.55rem;
  vertical-align: middle;
}

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

.info-list {
  display: grid;
  gap: 0.7rem;
}

.info-item {
  border-radius: 16px;
  padding: 0.8rem;
  border: 1px solid rgba(91, 101, 112, 0.1);
  background: rgba(255, 255, 255, 0.68);
}

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

.article-card {
  border-radius: 22px;
  padding: 1rem;
  border: 1px solid rgba(91, 101, 112, 0.12);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.86), rgba(226, 237, 245, 0.7));
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.article-card:hover {
  transform: translateY(-3px);
}

.article-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.map-wrap {
  margin-top: 0.55rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(91, 101, 112, 0.16);
}

.map-wrap iframe {
  width: 100%;
  min-height: 210px;
  border: 0;
  display: block;
}

.article-header {
  border-radius: 24px;
  padding: 1.4rem;
  background: linear-gradient(145deg, var(--powder), #e9f1f7);
  border: 1px solid rgba(91, 101, 112, 0.1);
}

.article-body {
  margin-top: 1rem;
  display: grid;
  gap: 0.9rem;
  line-height: 1.72;
}

.article-body h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--text-strong);
}

.site-footer {
  margin-top: 1.25rem;
  border-radius: 18px;
  border: 1px solid rgba(91, 101, 112, 0.12);
  background: rgba(251, 249, 244, 0.75);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 99;
  border-radius: 18px;
  border: 1px solid rgba(91, 101, 112, 0.2);
  background: rgba(251, 249, 244, 0.96);
  box-shadow: 0 18px 34px rgba(63, 74, 84, 0.18);
  padding: 1rem;
  display: grid;
  gap: 0.8rem;
}

.cookie-banner p {
  margin: 0;
  line-height: 1.5;
}

.cookie-banner a {
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.social-float {
  --social-drift: 0px;
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 100;
  display: grid;
  gap: 0.55rem;
  transform: translateY(var(--social-drift));
}

.social-float-btn {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 14px 28px rgba(63, 74, 84, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-float-btn:hover,
.social-float-btn:focus-visible {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 18px 34px rgba(63, 74, 84, 0.36);
}

.social-float-btn svg {
  width: 28px;
  height: 28px;
}

.social-float-btn.instagram {
  background: linear-gradient(145deg, #fd5949, #d6249f 55%, #285aeb);
}

.social-float-btn.facebook {
  background: linear-gradient(145deg, #1877f2, #0f62cc);
}

.social-float-btn.whatsapp {
  background: linear-gradient(145deg, #25d366, #1eb658);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero,
  .photo-block,
  .about,
  .method,
  .support-areas,
  .benefits,
  .testimonial,
  .blog-preview {
    grid-column: span 12;
    grid-row: auto;
  }

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

  .form-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-shell {
    padding: 0.7rem;
  }

  .navbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    column-gap: 0.55rem;
    row-gap: 0.6rem;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    order: 3;
  }

  .mobile-lang-switch {
    display: inline-flex;
    order: 2;
    margin-left: 0;
    margin-right: 0;
    justify-self: end;
  }

  .nav-side {
    grid-column: 1 / -1;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    padding: 0.25rem 0 0.2rem;
  }

  .navbar.is-open .nav-side {
    display: flex;
  }

  .nav-side .lang-switch {
    display: none !important;
  }

  .nav-side .mobile-lang-switch {
    display: none !important;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .nav-links a {
    text-align: left;
    padding: 0.6rem 0.45rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(91, 101, 112, 0.12);
  }

  .lang-switch {
    align-self: flex-start;
    margin-top: 0.1rem;
  }

  .blog-grid,
  .blog-cards,
  .split-list {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0.7rem;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-actions .btn {
    width: 100%;
  }

  .social-float {
    right: 0.7rem;
    bottom: 0.7rem;
  }

  .social-float-btn {
    width: 54px;
    height: 54px;
  }
}
