/* Los colores de Guanacaste acompañan la atención de Ópticas Pacífico. */
:root {
  --ink: #164c48;
  --muted: #4a6863;
  --blue: #096b63;
  --blue-dark: #07554e;
  --line: #c9dcd3;
  --soft: #dcefe5;
  --width: 1120px;
  background: #fffaf2;
}

body { background: #fffaf2; }
h1, h2, h3 { color: var(--ink); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline-color: #ac472f; }
.site-header { background: #fffaf2; border-bottom: 0; }
.brand { color: #164c48; }
.brand img { mix-blend-mode: multiply; }
.header-inner nav a:hover { color: #a4432d; }
.language-switch button { color: #526d64; }
.language-switch button[aria-pressed=true] { color: #164c48; }
.local-nav { background: rgba(22, 76, 72, .98); border-bottom-color: #164c48; }
.local-nav span, .local-nav a { color: #fffaf2; }
.local-nav a:hover { color: #ffd4bb; }
.local-nav a:focus-visible { outline-color: #ffd4bb; }

.hero {
  max-width: none;
  margin: 0;
  padding: 48px 0 52px;
  text-align: left;
  background: #d6ebe2;
  border-bottom: 0;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 52px;
}
.hero-content { min-width: 0; padding-block: 18px; }
.hero .eyebrow {
  color: #245d50;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  margin-bottom: 23px;
}
.hero h1 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(42px, 4.1vw, 56px);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 650;
  text-wrap: balance;
}
.hero h1 > span:last-child { color: #087467; }
.hero-copy {
  max-width: 455px;
  margin: 25px 0 27px;
  font-size: 18px;
  line-height: 1.6;
  color: #345c54;
}
.hero-actions { justify-content: flex-start; gap: 11px; }
.button {
  min-height: 48px;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 600;
  background: #096b63;
  color: #fff;
  box-shadow: none;
}
.button:hover { background: #07554e; }
.hero-actions .button:last-child { background: #ffc1a5; color: #493427; }
.hero-actions .button:last-child:hover { background: #f6ae8d; }
.hero .fine-print {
  max-width: 410px;
  margin: 18px 0 0;
  color: #42645b;
  font-size: 12px;
  line-height: 1.55;
}
.hero-photo {
  position: relative;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  border-radius: 140px 30px 30px 30px;
  background: #eed7b5;
  aspect-ratio: 1 / 1.1;
  box-shadow: 14px 14px 0 #b9d6c8;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}
.photo-note {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  width: fit-content;
  max-width: calc(100% - 48px);
  padding: 16px 20px;
  border-radius: 16px;
  background: #164c48;
  color: #fffaf2;
  text-align: left;
}
.photo-note span:first-child { font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.photo-note span:last-child { color: #d3e7df; font-size: 11px; letter-spacing: .03em; }

.feature { gap: 80px; padding-block: 78px 38px; }
.feature-copy h2 { font-size: 43px; }
.feature-copy > p:not(.eyebrow), .section-intro > p:not(.eyebrow) { color: #41615a; }
.eyebrow { color: #7c4f35; font-weight: 700; }
.text-link { color: #07695f; }
.text-link:hover { color: #a4432d; }
.vision-illustration {
  min-height: 380px;
  background: #f5d5b6;
  border-radius: 48% 48% 30% 45%;
}
.eye-art #halo stop:first-child, .eye-art #halo stop:last-child { stop-color: #f5d5b6; }
.eye-art #iris stop:first-child { stop-color: #269d89; }
.eye-art #iris stop:last-child { stop-color: #096b63; }
.feature-reverse { padding-block: 38px 76px; }
.brand-illustration { min-height: 380px; }
.brand-orbit { inset: 0; border-radius: 35px 48% 48% 35px; background: #dce9c8; }
.brand-illustration p { color: #385f46; }
.step-number { width: 30px; flex-basis: 30px; height: 30px; background: #d6ebe2; border-color: #aac8b9; color: #164c48; }
.steps li:nth-child(2) .step-number { background: #ffd8c0; border-color: #e4b594; }
.steps li:nth-child(3) .step-number { background: #f5e8ae; border-color: #d6c889; }
.steps p { color: #4a6863; }

.locations { padding-block: 35px 75px; }
.section-intro { max-width: 680px; }
.section-intro h2 { font-size: 44px; }
.branch-grid, .review-grid { gap: 25px; }
.branch-card {
  padding: 39px 40px 34px;
  border-radius: 24px;
  background: #d8e9c8;
  border-top: 5px solid #4d7a4b;
}
.branch-card:nth-child(2) { background: #f8d5bc; border-top-color: #ce7756; }
.branch-location { color: #486344; font-weight: 700; }
.branch-card:nth-child(2) .branch-location { color: #795039; }
.branch-card h3 { font-size: 38px; }
.branch-card address { color: #365a4e; }
.branch-card:nth-child(2) address { color: #664c3d; }
.phone-link { color: #164c48; }
.branch-card:nth-child(2) .button { background: #164c48; }
.branch-card:nth-child(2) .button:hover { background: #0e3e3a; }
.location-note { color: #526b61; }

.reviews { padding-block: 8px 80px; }
.review-summary strong { color: #164c48; }
.review-summary > span { color: #526b61; }
.review-card { background: #f5e9b9; border: 0; border-radius: 24px; padding: 36px; }
.review-card:nth-child(2) { background: #d6ebe2; border: 0; }
.review-stars { color: #806024; }
.review-card blockquote { color: #254b3f; }
.review-author > span { color: #536c59; }
.review-note { color: #526b61; }

.faq { padding-block: 24px 85px; }
.faq-list { border-top: 3px solid #df946f; }
.faq details p { color: #4a6863; }
.faq summary::after { color: #096b63; }
.site-footer { background: #164c48; color: #e5f0e7; border-top: 7px solid #f0ae83; }
.footer-intro img { background: #fffaf2; }
.footer-intro strong, .footer-contact a { color: #fffaf2; }
.footer-contact a:hover { color: #ffd4bb; }
.footer-note, .footer-bottom { color: #d0e5dc; }
.site-footer a:focus-visible { outline-color: #ffd4bb; }

@media (max-width: 1000px) {
  .hero-layout { gap: 30px; }
  .hero h1 { font-size: 43px; }
  .hero-copy { font-size: 17px; }
  .hero-photo { aspect-ratio: 1 / 1.25; border-top-left-radius: 110px; }
  .hero-actions .button { padding-inline: 17px; font-size: 13px; }
  .feature { gap: 48px; }
  .feature-copy h2 { font-size: 38px; }
  .branch-card { padding: 32px; }
}

@media (max-width: 800px) {
  .hero { padding-block: 36px 45px; }
  .hero-layout { gap: 24px; grid-template-columns: 1.05fr .95fr; }
  .hero h1 { font-size: 37px; }
  .hero .eyebrow { font-size: 9px; margin-bottom: 18px; }
  .hero-copy { margin-block: 20px 22px; font-size: 16px; }
  .hero-actions { gap: 9px; }
  .hero-actions .button { font-size: 12px; padding-inline: 15px; gap: 8px; }
  .hero-photo { aspect-ratio: 1 / 1.48; border-top-left-radius: 80px; box-shadow: 9px 9px 0 #b9d6c8; }
  .hero .fine-print { font-size: 11px; }
  .photo-note { left: 16px; right: 16px; bottom: 16px; max-width: calc(100% - 32px); padding: 13px 15px; }
  .photo-note span:first-child { font-size: 14px; }
  .photo-note span:last-child { font-size: 10px; }
  .feature { gap: 35px; padding-top: 55px; }
  .feature-copy h2 { font-size: 34px; }
  .vision-illustration, .brand-illustration { min-height: 320px; }
  .branch-card { padding: 30px 28px; }
  .review-card { padding: 29px; }
}

@media (max-width: 650px) {
  .hero { padding-block: 29px 38px; }
  .hero-layout { grid-template-columns: 1fr; gap: 29px; }
  .hero-content { padding: 0; }
  .hero h1 { font-size: clamp(35px, 8.8vw, 48px); max-width: 480px; letter-spacing: -.045em; }
  .hero .eyebrow { font-size: 9px; margin-bottom: 17px; }
  .hero-copy { max-width: 460px; font-size: 16px; line-height: 1.55; margin: 20px 0 22px; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { min-height: 47px; flex: 1 1 130px; max-width: 225px; font-size: 13px; padding: 13px 15px; }
  .hero .fine-print { margin: 14px 0 0; max-width: 400px; font-size: 11px; }
  .hero-photo { width: 100%; aspect-ratio: 1.16 / 1; border-radius: 70px 24px 24px 24px; box-shadow: 7px 8px 0 #b9d6c8; }
  .hero-photo img { object-position: 61% 42%; }
  .photo-note { left: 17px; bottom: 17px; right: 17px; max-width: calc(100% - 34px); padding: 12px 15px; border-radius: 12px; gap: 4px; }
  .photo-note span:first-child { font-size: 14px; }
  .photo-note span:last-child { font-size: 10px; }
  .feature { grid-template-columns: 1fr; gap: 23px; padding-block: 45px 23px; }
  .feature-copy { width: 100%; max-width: 460px; }
  .feature-copy h2 { font-size: 34px; max-width: 380px; }
  .vision-illustration { min-height: 0; max-width: 350px; width: 100%; margin: 0 auto; padding: 5px; }
  .feature-reverse { padding-block: 22px 47px; gap: 27px; }
  .feature-reverse .brand-illustration { grid-row: 1; }
  .brand-illustration { min-height: 265px; max-width: 350px; width: 100%; margin: 0 auto; }
  .brand-orbit { border-radius: 28px 46% 46% 28px; }
  .locations { padding-block: 23px 54px; }
  .section-intro h2 { font-size: 36px; }
  .section-intro > p:not(.eyebrow) { font-size: 16px; }
  .branch-grid, .review-grid { grid-template-columns: 1fr; gap: 18px; }
  .branch-card { padding: 29px 27px; border-radius: 21px; }
  .branch-card h3 { font-size: 34px; }
  .branch-card address { min-height: 0; }
  .branch-card .button { width: 100%; }
  .reviews { padding-block: 7px 56px; }
  .review-card { padding: 29px 27px; border-radius: 21px; }
  .review-card blockquote { font-size: 23px; }
  .review-summary { gap: 6px; }
  .faq { grid-template-columns: 1fr; gap: 25px; padding-block: 12px 55px; }
  .faq h2 { max-width: 100%; font-size: 34px; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 33px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; max-width: none; flex-basis: auto; font-size: 14px; }
  .hero-photo { border-top-left-radius: 58px; }
  .photo-note { left: 13px; bottom: 13px; max-width: calc(100% - 26px); padding: 11px 13px; }
  .photo-note span:first-child { font-size: 13px; }
  .branch-card, .review-card { padding-inline: 23px; }
}
