@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap");

:root {
  --wine: #79152d;
  --wine-dark: #500d1e;
  --wine-soft: #f7eef0;
  --ink: #171719;
  --muted: #6f6a6b;
  --paper: #fbfaf8;
  --white: #fff;
  --line: #e8e2df;
  --green: #18784a;
  --shadow: 0 18px 45px rgba(44, 20, 25, 0.09);
  --radius: 4px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid #d4a05d;
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: -100px;
  left: 1rem;
  padding: 0.65rem 1rem;
  color: var(--white);
  background: var(--ink);
}
.skip-link:focus {
  top: 1rem;
}
.container {
  width: min(calc(100% - 3rem), var(--content));
  margin: auto;
}
.section-space {
  padding: clamp(4.5rem, 8vw, 8rem) 0;
}
.section-heading {
  max-width: 650px;
  margin-bottom: 3rem;
}
.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}
.section-heading h2,
.about-content h2,
.retina-heading h2,
.alert-heading h2 {
  margin: 0.3rem 0 1rem;
  font:
    800 clamp(2.1rem, 4.2vw, 3.5rem) / 1.08 "Manrope",
    sans-serif;
  letter-spacing: -0.04em;
}
.section-heading > p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
}
.eyebrow {
  color: var(--wine);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow-light {
  color: #e9b7c0;
}

.button {
  display: inline-flex;
  min-height: 3.3rem;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  transition:
    transform 0.25s,
    background 0.25s,
    color 0.25s,
    border-color 0.25s;
}
.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--wine);
}
.button-primary:hover {
  background: var(--wine-dark);
}
.button-outline {
  border-color: var(--ink);
}
.button-outline:hover {
  color: var(--white);
  background: var(--ink);
}
.button-dark {
  color: var(--white);
  background: var(--ink);
}
.button-small {
  min-height: 2.55rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.78rem;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--wine);
  font-size: 0.88rem;
  font-weight: 700;
}
.text-link span {
  transition: transform 0.2s;
}
.text-link:hover span {
  transform: translateX(4px);
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}
.center-action,
.center-link {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(251, 250, 248, 0.94);
  border-bottom: 1px solid rgba(232, 226, 223, 0.8);
  backdrop-filter: blur(14px);
}
.header-inner {
  display: flex;
  min-height: 5.2rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  width: 155px;
  flex: 0 0 auto;
}
.brand img {
  width: 100%;
  height: auto;
}
.main-navigation {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 1.4vw, 1.5rem);
  font-size: 0.78rem;
  font-weight: 600;
}
.main-navigation > a:not(.button) {
  position: relative;
  color: #4e494a;
}
.main-navigation > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -0.5rem;
  left: 0;
  height: 1px;
  background: var(--wine);
  content: "";
  transform: scaleX(0);
  transition: transform 0.2s;
}
.main-navigation > a:not(.button):hover::after {
  transform: scaleX(1);
}
.menu-toggle {
  display: none;
  padding: 0.5rem;
  border: 0;
  background: transparent;
}
.menu-toggle span {
  display: block;
  width: 1.5rem;
  height: 2px;
  margin: 4px;
  background: var(--ink);
}

.hero {
  display: flex;
  min-height: calc(100vh - 5.2rem);
  align-items: center;
  background: linear-gradient(110deg, #fbfaf8 0 54%, #f3e8e8 54% 100%);
  scroll-margin-top: 5.5rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(350px, 0.98fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
}
.hero h1 {
  max-width: 700px;
  margin: 0.5rem 0 1.3rem;
  font:
    800 clamp(2.85rem, 5.7vw, 5.2rem) / 1.03 "Manrope",
    sans-serif;
  letter-spacing: -0.06em;
}
.hero-text {
  max-width: 570px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.82rem;
}
.hero-visual {
  position: relative;
  padding: 2rem 2rem 2rem 0;
}
.hero-image-wrap {
  position: relative;
  z-index: 1;
  overflow: hidden;
  max-height: 650px;
  aspect-ratio: 0.84;
  border-radius: 1px;
  box-shadow: var(--shadow);
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-visual::before {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  width: 80%;
  height: 80%;
  border: 1px solid rgba(121, 21, 45, 0.4);
  content: "";
}
.hero-stamp {
  position: absolute;
  z-index: 2;
  right: -1rem;
  bottom: 0;
  display: grid;
  gap: 0.1rem;
  padding: 1.1rem 1.4rem;
  color: var(--white);
  background: var(--wine);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-stamp strong {
  font:
    700 1.2rem / 1 "Manrope",
    sans-serif;
}

.intro-section {
  background: var(--white);
}
.specialty-grid,
.condition-grid,
.health-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.specialty-card {
  position: relative;
  min-height: 270px;
  padding: 2rem;
  border: 1px solid var(--line);
  background: var(--paper);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.specialty-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.specialty-card-featured {
  color: var(--white);
  background: var(--wine);
  border-color: var(--wine);
}
.specialty-card-featured .text-link {
  color: #f2c4cd;
}
.card-number {
  color: var(--wine);
  font-size: 0.75rem;
  font-weight: 700;
}
.specialty-card-featured .card-number {
  color: #edb2bd;
}
.line-icon {
  margin: 2.2rem 0 1.3rem;
  color: var(--wine);
  font-size: 3rem;
  line-height: 1;
}
.specialty-card-featured .line-icon {
  color: #f4c2cb;
}
.specialty-card h3 {
  margin: 0 0 0.6rem;
  font:
    700 1.4rem "Manrope",
    sans-serif;
}
.specialty-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.specialty-card-featured p {
  color: #f7e1e5;
}

.about-section {
  background: #f2ebe7;
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}
.about-visual {
  position: relative;
  padding: 0 0 1.6rem 1.6rem;
}
.about-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 0.84;
  object-fit: cover;
  object-position: center;
}
.about-visual::before {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  bottom: 0;
  left: 0;
  border: 1px solid var(--wine);
  content: "";
}
.image-caption {
  position: absolute;
  z-index: 2;
  right: -2rem;
  bottom: 0;
  max-width: 190px;
  padding: 1rem;
  color: var(--white);
  background: var(--ink);
  font-size: 0.8rem;
  line-height: 1.35;
}
.about-content > p {
  max-width: 550px;
  color: var(--muted);
  font-size: 1.05rem;
}
.education-block {
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid #d9c8c4;
  border-bottom: 1px solid #d9c8c4;
}
.education-block h3 {
  margin: 0 0 1rem;
  font:
    700 1rem "Manrope",
    sans-serif;
}
.check-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  color: #595152;
  font-size: 0.9rem;
  list-style: none;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}
.check-list li::before {
  flex: 0 0 0.7rem;
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.45rem;
  color: var(--wine);
  border: 2px solid var(--wine);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px #f2ebe7;
  content: "";
}
.retina-section {
  color: var(--white);
  background: var(--wine-dark);
}
.retina-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 4rem;
  margin-bottom: 3rem;
}
.retina-heading > p {
  margin: 0;
  color: #e9dadd;
  font-size: 1rem;
}
.condition-grid {
  grid-template-columns: repeat(3, 1fr);
}
.condition-card {
  min-height: 190px;
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.25s;
}
.condition-card:hover {
  background: rgba(255, 255, 255, 0.08);
}
.condition-card span {
  color: #db9eaa;
  font-size: 0.75rem;
  font-weight: 700;
}
.condition-card h3 {
  margin: 2.3rem 0 0.5rem;
  font:
    600 1.05rem "Manrope",
    sans-serif;
}
.condition-card p {
  margin: 0;
  color: #e3cdd1;
  font-size: 0.84rem;
}

.alert-section {
  background: #ead6d7;
}
.alert-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 8rem;
}
.alert-heading p {
  max-width: 500px;
  color: #65585a;
}
.alert-heading .button {
  margin-top: 1.5rem;
}
.alert-list {
  border-top: 1px solid #c9abad;
}
.alert-list div {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid #c9abad;
}
.alert-list span {
  width: 2rem;
  color: var(--wine);
  font-size: 0.75rem;
  font-weight: 700;
}
.alert-list strong {
  font:
    600 clamp(1rem, 1.8vw, 1.35rem) "Manrope",
    sans-serif;
}

.treatments-section {
  background: var(--white);
}
.treatment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.treatment-card {
  padding: 2rem;
  border-top: 3px solid var(--wine);
  background: var(--paper);
}
.category-label {
  display: block;
  margin-bottom: 1.2rem;
  color: var(--wine);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.treatment-card h3 {
  margin: 0 0 1.5rem;
  font:
    700 1.3rem "Manrope",
    sans-serif;
}
.treatment-card ul {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.9rem;
  list-style: none;
}
.treatment-card li {
  padding-left: 1rem;
  border-left: 1px solid #d8c1c5;
}

.eye-health,
.locations-section {
  background: #f5f1ec;
}
.health-grid {
  grid-template-columns: repeat(4, 1fr);
}
.health-card {
  padding: 1.3rem;
  border: 1px solid var(--line);
  background: var(--white);
}
.health-card span {
  color: var(--wine);
  font-size: 0.72rem;
  font-weight: 700;
}
.health-card h3 {
  margin: 1.6rem 0 0.35rem;
  font:
    600 1rem "Manrope",
    sans-serif;
}
.health-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.blog-section {
  background: var(--white);
}
.blog-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  max-width: none;
  align-items: end;
  gap: 4rem;
}
.blog-heading > p {
  margin: 0 0 1rem;
  color: var(--muted);
}
.blog-grid {
  grid-template-columns: repeat(3, 1fr);
}
.blog-card {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.article-art {
  display: flex;
  height: 145px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.3rem;
  color: var(--wine);
  background: var(--wine-soft);
  font:
    700 2.2rem "Manrope",
    sans-serif;
}
.art-two,
.art-four {
  background: #ebe8df;
}
.art-three,
.art-six {
  background: #e8e4e8;
}
.art-five {
  background: #e7d6d0;
}
.blog-card .category-label {
  margin-bottom: 0.5rem;
}
.blog-card h3 {
  margin: 0 0 0.5rem;
  font:
    700 1.08rem / 1.35 "Manrope",
    sans-serif;
}
.blog-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.location-card {
  padding: 2rem;
  border: 1px solid var(--line);
  background: var(--white);
}
.location-index {
  color: var(--wine);
  font-size: 0.75rem;
  font-weight: 700;
}
.location-card h3 {
  margin: 2rem 0 0.25rem;
  font:
    700 1.4rem "Manrope",
    sans-serif;
}
.location-card p,
.location-card address {
  margin: 0;
  color: var(--muted);
  font-style: normal;
}
.location-hours {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 2rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}
.location-hours strong {
  color: var(--ink);
}
.location-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.locations-note {
  margin: 2rem 0 0;
  color: var(--wine);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.site-footer {
  padding: 4rem 0 1.5rem;
  color: var(--white);
  background: var(--ink);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
}
.site-footer p {
  margin: 0;
  color: #b3abad;
  font-size: 0.82rem;
}
.site-footer h3 {
  margin: 0 0 1.2rem;
  color: #e3dadd;
  font:
    600 0.82rem "Manrope",
    sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-footer h3::after {
  display: block;
  width: 2rem;
  height: 2px;
  margin-top: 0.7rem;
  background: var(--wine);
  content: "";
}
.footer-links {
  display: grid;
  gap: 0.55rem;
  color: #b3abad;
  font-size: 0.82rem;
}
.footer-links a:hover {
  color: var(--white);
}
.footer-professional {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1.2rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid #373538;
  color: #777174;
  font-size: 0.75rem;
}
.floating-whatsapp {
  position: fixed;
  z-index: 15;
  right: 1.5rem;
  bottom: 1.5rem;
  display: grid;
  width: 3.6rem;
  height: 3.6rem;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  box-shadow: 0 10px 25px rgba(24, 120, 74, 0.28);
  font-size: 1.8rem;
  animation: float-in 1s ease both;
}
.floating-whatsapp svg {
  width: 1.9rem;
  height: 1.9rem;
}
.floating-whatsapp:hover {
  transform: translateY(-3px);
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
}
.js .reveal.reveal-visible {
  animation: reveal 0.7s ease both;
}
.js .reveal.reveal-visible:nth-child(2) {
  animation-delay: 0.08s;
}
.js .reveal.reveal-visible:nth-child(3) {
  animation-delay: 0.16s;
}
.js .reveal.reveal-visible:nth-child(4) {
  animation-delay: 0.24s;
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 1080px) {
  .main-navigation {
    position: absolute;
    top: calc(100% + 1px);
    right: 1.5rem;
    left: 1.5rem;
    display: none;
    padding: 1.2rem;
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
  }
  .main-navigation.is-open {
    display: grid;
  }
  .main-navigation > a:not(.button) {
    display: none;
  }
  .main-navigation.is-open > a:not(.button) {
    display: block;
    padding: 0.45rem 0;
  }
  .main-navigation .button {
    width: 100%;
    margin-top: 0.4rem;
  }
  .menu-toggle {
    display: block;
    order: 2;
  }
  .header-inner {
    position: relative;
  }
  .hero-grid {
    gap: 3rem;
  }
  .health-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 2rem), var(--content));
  }
  .section-space {
    padding: 4.5rem 0;
  }
  .hero {
    min-height: auto;
    padding-top: 3.5rem;
    background: var(--paper);
  }
  .hero-grid,
  .about-grid,
  .retina-heading,
  .alert-layout,
  .blog-heading {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero h1 {
    font-size: clamp(2.5rem, 11.5vw, 4rem);
  }
  .hero-visual {
    order: -1;
    max-width: 510px;
    padding-right: 1rem;
  }
  .hero-image-wrap {
    aspect-ratio: auto;
  }
  .hero-image {
    height: auto;
    object-fit: contain;
  }
  .specialty-grid,
  .condition-grid,
  .treatment-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .specialty-card,
  .condition-card {
    min-height: auto;
  }
  .condition-card h3 {
    margin-top: 1rem;
  }
  .about-visual {
    max-width: 500px;
    padding-left: 1rem;
  }
  .image-caption {
    right: -0.5rem;
  }
  .alert-list {
    margin-top: 0.5rem;
  }
  .location-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    gap: 2.5rem 1.5rem;
  }
  .footer-bottom {
    display: grid;
    margin-top: 3rem;
  }
  .floating-whatsapp {
    right: 1rem;
    bottom: 1rem;
  }
}

@media (max-width: 430px) {
  .header-inner {
    min-height: 4.5rem;
  }
  .brand {
    width: 132px;
  }
  .hero h1 {
    letter-spacing: -0.05em;
  }
  .button-row {
    display: grid;
  }
  .button-row .button {
    width: 100%;
  }
  .health-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .location-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .location-actions .button {
    width: 100%;
  }
  .hero-stamp {
    right: -0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
  .reveal,
  .floating-whatsapp {
    animation: none;
  }
  .button,
  .text-link span {
    transition: none;
  }
}
