/*=============== GOOGLE FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;600;700&display=swap');

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  --hue: 230;
  --first-color: hsl(var(--hue), 55%, 55%);
  --first-color-light: hsl(var(--hue), 55%, 65%);
  --first-color-alt: hsl(var(--hue), 50%, 50%);
  --title-color: hsl(var(--hue), 30%, 95%);
  --text-color: hsl(var(--hue), 20%, 80%);
  --text-color-light: hsl(var(--hue), 20%, 70%);
  --body-color: hsl(var(--hue), 40%, 8%);
  --container-color: hsl(var(--hue), 40%, 12%);
  --shadow-color: hsla(var(--hue), 90%, 30%, .1);
  --scroll-bar-color: hsl(var(--hue), 20%, 20%);
  --scroll-thumb-color: hsl(var(--hue), 20%, 30%);

  /*========== Font and typography ==========*/
  --body-font: 'Inter', sans-serif;
  --title-font: 'Playfair Display', serif;
  --biggest-font-size: 2.75rem;
  --h1-font-size: 2.25rem;
  --h2-font-size: 1.75rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

  /*========== Margenes Bottom ==========*/
  --mb-0-25: .25rem;
  --mb-0-5: .5rem;
  --mb-0-75: .75rem;
  --mb-1: 1rem;
  --mb-1-25: 1.25rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/* Fluid Typography - Responsive font scaling */
:root {
  --biggest-font-size: clamp(2rem, 5vw, 4rem);
  --h1-font-size: clamp(1.75rem, 4vw, 3rem);
  --h2-font-size: clamp(1.5rem, 3vw, 2.25rem);
  --h3-font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  --normal-font-size: clamp(0.875rem, 1.5vw, 1rem);
  --small-font-size: clamp(0.75rem, 1.25vw, 0.875rem);
  --smaller-font-size: clamp(0.6875rem, 1vw, 0.813rem);
}

/* Responsive typography */
@media screen and (min-width: 968px) {
  :root {
    --biggest-font-size: clamp(3rem, 5vw, 4rem);
    --h1-font-size: clamp(2.25rem, 4vw, 3rem);
    --h2-font-size: clamp(1.75rem, 3vw, 2.25rem);
    --h3-font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    --normal-font-size: clamp(0.938rem, 1.5vw, 1rem);
    --small-font-size: clamp(0.813rem, 1.25vw, 0.875rem);
    --smaller-font-size: clamp(0.75rem, 1vw, 0.813rem);
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body,
button,
input,
textarea {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  width: 100%;
}

/* Prevent horizontal overflow */
* {
  max-width: 100%;
}

/* Ensure all containers stay within viewport */
.container,
.hero__container,
.section {
  max-width: 100vw;
  overflow-x: hidden;
}

h1, h2, h3 {
  color: var(--title-color);
  font-family: var(--title-font);
  font-weight: var(--font-semi-bold);
  line-height: 1.2;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

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

/* Flexible images */
.hero__gif,
.about__img,
.gallery__img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--mb-1-5);
  padding-right: var(--mb-1-5);
}

.grid {
  display: grid;
}

.section {
  padding: 6.5rem 0 2rem;
}

.section__title {
  font-size: var(--h2-font-size);
  color: var(--title-color);
  text-align: center;
  margin-bottom: var(--mb-0-75);
}

.section__subtitle {
  display: block;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  text-align: center;
  margin-bottom: var(--mb-2-5);
}

.section__header {
  margin-bottom: var(--mb-2-5);
}

/*=============== BUTTONS ===============*/
.btn {
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
  background-color: var(--first-color);
  color: var(--title-color);
  padding: 1rem 1.75rem;
  border-radius: .5rem;
  font-weight: var(--font-medium);
  transition: .3s;
}

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

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

.btn--outline {
  background-color: transparent;
  border: 2px solid var(--first-color);
  color: var(--first-color);
}

.btn--outline:hover {
  background-color: var(--first-color);
  color: var(--title-color);
}

.btn--small {
  padding: .75rem 1.25rem;
  font-size: var(--small-font-size);
}

/*=============== SKIP LINK ===============*/
.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  transform: translateY(-200%);
  background: var(--first-color);
  color: var(--title-color);
  padding: .5rem .75rem;
  text-decoration: none;
  border-radius: .375rem;
  box-shadow: 0 2px 8px var(--shadow-color);
  z-index: var(--z-fixed);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/*=============== HEADER & NAV ===============*/
.header {
  width: 100%;
  background-color: var(--body-color);
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  transition: .4s;
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__brand {
  display: flex;
  align-items: center;
}

.nav__logo {
  display: flex;
  align-items: center;
  column-gap: .5rem;
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  font-size: var(--h3-font-size);
}

.nav__logo i {
  color: var(--first-color);
}

.nav__menu {
  position: relative;
}

.nav__list {
  display: flex;
  column-gap: 2rem;
}

.nav__link {
  color: var(--text-color);
  font-weight: var(--font-medium);
  transition: .3s;
}

.nav__link:hover,
.active-link {
  color: var(--first-color);
}

.nav__close,
.nav__toggle {
  display: none;
}

/* Change background header */
.scroll-header {
  background-color: var(--container-color);
  box-shadow: 0 1px 4px var(--shadow-color);
}

/*=============== HERO ===============*/
.hero {
  background-color: var(--container-color);
  padding: 8rem 0 6rem;
}

/*=============== DISCLAIMER PAGE ===============*/
.disclaimer__notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: linear-gradient(180deg, rgba(255, 193, 7, .08), rgba(255, 193, 7, .03));
  border: 1px solid rgba(255, 193, 7, .35);
  border-radius: .75rem;
  padding: 1rem 1.25rem;
  margin-bottom: var(--mb-2);
}
.disclaimer__notice i { color: #ffc107; font-size: 1.5rem; margin-top: .2rem; }
.disclaimer__notice h3 { margin: 0 0 .25rem 0; font-size: var(--h3-font-size); }
.disclaimer__notice p { margin: 0; color: var(--text-color); }

.disclaimer__card {
  background: var(--container-color);
  border: 1px solid var(--shadow-color);
  border-radius: .75rem;
  padding: 1.5rem;
  box-shadow: 0 6px 20px var(--shadow-color);
}
.disclaimer__card p + p { margin-top: .9rem; }
.disclaimer__lead { margin-top: 1.25rem; }
.disclaimer__card ul { list-style: none; padding-left: 0; margin: .5rem 0 0 0; }
.disclaimer__card ul li { position: relative; padding-left: 1.25rem; margin: .5rem 0; }
.disclaimer__card ul li::before { content: "\2713"; position: absolute; left: 0; color: var(--first-color); }
.disclaimer__copyright { margin-top: 1.25rem; font-size: var(--small-font-size); color: var(--text-color-light); }

.disclaimer__actions {
  margin-top: var(--mb-2);
  display: flex;
  gap: 1rem;
  justify-content: center;
}

@media screen and (max-width: 576px) {
  .disclaimer__actions { flex-direction: column; align-items: stretch; }
}

.hero__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 3rem;
}

.hero__content {
  order: 1;
}

.hero__title {
  font-size: var(--biggest-font-size);
  font-family: var(--title-font);
  font-weight: var(--font-bold);
  margin-bottom: var(--mb-1);
}

.hero__title-accent {
  color: var(--first-color);
}

.hero__description {
  font-size: var(--normal-font-size);
  margin-bottom: var(--mb-2);
  color: var(--text-color-light);
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: var(--mb-1-5);
}

.hero__notice {
  background-color: var(--body-color);
  padding: 1rem;
  border-radius: .5rem;
  border-left: 4px solid var(--first-color);
}

.hero__notice p {
  margin: 0;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.hero__image {
  order: 2;
  display: flex;
  justify-content: center;
}

.hero__visual {
  max-width: 400px;
}

.hero__gif {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 8px 32px var(--shadow-color);
}

/*=============== ABOUT/MY STORY ===============*/
.about__container {
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 3rem;
}

.story__content p {
  margin-bottom: var(--mb-1);
  text-align: justify;
}

.story__content h3 {
  color: var(--first-color);
  margin: var(--mb-1-5) 0 var(--mb-1);
}

.story__link {
  color: var(--first-color);
  font-weight: var(--font-medium);
}

.story__link:hover {
  text-decoration: underline;
}

.about__img {
  border-radius: 1rem;
  box-shadow: 0 8px 32px var(--shadow-color);
}

/*=============== RESOURCES/TREATMENTS ===============*/
.resources__container {
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(1rem, 3vw, 2rem);
}

.resource__card {
  background-color: var(--container-color);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  transition: .3s;
  border: 1px solid transparent;
}

.resource__card:hover {
  transform: translateY(-5px);
  border-color: var(--first-color);
}

.resource__icon {
  width: 60px;
  height: 60px;
  background-color: var(--first-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--mb-1);
}

.resource__icon i {
  font-size: 1.5rem;
  color: var(--title-color);
}

.resource__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
}

.resource__description {
  margin-bottom: var(--mb-1-5);
  color: var(--text-color-light);
}

.treatment__details {
  text-align: left;
  background-color: var(--body-color);
  padding: 1.5rem;
  border-radius: .5rem;
  margin-top: var(--mb-1);
}

.treatment__details p {
  margin-bottom: var(--mb-0-5);
  font-size: var(--small-font-size);
}

.treatment__details ol {
  margin-left: 1rem;
  margin-bottom: var(--mb-0-5);
}

.treatment__details li {
  margin-bottom: var(--mb-0-25);
  font-size: var(--small-font-size);
}

/*=============== LIFESTYLE ===============*/
.lifestyle__container {
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(1rem, 3vw, 2rem);
}

.lifestyle__details {
  text-align: left;
  background-color: var(--body-color);
  padding: 1rem;
  border-radius: .5rem;
  margin-top: var(--mb-1);
}

.lifestyle__details p {
  margin: 0;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

/*=============== STORIES ===============*/
.stories__container {
  grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
  gap: clamp(1rem, 3vw, 2rem);
}

.story__card {
  background-color: var(--container-color);
  padding: 2rem;
  border-radius: 1rem;
  transition: .3s;
}

.story__card:hover {
  transform: translateY(-5px);
}

.story__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: var(--mb-1-5);
}

.story__avatar {
  width: 50px;
  height: 50px;
  background-color: var(--first-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story__avatar i {
  color: var(--title-color);
  font-size: 1.25rem;
}

.story__name {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-25);
}

.story__role {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.story__content p {
  margin-bottom: var(--mb-1);
  text-align: justify;
}

.story__cta {
  background-color: var(--body-color);
  padding: 1.5rem;
  border-radius: .5rem;
  margin-top: var(--mb-1);
  text-align: center;
}

.story__cta h4 {
  color: var(--first-color);
  margin-bottom: var(--mb-0-5);
}

.story__cta p {
  margin-bottom: var(--mb-1);
  font-size: var(--small-font-size);
}

/*=============== GALLERY ===============*/
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: clamp(0.5rem, 2vw, 1rem);
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: .5rem;
  height: 200px;
}

.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .3s;
}

.gallery__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.8) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: .3s;
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

.gallery__item:hover .gallery__img {
  transform: scale(1.1);
}

.gallery__overlay h4 {
  color: var(--title-color);
  margin-bottom: var(--mb-0-25);
}

.gallery__overlay p {
  color: var(--text-color-light);
  font-size: var(--small-font-size);
  margin: 0;
}

/*=============== CONTACT ===============*/
.contact__container {
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.contact__title {
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-1);
}

.contact__description {
  margin-bottom: var(--mb-2);
  color: var(--text-color-light);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact__card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--container-color);
  padding: 1.5rem;
  border-radius: .5rem;
}

.contact__card-icon {
  width: 40px;
  height: 40px;
  background-color: var(--first-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--title-color);
  font-size: 1.25rem;
}

.contact__card-title {
  font-size: var(--normal-font-size);
  margin-bottom: var(--mb-0-25);
}

.contact__card-data {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact__form-group {
  display: flex;
  flex-direction: column;
}

.contact__form-label {
  margin-bottom: var(--mb-0-5);
  color: var(--title-color);
  font-weight: var(--font-medium);
}

.contact__form-input {
  background-color: var(--container-color);
  border: 1px solid var(--text-color-light);
  border-radius: .5rem;
  padding: 1rem;
  color: var(--text-color);
  font-family: var(--body-font);
}

.contact__form-input:focus {
  outline: none;
  border-color: var(--first-color);
}

.contact__form-textarea {
  resize: vertical;
  min-height: 120px;
}

.contact__form-button {
  justify-self: flex-start;
  margin-top: var(--mb-1);
}

/*=============== FOOTER ===============*/
.footer {
  background-color: var(--container-color);
  padding: 4rem 0 2rem;
}

.footer__container {
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: clamp(1rem, 3vw, 2rem);
}

.footer__logo {
  display: flex;
  align-items: center;
  column-gap: .5rem;
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
}

.footer__logo i {
  color: var(--first-color);
}

.footer__description {
  margin-bottom: var(--mb-1-5);
  color: var(--text-color-light);
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  background-color: var(--first-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--title-color);
  transition: .3s;
}

.footer__social-link:hover {
  background-color: var(--first-color-alt);
  transform: translateY(-2px);
}

.footer__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer__link {
  color: var(--text-color-light);
  transition: .3s;
}

.footer__link:hover {
  color: var(--first-color);
}

.footer__bottom {
  border-top: 1px solid var(--text-color-light);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
}

.footer__copy {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.footer__copy-link {
  color: var(--first-color);
}

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

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  background-color: var(--first-color);
  opacity: .8;
  padding: .5rem;
  border-radius: .4rem;
  z-index: var(--z-tooltip);
  transition: .4s;
}

.scrollup:hover {
  background-color: var(--first-color-alt);
  opacity: 1;
}

.scrollup__icon {
  color: var(--title-color);
  font-size: 1.2rem;
}

/* Show scroll */
.show-scroll {
  bottom: 3rem;
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: .60rem;
  background-color: var(--scroll-bar-color);
  border-radius: .5rem;
}

::-webkit-scrollbar-thumb {
  background-color: var(--scroll-thumb-color);
  border-radius: .5rem;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--text-color-light);
}

/*=============== BREAKPOINTS ===============*/
/* For extra large devices (1400px and up) */
@media screen and (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .hero__container {
    gap: 4rem;
  }
  
  .resources__container,
  .lifestyle__container {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

/* For large devices (1200px and up) */
@media screen and (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* For large devices (992px and up) */
@media screen and (min-width: 992px) {
  .resources__container,
  .lifestyle__container {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .stories__container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* For large devices (max-width: 1199px) */
@media screen and (max-width: 1199px) {
  .container {
    padding-left: var(--mb-2);
    padding-right: var(--mb-2);
  }
}

/* For medium-large devices (max-width: 991px) */
@media screen and (max-width: 991px) {
  .container {
    padding-left: var(--mb-1-5);
    padding-right: var(--mb-1-5);
  }

  .hero__container,
  .about__container,
  .contact__container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero__content {
    order: 2;
    text-align: center;
  }

  .hero__image {
    order: 1;
  }

  .hero__buttons {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .resources__container,
  .lifestyle__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* For medium devices (max-width: 768px) */
@media screen and (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    background-color: var(--container-color);
    padding: 4rem 0 3rem;
    transition: .4s;
    z-index: var(--z-fixed);
    border-radius: 0 0 1.5rem 1.5rem;
    box-shadow: 0 4px 16px var(--shadow-color);
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .nav__close,
  .nav__toggle {
    display: block;
    color: var(--title-color);
    font-size: 1.25rem;
    cursor: pointer;
  }

  .nav__close {
    position: absolute;
    top: .75rem;
    right: 1rem;
  }

  .show-menu {
    top: 0;
  }

  .section {
    padding: 4.5rem 0 2rem;
  }

  .hero {
    padding: 6rem 0 4rem;
  }
  
  .hero__title {
    font-size: 2.5rem;
  }

  .resources__container,
  .lifestyle__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stories__container {
    grid-template-columns: 1fr;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .contact__info {
    gap: 1rem;
  }
  
  .footer__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* For small-medium devices (max-width: 640px) */
@media screen and (max-width: 640px) {
  .container {
    padding-left: var(--mb-1);
    padding-right: var(--mb-1);
  }
  
  .hero__title {
    font-size: 2.25rem;
  }
  
  .section__title {
    font-size: 1.75rem;
  }
  
  .treatment__details,
  .lifestyle__details {
    padding: 1rem;
  }
}

/* For small devices (max-width: 576px) */
@media screen and (max-width: 576px) {
  .container {
    padding-left: var(--mb-1);
    padding-right: var(--mb-1);
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .contact__container {
    gap: 1.5rem;
  }

  .footer__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  
  .resource__card,
  .story__card {
    padding: 1.5rem;
  }
  
  .nav__list {
    gap: 1.5rem;
  }
}

/* For extra small devices (max-width: 480px) */
@media screen and (max-width: 480px) {
  :root {
    --biggest-font-size: 2rem;
    --h1-font-size: 1.75rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.125rem;
  }
  
  .hero {
    padding: 5rem 0 3rem;
  }
  
  .section {
    padding: 3.5rem 0 1.5rem;
  }
  
  .hero__notice {
    padding: 0.75rem;
  }
  
  .contact__card {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
  
  .story__header {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
}

/* For very small devices (max-width: 350px) */
@media screen and (max-width: 350px) {
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .hero__title {
    font-size: 1.75rem;
    line-height: 1.1;
  }

  .section__title {
    font-size: 1.375rem;
  }
  
  .resource__card,
  .story__card {
    padding: 1rem;
  }
  
  .hero__buttons {
    gap: 0.75rem;
  }
  
  .btn {
    padding: 0.875rem 1.25rem;
    font-size: 0.875rem;
  }
  
  .treatment__details,
  .lifestyle__details {
    padding: 0.75rem;
  }
  
  .contact__form-input {
    padding: 0.75rem;
  }
}

/* Landscape orientation adjustments */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .hero {
    padding: 4rem 0 2rem;
  }
  
  .section {
    padding: 3rem 0 1.5rem;
  }
  
  .nav__menu {
    padding: 2rem 0 1.5rem;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero__gif,
  .about__img,
  .gallery__img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print styles */
@media print {
  .nav,
  .hero__buttons,
  .contact__form,
  .footer__social,
  .scrollup {
    display: none !important;
  }
  
  .hero,
  .section {
    padding: 1rem 0;
  }
  
  .container {
    max-width: 100%;
    padding: 0;
  }
}
