/* --- RESET & VARIABLES --- */
:root {
  /* Palette */
  --bg-body: #f0f2f5;
  --bg-card: #ebeff3;
  --text-main: #2d3436;
  --text-muted: #636e72;
  --accent-primary: #ff6b6b; /* Vivid Coral */
  --accent-secondary: #2d3436; /* Deep Slate */

  /* Claymorphism Shadows */
  --shadow-clay-out: 8px 8px 16px rgba(163, 177, 198, 0.6),
    -8px -8px 16px rgba(255, 255, 255, 0.5);
  --shadow-clay-in: inset 6px 6px 10px rgba(163, 177, 198, 0.4),
    inset -6px -6px 10px rgba(255, 255, 255, 0.8);
  --shadow-float: 0 20px 40px rgba(0, 0, 0, 0.1);

  /* Typography */
  --font-heading: "Space Grotesk", sans-serif;
  --font-body: "DM Sans", sans-serif;

  /* Layout */
  --radius-lg: 24px;
  --radius-btn: 16px;
  --container-width: 1200px;
  --header-height: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s ease;
}
img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  background-color: var(--bg-body);
  color: var(--accent-primary);
  font-weight: 700;
  border-radius: var(--radius-btn);
  box-shadow: var(--shadow-clay-out);
  border: 2px solid transparent; /* Reserve space */
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  color: var(--accent-secondary);
  transform: translateY(-2px);
  box-shadow: 12px 12px 24px rgba(163, 177, 198, 0.6),
    -12px -12px 24px rgba(255, 255, 255, 0.5);
}

.btn:active {
  box-shadow: var(--shadow-clay-in);
  transform: translateY(1px);
}

/* --- HEADER --- */
/* --- HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(240, 242, 245, 0.9); /* Трохи більше непрозорості */
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  z-index: 1002; /* Щоб лого було видно поверх мобільного меню */
}

.header__logo-img {
  height: 40px;
  width: auto;
}

.header__logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--accent-secondary);
  letter-spacing: -0.02em;
}

/* Desktop Nav */
.header__nav-desktop {
  display: flex;
}

.header__list {
  display: flex;
  gap: 32px;
  align-items: center;
}

.header__link {
  font-weight: 500;
  color: var(--text-main);
  font-size: 0.95rem;
  position: relative;
  padding: 5px 0;
}

.header__link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 0;
  background-color: var(--accent-primary);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.header__link:hover {
  color: var(--accent-secondary);
}

.header__link:hover::after {
  width: 100%;
}

/* Actions Area */
.header__actions {
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 1002;
}

/* Burger */
.burger {
  display: none; /* Desktop: Hidden */
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
}

.burger__line {
  width: 100%;
  height: 3px;
  background-color: var(--text-main);
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
}

/* Mobile Menu (Hidden by default) */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-body);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 1001;
  padding: 20px;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.mobile-menu__link {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-main);
}

.mobile-menu__btn {
  width: 100%;
  max-width: 250px;
  text-align: center;
}

/* --- RESPONSIVE LOGIC --- */

/* Tablet & Mobile (Less than 991px) */
@media (max-width: 991px) {
  /* Hide Desktop Elements */
  .header__nav-desktop {
    display: none;
  }

  .header__btn-desktop {
    display: none;
  }

  /* Show Mobile Elements */
  .burger {
    display: flex;
  }
}
/* --- FOOTER --- */
.footer {
  background-color: var(--bg-card);
  padding: 80px 0 30px;
  margin-top: 80px;
  border-top-left-radius: 60px;
  border-top-right-radius: 60px;
  box-shadow: inset 0 20px 40px rgba(0, 0, 0, 0.03);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer__logo-text {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-secondary);
  display: block;
  margin-bottom: 20px;
}

.footer__desc {
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 300px;
}

.footer__note {
  font-size: 0.9rem;
  color: var(--accent-primary);
  font-weight: 600;
  background: rgba(255, 107, 107, 0.1);
  padding: 5px 10px;
  border-radius: 8px;
  display: inline-block;
}

.footer__title {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: var(--accent-secondary);
}

.footer__list li {
  margin-bottom: 12px;
}

.footer__link {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer__link:hover {
  color: var(--accent-primary);
  padding-left: 5px;
}

.footer__contacts li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  color: var(--text-muted);
}

.footer__icon {
  color: var(--accent-primary);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.footer__bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 2px solid rgba(0, 0, 0, 0.05);
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 991px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer {
    border-radius: 40px 40px 0 0;
  }
}

/* --- HERO SECTION --- */
.hero {
  padding: 160px 0 100px; /* Top padding accounts for fixed header */
  min-height: 100vh; /* Full screen height */
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero__container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Typography & Content */
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: #fff;
  border-radius: 50px;
  font-weight: 700;
  color: var(--accent-primary);
  box-shadow: var(--shadow-clay-out);
  margin-bottom: 25px;
  font-size: 0.9rem;
  transform: rotate(-2deg); /* Slight asymmetry */
}

.hero__title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 25px;
  color: var(--text-main);
  letter-spacing: -1px;
}

.highlight {
  color: var(--accent-primary);
  position: relative;
  white-space: nowrap;
}

.highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 12px;
  background-color: rgba(255, 107, 107, 0.2);
  z-index: -1;
  border-radius: 4px;
}

.hero__desc {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 500px;
}

/* Actions Area */
.hero__actions {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.btn--lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

.hero__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--text-main);
}

.icon-box {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  color: var(--accent-primary);
  box-shadow: var(--shadow-clay-out);
}

/* --- CLAY VISUALS (Right Side) --- */
.hero__visual {
  position: relative;
  height: 500px;
  display: flex; /* Center logic is handled by absolute positioning */
}

/* Background Blob */
.hero__blob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle at 30% 30%, #ffd1d1, #f0f2f5);
  border-radius: 50%;
  z-index: -1;
  filter: blur(40px);
  opacity: 0.6;
}

/* Common Clay Card Styles */
.clay-card {
  position: absolute;
  background-color: var(--bg-body);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-clay-out);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 1;
  transition: transform 0.1s linear; /* Smooth mouse movement */
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Specific Card Positions (Asymmetric) */
.clay-card--1 {
  top: 10%;
  right: 10%;
  padding: 25px;
  border-radius: 30px;
}

.clay-card__icon {
  width: 50px;
  height: 50px;
  background: #e0f7fa;
  color: #00bcd4;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.05);
}

.clay-card__info {
  display: flex;
  flex-direction: column;
}

.clay-card__label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.clay-card__value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-secondary);
}

.clay-card--2 {
  bottom: 15%;
  right: 20%;
  padding: 15px 25px;
  background: var(--accent-primary);
  color: #fff;
  box-shadow: 8px 8px 16px rgba(255, 107, 107, 0.4),
    -8px -8px 16px rgba(255, 255, 255, 0.5),
    inset 4px 4px 8px rgba(255, 255, 255, 0.2);
}
.clay-card--2 .shield-icon {
  width: 20px;
  height: 20px;
}

.clay-card--3 {
  top: 40%;
  left: 0;
  width: 80px;
  height: 80px;
  justify-content: center;
  border-radius: 24px;
  font-size: 2rem;
  transform: rotate(15deg);
}

/* Responsive */
@media (max-width: 991px) {
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    height: 350px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .hero__title {
    font-size: 3rem;
  }
}

@media (max-width: 576px) {
  .hero__title {
    font-size: 2.2rem;
  }
  .clay-card--1 {
    right: 0;
  }
  .clay-card--3 {
    left: -10px;
  }
}

/* --- SECTIONS COMMON --- */
.section-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(45, 52, 54, 0.05);
  color: var(--accent-secondary);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-main);
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent-primary), #ff9f43);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 450px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--accent-primary);
  margin-top: 20px;
  font-size: 1.05rem;
}

.link-arrow:hover {
  gap: 12px;
}

/* --- ABOUT SECTION --- */
.about {
  padding: 100px 0;
  position: relative;
}

.about__container {
  display: grid;
  grid-template-columns: 1fr 1.2fr; /* Left column smaller */
  gap: 60px;
  align-items: start; /* Align to top */
}

.about__content {
  position: sticky;
  top: 120px; /* Sticky effect when scrolling */
}

.about__stat {
  margin-bottom: 30px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-btn);
  box-shadow: var(--shadow-clay-in); /* Inset shadow for variety */
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-secondary);
}

.stat-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Feature Cards Grid (Asymmetric) */
.about__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.feature-card {
  background: var(--bg-body);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-clay-out);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 2px solid #fff;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 15px 15px 30px rgba(163, 177, 198, 0.5),
    -15px -15px 30px rgba(255, 255, 255, 0.6);
  z-index: 2;
}

.feature-card__icon {
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  box-shadow: var(--shadow-clay-out);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.icon-accent {
  background: var(--accent-primary);
  color: #fff;
}

.icon-dark {
  background: var(--accent-secondary);
  color: #fff;
}

.feature-card__title {
  font-size: 1.25rem;
}

.feature-card__text {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Asymmetry Logic */
.feature-card--1 {
  grid-column: 1 / 2;
}

.feature-card--2 {
  grid-column: 2 / 3;
  margin-top: 60px; /* Shift down */
}

.feature-card--3 {
  grid-column: 1 / 3; /* Full width */
  margin-top: -20px; /* Overlap slightly */
  display: flex;
  flex-direction: row; /* Horizontal layout for wide card */
  align-items: center;
}

.feature-card--3 .feature-card__icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

/* Reveal Animation Initial State */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

/* Responsive */
@media (max-width: 991px) {
  .about__container {
    grid-template-columns: 1fr;
  }
  .about__content {
    position: static;
    text-align: center;
    margin-bottom: 40px;
  }
  .about__stat {
    align-items: center;
    text-align: center;
  }
  .feature-card--3 {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 576px) {
  .about__cards {
    grid-template-columns: 1fr;
  }
  .feature-card--2 {
    grid-column: 1 / 2;
    margin-top: 0;
  }
  .feature-card--3 {
    grid-column: 1 / 2;
  }
}

/* --- SOLUTIONS SECTION --- */
.solutions {
  padding: 100px 0;
  background-color: var(--bg-body); /* Same bg to keep flow */
}

.solutions__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.solutions__steps {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.solution-row {
  display: flex;
  align-items: center;
  gap: 80px;
}

.solution-row--reverse {
  flex-direction: row-reverse;
}

/* Content Side */
.solution-content {
  flex: 1;
  position: relative;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 900;
  color: var(--bg-body);
  text-shadow: -2px -2px 5px rgba(255, 255, 255, 1),
    2px 2px 5px rgba(163, 177, 198, 0.6); /* Embossed effect */
  line-height: 1;
  margin-bottom: 20px;
  opacity: 0.5;
}

.solution-title {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--text-main);
}

.solution-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.solution-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.solution-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text-main);
}

.solution-list i {
  color: var(--accent-primary);
  width: 20px;
  height: 20px;
}

.btn--sm {
  padding: 12px 24px;
  font-size: 0.95rem;
}

/* Visual Side (Clay Boxes) */
.solution-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.clay-box {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1; /* Square */
  background: var(--bg-body);
  border-radius: 40px;
  box-shadow: var(--shadow-clay-out);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 4px solid rgba(255, 255, 255, 0.5);
  transition: transform 0.5s ease;
}

.solution-row:hover .clay-box {
  transform: scale(1.03) rotate(2deg);
}

.solution-row--reverse:hover .clay-box {
  transform: scale(1.03) rotate(-2deg);
}

.big-icon {
  width: 80px;
  height: 80px;
  color: var(--accent-primary);
  margin-bottom: 20px;
}

/* Variants */
.clay-box--accent {
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  box-shadow: 10px 10px 20px rgba(255, 107, 107, 0.3),
    -10px -10px 20px rgba(255, 255, 255, 0.8);
  border: none;
}
.clay-box--accent .big-icon {
  color: #fff;
}

.clay-box--dark {
  background: var(--accent-secondary);
  box-shadow: 10px 10px 20px rgba(45, 52, 54, 0.4),
    -10px -10px 20px rgba(255, 255, 255, 0.8);
  border: none;
}
.clay-box--dark .big-icon {
  color: #fff;
}

/* Decorations inside boxes */
.clay-tag {
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 15px;
  border-radius: 20px;
  color: #fff;
  font-weight: 700;
  backdrop-filter: blur(5px);
}

.profit-badge {
  position: absolute;
  bottom: 30px;
  right: -20px;
  background: #fff;
  color: #00b894;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: 800;
  box-shadow: var(--shadow-clay-out);
  animation: float 4s ease-in-out infinite;
}

.floating-bubble {
  width: 60px;
  height: 60px;
  background: #74b9ff;
  border-radius: 50%;
  position: absolute;
  top: 40px;
  right: 40px;
  opacity: 0.5;
  filter: blur(10px);
}

/* Keyframes for internal float */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Responsive */
@media (max-width: 991px) {
  .solution-row,
  .solution-row--reverse {
    flex-direction: column-reverse; /* Text on bottom, image on top */
    gap: 40px;
    text-align: center;
  }

  .solution-list {
    align-items: center;
  }

  .profit-badge {
    right: 20px; /* Adjust so it doesn't overflow mobile screen */
  }
}

/* --- BENEFITS (BENTO GRID) --- */
.benefits {
  padding: 100px 0;
}

.benefits__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

/* Grid Layout */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, minmax(250px, auto));
  gap: 30px;
}

/* Common Card Styles */
.bento-item {
  background-color: var(--bg-body);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-clay-out);
  border: 2px solid rgba(255, 255, 255, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  position: relative;
}

.bento-item:hover {
  transform: translateY(-5px);
  box-shadow: 12px 12px 24px rgba(163, 177, 198, 0.5),
    -12px -12px 24px rgba(255, 255, 255, 0.6);
  border-color: #fff;
}

.bento-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-main);
}

.bento-text {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Specific Items Styling */

/* Item 1: Large (Takes 2 columns height) */
.bento-item--large {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  background: linear-gradient(145deg, #f0f2f5, #ffffff);
}

.bento-icon {
  width: 50px;
  height: 50px;
  color: var(--accent-primary);
  margin-bottom: 20px;
}

.bento-deco {
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-size: 8rem;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.03);
  font-family: var(--font-heading);
  pointer-events: none;
}

/* Item 2: Map (Wide top right) */
.bento-item--map {
  grid-column: 2 / 4;
  grid-row: 1 / 2;
  background: #e3f2fd; /* Light blue tint */
  border-color: #bbdefb;
}

.geo-badge {
  align-self: flex-start;
  background: #2196f3;
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(33, 150, 243, 0.3);
}

/* Item 3: Dark (Bottom right) */
.bento-item--dark {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
  background: var(--accent-secondary);
  color: #fff;
  border: none;
}

.bento-item--dark .bento-title {
  color: #fff;
}
.bento-item--dark .bento-text {
  color: rgba(255, 255, 255, 0.7);
}

.bento-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  opacity: 0.8;
}

.bento-link {
  margin-top: auto;
  color: var(--accent-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}

.bento-link:hover {
  gap: 10px;
}

/* Small icons for regular items */
.bento-icon-sm {
  width: 32px;
  height: 32px;
  color: var(--accent-primary);
  background: rgba(255, 107, 107, 0.1);
  padding: 6px;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* Responsive Logic */
@media (max-width: 991px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .bento-item--large {
    grid-column: 1 / 3; /* Full width on tablet */
    grid-row: auto;
  }

  .bento-item--map {
    grid-column: 1 / 3;
  }

  .bento-item--dark {
    grid-column: 2 / 3;
  }
}

@media (max-width: 576px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-item,
  .bento-item--dark,
  .bento-item--map,
  .bento-item--large {
    grid-column: 1 / 2;
    grid-row: auto;
  }
}

/* --- REVIEWS SECTION --- */
.reviews {
  padding: 100px 0 140px; /* Extra padding bottom for floating effect */
  background: radial-gradient(circle at 50% 50%, #ffffff, var(--bg-body));
}

.center-text {
  text-align: center;
  margin-bottom: 60px;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}

/* Review Card Clay Style */
.review-card {
  background: var(--bg-body);
  padding: 30px;
  border-radius: 30px;
  border-bottom-left-radius: 0; /* Speech bubble effect */
  box-shadow: var(--shadow-clay-out);
  border: 2px solid #fff;
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-10px);
}

/* Asymmetry: Shift center card down */
.review-card--center {
  margin-top: 50px;
  background: #fff;
  border-color: var(--bg-body);
}

/* Header & Avatar */
.review-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  box-shadow: var(--shadow-clay-out);
}

.avatar--blue {
  background: #74b9ff;
}
.avatar--coral {
  background: var(--accent-primary);
}
.avatar--dark {
  background: var(--accent-secondary);
}

.review-meta {
  display: flex;
  flex-direction: column;
}

.reviewer-name {
  font-weight: 700;
  color: var(--text-main);
}

.reviewer-city {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.review-stars {
  color: #fdcb6e; /* Gold color */
  margin-bottom: 15px;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 991px) {
  .reviews__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .review-card {
    border-radius: 30px; /* Reset bubble shape */
    max-width: 600px;
    margin: 0 auto;
  }

  .review-card--center {
    margin-top: 0;
  }
}

/* --- CONTACT SECTION --- */
.contact {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.contact__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact__list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__list li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 600;
  color: var(--text-main);
}

/* Clay Form Wrapper */
.clay-form {
  background: var(--bg-body);
  padding: 40px;
  border-radius: 40px;
  box-shadow: var(--shadow-clay-out);
  border: 2px solid #fff;
  position: relative;
  min-height: 400px; /* Prevent jump on success */
}

.form-title {
  margin-bottom: 25px;
  font-size: 1.5rem;
  color: var(--accent-secondary);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-left: 10px;
}

/* INSET CLAY INPUTS */
.clay-input {
  width: 100%;
  padding: 15px 20px;
  border: none;
  background: var(--bg-body);
  border-radius: 15px;
  box-shadow: var(--shadow-clay-in); /* Inset shadow! */
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-main);
  outline: none;
  transition: box-shadow 0.3s ease;
}

.clay-input:focus {
  box-shadow: inset 4px 4px 8px rgba(163, 177, 198, 0.3),
    inset -4px -4px 8px rgba(255, 255, 255, 0.9),
    0 0 0 2px var(--accent-primary);
}

/* Custom Captcha Widget */
.custom-captcha {
  background: #f9f9f9;
  padding: 15px 20px;
  border-radius: 10px;
  border: 1px solid #dcdcdc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.captcha-container {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.captcha-container input {
  display: none;
}

.checkmark {
  width: 24px;
  height: 24px;
  border: 2px solid #c1c1c1;
  border-radius: 4px;
  background: #fff;
  position: relative;
  transition: 0.2s;
}

/* Checkmark Tick */
.checkmark::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 12px;
  border: solid #4caf50;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg) scale(0);
  transition: 0.2s;
}

.captcha-container input:checked ~ .checkmark::after {
  transform: rotate(45deg) scale(1);
}

.captcha-text {
  font-size: 0.9rem;
  color: #555;
}

.captcha-logo {
  height: 28px;
  opacity: 0.7;
}

/* Privacy Checkbox */
.privacy-check {
  margin-bottom: 25px;
}

.check-container {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.check-container input {
  display: none;
}

.check-box-visual {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 2px solid var(--accent-primary);
  border-radius: 5px;
  background: var(--bg-body);
  box-shadow: var(--shadow-clay-in);
  position: relative;
}

.check-box-visual::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 8px;
  border: solid var(--accent-primary);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: 0.2s;
}

.check-container input:checked ~ .check-box-visual::after {
  transform: rotate(45deg) scale(1);
}

.check-container a {
  color: var(--accent-secondary);
  text-decoration: underline;
}

.btn--full {
  width: 100%;
  text-align: center;
}

/* Success Message */
.form-success {
  display: none; /* Hidden by default */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  min-height: 300px;
  animation: fadeIn 0.5s ease;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: #00b894;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: var(--shadow-clay-out);
}

.success-icon i {
  width: 40px;
  height: 40px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- COOKIE POPUP --- */
.cookie-popup {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(150%); /* Hidden */
  width: 90%;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 20px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 9999;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.cookie-popup.show {
  transform: translateX(-50%) translateY(0);
}

.cookie-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cookie-icon {
  color: var(--accent-primary);
}

.cookie-text {
  font-size: 0.9rem;
  color: var(--text-main);
}

.cookie-text a {
  color: var(--accent-primary);
  text-decoration: underline;
}

@media (max-width: 576px) {
  .cookie-popup {
    flex-direction: column;
    align-items: flex-start;
    bottom: 0;
    border-radius: 20px 20px 0 0;
    width: 100%;
    max-width: 100%;
  }
  .btn--sm {
    width: 100%;
    text-align: center;
  }
}

/* --- POLICY PAGES STYLES (privacy.html etc) --- */
.pages {
  padding: 140px 0 80px;
}

.pages h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--accent-secondary);
}

.pages h2 {
  font-size: 1.5rem;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--text-main);
}

.pages p {
  margin-bottom: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.pages ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.pages li {
  margin-bottom: 10px;
}
