:root {
  --color-brand: #007A70;
  --color-brand-2: #00B4A0;
  --color-brand-3: #52aea7;
  --color-brand-4: #00b3a1;
  --color-accent: #b7e19d;
  --color-text: #333;
  --color-text-muted: #7f8c8d;
  --color-heading: #007A70;
  --color-surface: #ffffff;
  --color-surface-muted: rgba(255, 255, 255, 0.85);
  --bg-grad-page: linear-gradient(174.2deg, rgba(255,244,228,1) 7.1%, rgba(240,246,238,1) 67.4%);
  --shadow-1: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-2: 0 10px 20px rgba(0, 0, 0, 0.15);
  --radius-1: 10px;
  --radius-2: 24px;
  --radius-3: 16px;
  --radius-4: 20px;
  --radius-pill: 25px;
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 2.5rem;
  --sp-6: 3rem;
  --sp-7: 4rem;
  --container-max: 1400px;
}

html {
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-image: var(--bg-grad-page);
  font-family: 'Montserrat', sans-serif;
  color: var(--color-text);
}

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

main {
  background-image: var(--bg-grad-page);
  background-repeat: no-repeat;
  padding-bottom: var(--sp-6);
  max-width: var(--container-max);
  margin: 0 auto;
}

.main-title {
  padding-top: 8rem;
  text-align: center;
  font-size: 3.5rem;
  font-family: "Playwrite", sans-serif;
  margin-bottom: 3.5rem;
  color: var(--color-heading);
  position: relative;
}

.main-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 400px;
  height: 1rem;
  background-image: url("data:image/svg+xml,%3Csvg width='200' height='20' viewBox='0 0 200 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 15 Q 50 5, 90 15 Q 130 25, 170 15 Q 190 10, 190 15' stroke='%23007A70' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.head-title {
  text-align: center;
  font-size: 3rem;
  font-family: 'Playwrite', sans-serif;
  color: var(--color-heading);
  padding-top: var(--sp-5);
  margin-bottom: var(--sp-3);
}

.dessert-summary-content {
  text-align: center;
  margin-bottom: var(--sp-6);
  padding: var(--sp-5);
  background: var(--color-surface-muted);
  border-radius: var(--radius-2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-1);
  position: relative;
  overflow: hidden;
}

.dessert-summary-content img {
  border-radius: var(--radius-2);
  box-shadow: var(--shadow-1);
  margin-bottom: 1.5rem;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-section-box {
  width: min(90%, 1000px);
  margin: 1.5rem auto;
}

.about-section-box .head-title {
  margin-bottom: 1.5rem;
}

.about-section-box p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-text);
}

.about-section-box p + p {
  margin-top: 1rem;
}

.team-section-wrapper {
  margin: 3rem auto;
  width: min(95%, 1200px);
}

.team-member {
  margin-bottom: 3rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-3);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.team-pfp img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  margin: 0 auto;
  box-shadow: 0 8px 20px rgba(0, 122, 112, 0.2);
  transition: transform 0.3s ease;
}

.team-pfp img:hover {
  transform: scale(1.05);
}

.team-info {
  padding: 1rem;
}

.team-info .team-name {
  color: var(--color-brand);
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.team-info .team-role {
  color: var(--color-brand-3);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-style: italic;
}

.team-info .team-bio {
  color: #444;
  line-height: 1.7;
  font-size: 1.05rem;
}

.contact-section-box {
  margin: 4rem auto;
  text-align: center;
}

.contact-section-box .head-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-section-box .social-links {
  list-style-type: none;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
  padding-left: 0;
}

.contact-section-box .cta-button {
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  font-size: 0.95rem;
}

.contact-section-box .contact-email-text {
  margin-top: 1.5rem;
  font-size: 1.05rem;
}

.contact-section-box .contact-email-link {
  color: var(--color-brand);
  text-decoration: none;
  font-weight: 600;
}

.contact-us-socials {
  color: var(--color-brand);
  font-weight: 600;
  text-decoration: none;
}

.contact-us-socials:hover {
  text-decoration: underline;
}

.contact-section-box .contact-email-link:hover {
  text-decoration: underline;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(45deg, var(--color-brand), var(--color-brand-2));
  color: #fff;
  padding: 0.9rem 1.8rem;
  border: none;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 122, 112, 0.3);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 122, 112, 0.4);
  color: #fff;
}

.main-footer {
  margin-top: 0.5rem;
  padding: 1rem 0;
  background-image: linear-gradient(200deg, rgb(235, 227, 214) 7.1%, rgba(240,246,238,1) 67.4%);
  color: var(--color-brand);
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.08);
  overflow-x: hidden;
}

.footer-title {
  display: inline-block;
  font-size: 3rem;
  font-family: 'Playwrite', sans-serif;
  padding: 0.5rem;
  color: #fff;
  text-shadow: 0 0 5px #ff005e, 0 0 10px #ff005e, 0 0 20px #ff005e, 0 0 40px #ff005e, 0 0 80px #ff005e;
  animation: glow 1.5s infinite alternate;
}

.footer-title:hover {
  transform: scale(1.2);
}

.socials-logo {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
}

.socials-logo img {
  width: 2.5rem;
}

.socials-logo img:hover {
  transform: translateY(-0.3rem);
}

.socials-logo a {
  position: relative;
}

.socials-logo a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 0.125rem;
  width: 0;
  background: gray;
  transition: width 0.2s ease;
}

.socials-logo a:hover::after {
  width: 100%;
}

.main-footer .footer-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: gray;
}

.footer-policy-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.footer-policy-links a {
  text-decoration: none;
  color: darkgrey;
}

.footer-policy-links:hover a {
  color: gray;
}

.footer-policy-links a:hover {
  color: black;
  transform: scale(1.03);
}

.footer-policy-links:hover a:not(:hover) {
  opacity: 0.4;
}

.modal {
  position: fixed;
  inset: 0;
  background-color: rgba(20,32,37,0.55);
  backdrop-filter: blur(4px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal:target {
  display: flex;
}

.modal-content {
  background: #fff;
  color: #222;
  padding: 1.25rem;
  border-radius: 0.75rem;
  width: 90%;
  max-width: 30rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: pop 0.3s ease;
  position: relative;
  word-spacing: 0.1rem;
}

.modal-content h2 {
  margin-bottom: 0.75rem;
}

.modal-content p {
  line-height: 1.5;
}

.close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  text-decoration: none;
  font-size: 1.5rem;
  color: #333;
}

.close:hover {
  color: #000;
  transform: scale(1.2);
}

.modal-content .cookie-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.modal-content .accept,
.modal-content .reject,
.modal-content .customize {
  margin-top: 0.25rem;
  border-radius: 32px;
}

.modal-content .accept {
  background-color: #00bfa5;
  width: 100%;
  color: #fff;
  border: none;
}

.modal-content .reject,
.modal-content .customize {
  background-color: #e9fffa;
  color: #007a70;
  border: 1px solid rgba(0,0,0,0.06);
}

.modal-content .reject:hover,
.modal-content .customize:hover {
  background-color: #007a70;
  color: #fff;
}

.modal-content .accept:hover {
  background-color: #007a70;
}

.cookie-modal {
  width: min(900px, 92vw);
  max-height: min(86vh, 900px);
  border-radius: 28px;
  padding: 1.25rem 1.25rem 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.5rem;
}

.cookie-header {
  padding: 0.25rem 0.5rem 0.5rem;
}

.cookie-header h2 {
  margin: 0 0 .25rem;
  color: #124a45;
}

.cookie-intro {
  color: #3a6f69;
  line-height: 1.7;
  margin: 0.25rem 0 0.75rem;
}

.cookie-actions-top {
  display: flex;
  gap: 2rem;
  justify-content: flex-end;
  align-items: center;
  margin-top: 0.5rem;
}

.ghost-action {
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
  color: #1c6a63;
  text-decoration: none;
}

.ghost-action:hover {
  color: #0e4f49;
  text-decoration: underline;
}

.cookie-body {
  overflow: auto;
  padding: 0.25rem 0.5rem 1rem;
  max-height: 60vh;
}

.cookie-group details {
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: 0.85rem 0;
}

.cookie-group details:last-of-type {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.cookie-group summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
}

.cookie-group summary::-webkit-details-marker {
  display: none;
}

.cookie-group .sum-text .title {
  font-weight: 800;
  color: #1c5d58;
}

.cookie-group .sum-text .desc {
  color: #5a7a76;
  font-size: .95rem;
  margin-top: .25rem;
  line-height: 1.6;
}

.cookie-group[open],
.cookie-group details[open] {
  background: linear-gradient(180deg, rgba(240,246,238,.35), rgba(255,255,255,.35));
  border-radius: 12px;
}

.cookie-group details[open] {
  padding: 0.85rem;
}

.cookie-group .list {
  margin: 0.6rem 0 0 1.2rem;
  color: #496b66;
  line-height: 1.6;
}

.badge.locked {
  background: #eef7f5;
  color: #1b6b64;
  border: 1px solid rgba(0,0,0,0.06);
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.switch {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  user-select: none;
}

.switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.switch .track {
  width: 56px;
  height: 32px;
  background: #e8efee;
  border-radius: 999px;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
  transition: background 0.2s ease;
}

.switch .track::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  transition: left .2s ease, transform .2s ease;
}

.switch .switch-text::after {
  content: 'OFF';
  color: #6c8c89;
  font-weight: 800;
  letter-spacing: .06em;
  font-size: .8rem;
}

.switch input:checked + .track {
  background: #147d73;
}

.switch input:checked + .track::before {
  left: 28px;
  transform: translateX(0);
}

.switch input:checked ~ .switch-text::after {
  content: 'ON';
  color: #147d73;
}

.cookie-footer {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0.5rem 1.1rem;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-radius: 0 0 28px 28px;
}

.cookie-footer .legal {
  color: #5d7f7a;
}

.cookie-footer .legal a {
  color: #1c6a63;
  text-decoration: underline;
}

.btn-cta {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  background: #1b6b64;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(27,107,100,0.25);
}

.btn-cta:hover {
  background: #12544f;
}

.partners-link {
  display: inline-block;
  margin-top: 1rem;
  color: #1c6a63;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: none;
}

.partners-link:hover {
  text-decoration: underline;
}

@keyframes pop {
  from {
    transform: scale(0.96);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes glow {
  0% {
    text-shadow: 0 0 5px #ff005e, 0 0 15px #ff005e;
  }
  100% {
    text-shadow: 0 0 10px #00d4ff, 0 0 30px #00d4ff;
  }
}

@media (max-width: 1300px) {
  .main-title {
    padding-top: 5rem;
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
  }
  .dessert-summary-content {
    padding: 2.5rem 2rem;
    margin-bottom: 2.5rem;
    border-radius: 20px;
    max-width: 92%;
    margin-left: auto;
    margin-right: auto;
  }
  .team-member {
    padding: 1.2rem;
  }
}

@media (max-width: 960px) {
  .main-title {
    padding-top: 5rem;
    font-size: 2.5rem;
    margin-bottom: 2rem;
  }
  .dessert-summary-content {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 18px;
    max-width: 94%;
    margin-inline: auto;
  }
  .about-section-box p {
    font-size: 1.05rem;
    line-height: 1.65;
  }
  .team-info .team-name {
    font-size: 1.6rem;
  }
}

@media (max-width: 912px) {
  .main-title {
    padding-top: 7rem;
    font-size: 2.4rem;
    margin-bottom: 2rem;
  }
}

@media (max-width: 820px) {
  .main-title {
    padding-top: 6.5rem;
    font-size: 2.3rem;
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }
  
  .main-title {
    padding-top: 6rem;
    font-size: 2.2rem;
    margin-bottom: 1.8rem;
  }
  
  .dessert-summary-content {
    margin-bottom: 1.5rem;
    padding: 1.5rem 1rem;
    border-radius: 16px;
  }
  
  .dessert-summary-content img {
    margin-bottom: 1rem;
    border-radius: 12px;
  }
  
  .head-title {
    font-size: 2rem;
    padding-top: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .about-section-box {
    width: 94%;
    margin: 1.2rem auto;
  }
  
  .about-section-box p {
    font-size: 1rem;
    line-height: 1.65;
  }
  
  .team-section-wrapper {
    margin: 2rem auto;
    width: 96%;
  }
  
  .team-member {
    margin-bottom: 2rem;
    padding: 1.5rem 1rem;
    border-radius: 16px;
  }
  
  .team-pfp img {
    width: 140px;
    height: 140px;
    margin-bottom: 1rem;
  }
  
  .team-info {
    padding: 0.5rem;
  }
  
  .team-info .team-name {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
  }
  
  .team-info .team-role {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }
  
  .team-info .team-bio {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .contact-section-box {
    margin: 2.5rem auto;
  }
  
  .contact-section-box .head-title {
    font-size: 2rem;
  }
  
  .contact-section-box .social-links {
    gap: 0.6rem;
    margin: 1.2rem 0;
  }
  
  .cta-button {
    padding: 0.75rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .contact-section-box .contact-email-text {
    font-size: 0.95rem;
    padding: 0 0.5rem;
  }
  
  .footer-policy-links {
    gap: 1.2rem;
  }
  
  .cookie-modal {
    width: 100vw;
    max-height: 100vh;
    border-radius: 0;
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .main-title {
    padding-top: 5.5rem;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }
  
  .main-title::after {
    width: 90%;
    height: 0.8rem;
  }
  
  .dessert-summary-content {
    padding: 1.2rem 0.8rem;
    margin-bottom: 1.2rem;
    border-radius: 14px;
  }
  
  .dessert-summary-content img {
    border-radius: 10px;
    margin-bottom: 0.8rem;
  }
  
  .head-title {
    font-size: 1.6rem;
    padding-top: 1rem;
    margin-bottom: 0.8rem;
  }
  
  .about-section-box {
    width: 96%;
  }
  
  .about-section-box p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .team-section-wrapper {
    width: 98%;
  }
  
  .team-member {
    margin-bottom: 1.5rem;
    padding: 1.2rem 0.8rem;
    border-radius: 14px;
  }
  
  .team-pfp img {
    width: 120px;
    height: 120px;
    margin-bottom: 0.8rem;
  }
  
  .team-info .team-name {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
  }
  
  .team-info .team-role {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
  }
  
  .team-info .team-bio {
    font-size: 0.9rem;
    line-height: 1.55;
  }
  
  .contact-section-box {
    margin: 2rem auto;
  }
  
  .contact-section-box .head-title {
    font-size: 1.6rem;
  }
  
  .contact-section-box .social-links {
    gap: 0.5rem;
  }
  
  .cta-button {
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
  }
  
  .contact-section-box .contact-email-text {
    font-size: 0.9rem;
  }
  
  .footer-title {
    font-size: 1.8rem;
  }
  
  .socials-logo img {
    width: 2.2rem;
  }
  
  .footer-policy-links {
    gap: 0.8rem;
  }
  
  .footer-policy-links a {
    font-size: 0.8rem;
  }
}

@media (max-width: 375px) {
  .main-title {
    font-size: 1.6rem;
    padding-top: 5rem;
  }
  
  .head-title {
    font-size: 1.4rem;
  }
  
  .team-info .team-name {
    font-size: 1.2rem;
  }
  
  .team-info .team-bio {
    font-size: 0.85rem;
  }
}