:root {
  /* Palette: Organic Soft */
  --bg-main: #f7f7f2;
  --bg-card: #ffffff;
  --text-main: #262a2b;
  --text-muted: #6c7275;
  --accent-primary: #d98355; /* Clay Orange */
  --accent-secondary: #9fbfa6; /* Sage Green */
  --border-soft: #e0e0db;

  /* Typography */
  --font-head: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;

  /* Variables */
  --container-w: 1240px;
  --radius-l: 24px;
  --radius-pill: 100px;
  --header-h: 70px;
}

/* --- RESET & BASE --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

/* --- UTILS --- */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn--primary {
  background-color: var(--text-main);
  color: #fff;
}

.btn--primary:hover {
  background-color: var(--accent-primary);
  transform: translateY(-2px);
}

.btn--pill {
  border-radius: var(--radius-pill);
}

.icon-sm {
  width: 18px;
  height: 18px;
}

/* --- HEADER (Floating) --- */
.header-wrapper {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 20px;
  display: flex;
  justify-content: center;
}

.header {
  width: 100%;
  max-width: var(--container-w);
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 0 24px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.header__nav {
  display: flex;
}

.header__list {
  display: flex;
  gap: 32px;
}

.header__link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-main);
  position: relative;
  opacity: 0.8;
}

.header__link:hover {
  opacity: 1;
  color: var(--accent-primary);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

/* Mobile Nav */
@media (max-width: 992px) {
  .header-wrapper {
    top: 0;
    padding: 0;
  }
  .header {
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--border-soft);
    background: #fff;
  }
  .header__nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    background: var(--bg-main);
    flex-direction: column;
    transition: height 0.4s ease;
  }
  .header__nav.active {
    height: calc(100vh - var(--header-h));
  }
  .header__list {
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
    gap: 30px;
  }
  .header__link {
    font-size: 1.5rem;
    font-family: var(--font-head);
  }
  .header__burger {
    display: block;
  }
  .header__actions .btn {
    display: none;
  } /* Hide CTA on mobile header */
}

/* --- FOOTER --- */
.footer {
  background-color: var(--text-main); /* Dark Graphite */
  color: #fff;
  padding: 80px 0 24px;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  margin-top: auto;
}

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

.footer__logo-text {
  font-family: var(--font-head);
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--bg-main);
}

.footer__desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 24px;
  max-width: 300px;
}

.footer__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  color: var(--accent-primary);
}

.dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-primary);
  border-radius: 50%;
}

.footer__heading {
  font-family: var(--font-head);
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: #fff;
}

.footer__links li,
.footer__contacts li {
  margin-bottom: 14px;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

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

.footer__contacts li {
  display: flex;
  gap: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer__contacts i {
  width: 18px;
  color: var(--accent-primary);
}

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

.footer__socials {
  display: flex;
  gap: 16px;
}

.footer__socials a:hover {
  color: var(--accent-primary);
}

@media (max-width: 992px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 576px) {
  .footer__top {
    grid-template-columns: 1fr;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 16px;
  }
}

/* --- HERO SECTION --- */
.hero {
  padding: 140px 0 80px; /* Top padding to account for fixed header */
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden; /* Prevent animations from causing scrollbar */
}

.hero__container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr; /* Asymmetric split */
  gap: 60px;
  align-items: center;
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: #2ecc71; /* Status green */
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.2);
}

/* Typography */
.hero__title {
  font-size: 3.5rem; /* Big Syne font */
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.text-accent {
  color: var(--accent-primary);
  font-style: italic; /* Syne looks great in italic */
}

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

/* Actions & Meta */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin-bottom: 50px;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatars-stack {
  display: flex;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg-main);
  margin-left: -10px;
}
.avatar:first-child {
  margin-left: 0;
}

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

/* Stats */
.hero__stats {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
}

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

.stat-divider {
  width: 1px;
  height: 40px;
  background-color: var(--border-soft);
}

/* Visual Side (Organic Shape) */
.image-wrapper {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 200px 24px 200px 24px; /* Organic Leaf Shape */
  overflow: hidden;
  box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.05);
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s ease;
}

.image-wrapper:hover .hero__img {
  transform: scale(1.05);
}

/* Floating Card */
.float-card {
  position: absolute;
  bottom: 40px;
  left: -20px;
  background: #fff;
  padding: 16px 24px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 16px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.float-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(217, 131, 85, 0.1); /* Accent very light */
  color: var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.float-text {
  display: flex;
  flex-direction: column;
}

.float-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.float-val {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-main);
}

/* Animation Base Classes */
.reveal-anim {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal-anim.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}

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

  .hero__title {
    font-size: 2.5rem;
  }

  .hero__desc {
    margin: 0 auto 30px;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
    border-top: none;
    padding-top: 0;
  }

  .image-wrapper {
    height: 400px;
    border-radius: 24px; /* Simpler shape on mobile */
  }

  .float-card {
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    animation: none; /* Disable float on mobile for performance */
  }
}

/* --- SECTIONS COMMON --- */
.section-padding {
  padding: 100px 0;
}

.section-header {
  max-width: 700px;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.italic-accent {
  font-family: var(--font-head);
  font-style: italic;
  color: var(--accent-primary);
  font-weight: 400;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* --- BENTO GRID --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(240px, auto);
  gap: 24px;
}

/* Card Base */
.bento-card {
  background-color: #fff;
  border-radius: var(--radius-l);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
    box-shadow 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

/* Sizes */
.bento-large {
  grid-column: span 2;
}

.bento-tall {
  grid-row: span 2;
  background-color: var(--accent-primary); /* Clay Color */
  color: #fff;
  overflow: hidden;
  position: relative;
  border: none;
}

.bento-wide {
  grid-column: span 2;
}

/* Content Styles */
.card-icon-wrapper {
  width: 48px;
  height: 48px;
  background-color: var(--bg-main);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  margin-bottom: 24px;
}

.secondary-icon {
  background-color: rgba(159, 191, 166, 0.2); /* Sage transparent */
  color: #5a7a62;
}

.card-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.text-white {
  color: #fff;
}
.text-white-70 {
  color: rgba(255, 255, 255, 0.8);
}

/* Accent Card Decor */
.card-visual-bottom {
  height: 100px;
  position: relative;
  margin-top: auto;
}

.circle-decor {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.c-1 {
  width: 120px;
  height: 120px;
  bottom: -40px;
  right: -20px;
}

.c-2 {
  width: 80px;
  height: 80px;
  bottom: 20px;
  right: 40px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

/* Wide Card Layout */
.wide-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.circle-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: 0.3s;
  flex-shrink: 0;
}

.circle-btn:hover {
  background-color: var(--text-main);
  color: #fff;
  transform: rotate(45deg);
}

/* Responsive Grid */
@media (max-width: 992px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-tall {
    grid-row: span 1; /* Stop being tall on tablet */
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .bento-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .bento-large,
  .bento-wide,
  .bento-tall {
    width: 100%;
  }

  .wide-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .circle-btn {
    margin-top: 16px;
    align-self: flex-end;
  }
}
/* --- VISION SECTION --- */
.vision__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Gallery Collage */
.vision__gallery {
  position: relative;
  height: 500px; /* Fixed height to manage absolute positioning */
}

.v-img-wrapper {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius-l);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

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

/* Main Image (Back) */
.main-img {
  width: 75%;
  height: 85%;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Sub Image (Front) */
.sub-img {
  width: 55%;
  height: 50%;
  bottom: 0;
  right: 0;
  z-index: 2;
  border: 8px solid var(--bg-main); /* Cutout effect */
}

/* Rotating Badge */
.vision__badge {
  position: absolute;
  top: 40px;
  right: -20px;
  width: 120px;
  height: 120px;
  z-index: 3;
  animation: rotate 20s linear infinite;
  background: var(--bg-main);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.badge-center {
  position: absolute;
  width: 40px;
  height: 40px;
  background-color: var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.star-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Content Side */
.tag-label {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 40px;
  line-height: 1.7;
}

.vision__list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

.v-item {
  display: flex;
  gap: 20px;
}

.v-icon {
  width: 50px;
  height: 50px;
  background-color: #ebf2ed; /* Light Sage */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-secondary);
  flex-shrink: 0;
}

.v-text h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.v-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.mt-6 {
  margin-top: 24px;
}

/* Responsive Vision */
@media (max-width: 992px) {
  .vision__grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

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

  .vision__badge {
    right: -10px;
    top: -10px;
    transform: scale(0.8);
  }
}

@media (max-width: 576px) {
  .vision__gallery {
    height: 300px;
  }
  .main-img {
    width: 85%;
  }
  .sub-img {
    width: 60%;
  }
}

/* --- BLOG SECTION --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.blog-card {
  background-color: var(--bg-card);
  border-radius: 36px; /* Extra soft radius for cards */
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
    box-shadow 0.4s ease;
  border: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.blog-card__visual {
  height: 200px;
  overflow: hidden;
  border-radius: 36px 36px 0 0;
}

.blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Hover Effect: Image Zoom */
.blog-card:hover .blog-card__img {
  transform: scale(1.08);
}

.blog-card__content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__date {
  font-size: 0.85rem;
  color: var(--accent-primary);
  margin-bottom: 12px;
  font-weight: 500;
}

.blog-card__title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  line-height: 1.4;
  margin-bottom: 20px;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
  font-weight: 600;
  margin-top: auto;
}

.blog-card__link:hover {
  color: var(--accent-primary);
  gap: 12px; /* Micro-animation: move icon */
}

/* Secondary Button Style */
.btn--secondary {
  background-color: var(--accent-secondary);
  color: var(--text-main);
  border: 2px solid var(--accent-secondary);
}

.btn--secondary:hover {
  background-color: transparent;
  color: var(--accent-secondary);
  transform: translateY(-2px);
  box-shadow: none;
}

.blog__cta {
  text-align: center;
}

/* Responsive Blog Grid */
@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* --- CONTACT SECTION --- */
.contact__container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.contact__text {
  max-width: 450px;
}

.contact__info {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact__info p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-main);
}

.contact__info a:hover {
  color: var(--accent-primary);
}

/* Form Styling */
.contact__form-wrapper {
  background-color: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-l);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-soft);
}

.form-title {
  font-size: 1.5rem;
  font-family: var(--font-head);
  margin-bottom: 30px;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: var(--bg-main);
  transition: border-color 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent-primary);
  background-color: #fff;
}

.form-group--inline {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.form-group--inline input[type="checkbox"] {
  display: none;
}

.custom-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 400;
  color: var(--text-main);
  padding: 8px 0;
}

.custom-checkbox-box {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border-soft);
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.custom-checkbox-box .check-icon {
  width: 18px;
  height: 18px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.form-group--inline
  input[type="checkbox"]:checked
  + .custom-checkbox-label
  .custom-checkbox-box {
  background-color: var(--accent-secondary);
  border-color: var(--accent-secondary);
}

.form-group--inline
  input[type="checkbox"]:checked
  + .custom-checkbox-label
  .custom-checkbox-box
  .check-icon {
  opacity: 1;
}

/* Consent Label */
.consent-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.error-text {
  display: block;
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: 5px;
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease, margin 0.3s ease;
}

.form-group input.error {
  border-color: #e74c3c;
}

.error-text.show {
  height: 18px;
  margin-top: 5px;
}

/* Success Message */
.success-message {
  display: none;
  margin-top: 20px;
  padding: 20px;
  background-color: #e8f8f5; /* Light success green */
  color: #2ecc71;
  border: 1px solid #2ecc71;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1.05rem;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.success-message.show {
  display: flex;
  opacity: 1;
}

/* Submit Button */
.form-submit-btn {
  width: 100%;
  margin-top: 10px;
}

@media (max-width: 992px) {
  .contact__container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact__text {
    max-width: 100%;
  }
  .contact__info {
    flex-direction: row;
    gap: 30px;
    flex-wrap: wrap;
  }
}

/* --- POLICY PAGES STYLES (for privacy.html, terms.html etc.) --- */
.pages {
  padding-top: 140px; /* Offset for header */
  padding-bottom: 80px;
}

.pages h1 {
  font-size: 2.8rem;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-soft);
}

.pages h2 {
  font-size: 1.8rem;
  margin-top: 40px;
  margin-bottom: 15px;
  color: var(--accent-primary);
}

.pages p {
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.7;
  color: var(--text-main);
}

.pages ul {
  list-style: disc;
  margin-left: 20px;
  padding-left: 20px;
  margin-bottom: 30px;
}

.pages ul li {
  margin-bottom: 10px;
  color: var(--text-muted);
}

.pages ul li strong {
  color: var(--text-main);
  font-weight: 700;
}

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

.pages .container {
  max-width: 850px; /* Narrower container for better readability of long text */
}

@media (max-width: 768px) {
  .pages h1 {
    font-size: 2rem;
  }
  .pages h2 {
    font-size: 1.5rem;
  }
  .pages p {
    font-size: 1rem;
  }
}

.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 2000;
  max-width: 350px;
  background: var(--text-main);
  color: #fff;
  padding: 20px;
  border-radius: var(--radius-l);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  display: none; /* Hidden by default */
  transform: translateY(100%);
  transition: transform 0.5s ease-out, opacity 0.5s ease-out;
  opacity: 0;
}

.cookie-popup.show {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.cookie-popup__content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cookie-popup__content p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

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

.cookie-popup .btn {
  padding: 8px 18px;
  font-size: 0.9rem;
  align-self: flex-start;
  background-color: var(--accent-primary);
}

.cookie-popup .btn:hover {
  background-color: var(--accent-hover);
}

.consent-label-modified {
  align-items: flex-start;
  padding: 0;
}

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