:root {
  --ink: #102746;
  --muted: #4c6773;
  --cream: #f7f5ef;
  --paper: #fffefa;
  --line: #dce2dc;
  --gold: #b58c43;
  --aqua: #e2efed;
  --shadow: 0 18px 45px rgba(16, 39, 70, .09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 72px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 254, 250, .95);
  border-bottom: 1px solid rgba(16, 39, 70, .08);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  font-family: "Libre Baskerville", serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  padding: 29px 0;
  color: #26394f;
}

.main-nav a:not(.nav-cta):after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .2s ease;
}

.main-nav a:hover:after,
.main-nav a.active:after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 11px 18px !important;
  border-radius: 5px;
  color: #fff !important;
  background: var(--ink);
  box-shadow: 0 4px 12px rgba(16, 39, 70, .16);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px;
  background: var(--ink);
}

.hero {
  padding: 10px 0 0;
  background: linear-gradient(135deg, #fffefa 0%, #f2f2eb 100%);
  overflow: hidden;
}

.hero-grid {
  min-height: 430px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  background-image: url("../images/banner_inicio_web.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  font-weight: 700;
}

h1,
h2 {
  margin: 0;
  font-family: "Libre Baskerville", serif;
  font-weight: 700;
  line-height: 1.12;
}

h1 {
  font-size: clamp(20px, 4.2vw, 52px);
  letter-spacing: -.03em;
}

h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.hero-lead {
  margin: 18px 0 26px;
  color: #24686a;
  font-family: "Libre Baskerville", serif;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 13px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(16, 39, 70, .15);
}

.button-primary {
  background: var(--ink);
  color: #fff;
}

.button-secondary {
  color: var(--ink);
  border: 1px solid var(--gold);
  background: #fffefa;
}

.button-gold {
  color: var(--ink);
  background: #d7ad5b;
}

.hero-visual {
  position: relative;
  height: 430px;
  background: linear-gradient(120deg, #cbbda7, #8c7159 48%, #344b4a);
  isolation: isolate;
}

.hero-visual:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 254, 250, .4), transparent 55%),
    repeating-linear-gradient(
      90deg,
      transparent 0 52px,
      rgba(255, 255, 255, .07) 53px 55px
    );
  z-index: -1;
}

.hero-visual:after {
  content: "";
  position: absolute;
  right: 13%;
  bottom: 0;
  width: 42%;
  height: 79%;
  border-radius: 48% 48% 0 0;
  background: linear-gradient(145deg, #d3ad8d, #4e3f39 68%);
  opacity: .92;
  z-index: -1;
}

.screen-card {
  position: absolute;
  left: 12%;
  bottom: 40px;
  width: 47%;
  height: 45%;
  padding: 11px;
  border: 5px solid #202b30;
  border-radius: 8px;
  transform: rotate(-5deg);
  background: #f4eee2;
  box-shadow: 14px 18px 20px rgba(0, 0, 0, .2);
}

.screen-top {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 18px;
  font-size: 7px;
  color: #67716d;
}

.screen-top span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d16e53;
}

.screen-top span:nth-child(2) {
  background: #d6ab4c;
}

.screen-top span:nth-child(3) {
  background: #72a26e;
}

.screen-top b {
  margin-left: auto;
  font-weight: 500;
}

.screen-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: calc(100% - 18px);
  padding: 12px;
  background: linear-gradient(135deg, #ead9ba, #a47659);
  color: #fff;
}

.screen-body strong {
  font-family: "Libre Baskerville", serif;
  font-size: clamp(11px, 1.5vw, 21px);
}

.screen-body small {
  max-width: 130px;
  margin-top: 6px;
  font-size: 8px;
}

.screen-body i {
  width: 78%;
  height: 7px;
  margin-top: 25px;
  background: rgba(255, 255, 255, .72);
}

.screen-body i:last-child {
  width: 56%;
  margin-top: 5px;
}

.plant {
  position: absolute;
  bottom: 0;
  width: 18px;
  height: 75px;
  border-radius: 50% 50% 0 0;
  background: #56745c;
  transform: rotate(-15deg);
}

.plant:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 7px;
  width: 4px;
  height: 80px;
  background: #4a5d4b;
}

.plant-one {
  left: 6%;
}

.plant-two {
  right: 5%;
  height: 110px;
  transform: rotate(17deg);
}

.service-strip {
  position: relative;
  margin-top: -1px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #e4e5df;
  border-radius: 12px;
  background: rgba(255, 254, 250, .97);
  box-shadow: var(--shadow);
}

.service-strip a,
.service-option {
  min-height: 116px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-right: 1px solid #e8e9e3;
  font-size: 13px;
}

.service-option {
  width: 100%;
  padding: 0;
  border-top: 0;
  border-bottom: 0;
  border-left: 0;
  color: var(--ink);
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}

.service-option:hover {
  background: #f8f8f2;
}

.service-option:last-child {
  border: 0;
}

.service-icon {
  color: var(--ink);
  font-size: 29px;
  line-height: 1;
  font-weight: 400;
}

.plans {
  padding: 76px 0 52px;
}

.section-heading {
  margin-bottom: 27px;
}

.section-heading h2 {
  font-size: 29px;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.plan-card {
  position: relative;
  min-height: 346px;
  padding: 26px 24px 0;
  overflow: hidden;
  border: 1px solid #e0e2dc;
  border-radius: 12px;
  background: var(--paper);
}

.plan-card h3 {
  margin: 17px 0 4px;
  font-size: 20px;
}

.plan-subtitle {
  margin: 0;
  color: #226768;
  font-family: "Libre Baskerville", serif;
  font-size: 14px;
}

.plan-symbol {
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--aqua);
  font-size: 28px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.plan-symbol-presencia {
  background-image: url("../images/presencia-head-ico-1.jpg");
}

.plan-symbol-digital {
  background-image: url("../images/presencia-head-ico-2.jpg");
}

.plan-symbol.dark {
  color: #fff;
  background-image: url("../images/presencia-head-ico-3.jpg");
}

.plan-card ul {
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
  font-size: 14px;
  line-height: 2.15;
}

.plan-card li:before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 15px;
  height: 15px;
  margin-right: 7px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--aqua);
  font-size: 10px;
  font-weight: 700;
}

.plan-featured {
  border: 1px solid var(--gold);
}

.featured-mark {
  position: absolute;
  top: 0;
  right: 0;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 0 12px 0 14px;
  color: #fff;
  background: var(--gold);
  font-size: 13px;
}

.illustration {
  position: absolute;
  right: 12px;
  bottom: -2px;
  left: 12px;
  height: 76px;
  opacity: .78;
  border-bottom: 2px solid #809b9a;
}

.illustration:before,
.illustration:after {
  content: "";
  position: absolute;
  bottom: 0;
  border: 2px solid #7b9291;
}

.illustration-hills:before {
  display: none;
}

.illustration-hills:after {
  display: none;
}

.illustration-hills img {
  display: block;
  width: 60%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
  opacity: 1;
}

.illustration-palms:before {
  left: 25%;
  width: 32px;
  height: 62px;
  border-width: 0 2px 0 0;
  transform: rotate(-18deg);
}

.illustration-palms:after {
  right: 18%;
  width: 26px;
  height: 48px;
  border-width: 0 2px 0 0;
  transform: rotate(18deg);
}

.illustration-port:before {
  left: 8%;
  width: 74%;
  height: 55px;
  border-width: 2px 2px 0 0;
  transform: skewX(-23deg);
}

.illustration-port:after {
  right: 13%;
  width: 1px;
  height: 68px;
}

.extras {
  padding: 16px 0 40px;
  text-align: center;
}

.extras h2 {
  padding: 12px 0;
  font-size: 19px;
}

.extra-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid #cddbd8;
  border-radius: 12px;
  background: var(--aqua);
}

.extra-list a,
.extra-option {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 6px;
  border: 0;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(16, 39, 70, .05);
  cursor: pointer;
}

.extra-list a:hover,
.extra-option:hover {
  background: #f8f8f2;
}

.extra-option img {
  width: 24px;
  height: 24px;
  object-fit: cover;
  border-radius: 4px;
}

.extra-list span {
  font-size: 17px;
}

.contact-banner {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 50px;
  padding: 30px 40px;
  border-radius: 12px;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
}

.contact-banner .eyebrow {
  margin-bottom: 9px;
  color: #d7ad5b;
}

.contact-banner h2 {
  font-size: 24px;
}

.city-mark {
  align-self: end;
  color: #b58c43;
  font-size: 46px;
  letter-spacing: -13px;
  transform: translateY(12px);
}

.contact-banner .button {
  margin-left: auto;
  white-space: nowrap;
}

.modal-open {
  overflow: hidden;
}

.service-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 24, 44, .64);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}

.service-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.service-modal-panel {
  position: relative;
  width: min(620px, 100%);
  max-height: min(640px, calc(100vh - 48px));
  overflow-y: auto;
  padding: 42px 46px 45px;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 24px 60px rgba(8, 24, 44, .3);
  transform: translateY(12px);
  transition: transform .2s ease;
}

.service-modal.is-open .service-modal-panel {
  transform: translateY(0);
}

.service-modal-panel h2 {
  margin-bottom: 16px;
  font-size: clamp(25px, 4vw, 36px);
}

.service-modal-subtitle {
  margin: 0 0 20px;
  color: #24686a;
  font-family: "Libre Baskerville", serif;
  font-size: 16px;
  line-height: 1.6;
}

.service-modal-info {
  margin: 0;
  color: #354b5a;
  font-size: 15px;
  line-height: 1.8;
}

.service-modal-list-title:empty,
.service-modal-list:empty {
  display: none;
}

.service-modal-list-title {
  margin: 24px 0 10px;
  color: var(--ink);
  font-size: 16px;
}

.service-modal-list {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: #354b5a;
  font-size: 14px;
  line-height: 1.5;
}

.service-modal-list li {
  position: relative;
  padding-left: 22px;
}

.service-modal-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.service-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: var(--aqua);
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.service-modal-close:hover {
  background: #cfe3df;
}

.site-footer {
  padding: 20px 0;
  color: #fff;
  background: #0c1d35;
  font-size: 12px;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
}

.site-footer small {
  color: #b4c2c5;
}

@media (max-width: 760px) {

  .container {
    width: min(100% - 36px, 560px);
  }

  .nav-wrap {
    min-height: 66px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 65px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px 18px;
    border: 1px solid var(--line);
    border-radius: 0 0 10px 10px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 0;
  }

  .main-nav a:not(.nav-cta):after {
    bottom: 8px;
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .hero {
    padding-top: 16px;
  }

  .hero-grid {
    display: block;
    min-height: 0;
  }

  .hero-copy {
    padding-bottom: 38px;
  }

  .hero-visual {
    height: 270px;
    margin: 0 -18px;
  }

  .service-strip {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -18px;
  }

  .service-strip a,
  .service-option {
    min-height: 92px;
  }

  .service-strip a:nth-child(2) {
    border-right: 0;
  }

  .service-strip a:nth-child(-n+2) {
    border-bottom: 1px solid #e8e9e3;
  }

  .plans {
    padding-top: 58px;
  }

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

  .plan-card {
    min-height: 320px;
  }

  .contact-banner {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 14px;
    padding: 26px;
  }

  .contact-banner .button {
    margin-left: 0;
  }

  .city-mark {
    display: none;
  }

  .site-footer .container {
    gap: 10px;
    flex-direction: column;
  }

  .eyebrow {
    font-size: 8px;
  }

  .hero-lead {
    margin-right: 200px;
    font-size: 14px;
    }
}

@media (prefers-reduced-motion: no-preference) {

  .hero-copy,
  .service-strip,
  .plan-card {
    animation: rise .65s both;
  }

  .service-strip {
    animation-delay: .12s;
  }

  .plan-card:nth-child(2) {
    animation-delay: .1s;
  }

  .plan-card:nth-child(3) {
    animation-delay: .2s;
  }

 
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}