:root {
  --navy: #073d79;
  --blue: #0878cf;
  --teal: #04a8ad;
  --purple: #6c258c;
  --green: #58a62b;
  --ink: #16324b;
  --muted: #607589;
  --paper: #f7fcfd;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; }

.site-shell {
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 7% 16%, rgba(4, 168, 173, .11), transparent 28rem),
    radial-gradient(circle at 92% 82%, rgba(108, 37, 140, .09), transparent 27rem),
    linear-gradient(135deg, #fff 0%, #f7fcfd 48%, #edf8fa 100%);
}

.site-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .42;
  background-image: linear-gradient(rgba(7, 61, 121, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(7, 61, 121, .025) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

.ambient { position: absolute; border-radius: 999px; z-index: -1; filter: blur(2px); }
.ambient-one { width: 300px; height: 300px; right: -120px; top: -100px; border: 52px solid rgba(8, 120, 207, .07); }
.ambient-two { width: 190px; height: 190px; left: -90px; bottom: 7%; border: 38px solid rgba(88, 166, 43, .07); }

.page-frame { width: min(1180px, calc(100% - 44px)); min-height: 100vh; margin: auto; display: flex; flex-direction: column; }
.topbar { min-height: 102px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 54px; height: 54px; object-fit: cover; object-position: top; border-radius: 16px; box-shadow: 0 8px 24px rgba(7, 61, 121, .09); }
.brand span { display: flex; flex-direction: column; line-height: 1; }
.brand strong { color: var(--navy); font-size: 21px; letter-spacing: -.02em; }
.brand small { color: var(--purple); margin-top: 6px; font-size: 10px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; }
.status-pill { display: inline-flex; align-items: center; gap: 9px; padding: 10px 15px; border: 1px solid rgba(4, 168, 173, .2); border-radius: 999px; background: rgba(255, 255, 255, .74); color: #3f6672; font-size: 13px; font-weight: 700; box-shadow: 0 7px 22px rgba(18, 78, 96, .04); backdrop-filter: blur(10px); }
.status-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(4, 168, 173, .12); animation: pulse 2.5s ease-in-out infinite; }

.hero { flex: 1; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(46px, 7vw, 100px); padding: 54px 0 76px; }
.hero-copy { max-width: 650px; }
.eyebrow { margin: 0 0 20px; color: var(--teal); font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1 { margin: 0; color: var(--navy); font-size: clamp(3.2rem, 6.1vw, 5.5rem); line-height: .99; letter-spacing: -.055em; text-wrap: balance; }
h1 span { color: var(--teal); }
.intro { max-width: 610px; margin: 28px 0 0; color: var(--muted); font-size: clamp(1.03rem, 1.6vw, 1.22rem); line-height: 1.75; }
.specialties { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin-top: 34px; }
.specialty { display: flex; align-items: center; gap: 11px; min-height: 48px; padding: 10px 15px; border: 1px solid rgba(7, 61, 121, .09); border-radius: 14px; background: rgba(255, 255, 255, .72); color: #36566d; font-size: 14px; font-weight: 700; box-shadow: 0 9px 28px rgba(7, 61, 121, .04); backdrop-filter: blur(9px); }
.specialty-dot { width: 11px; height: 11px; flex: 0 0 auto; border-radius: 50%; box-shadow: 0 0 0 5px color-mix(in srgb, currentColor 12%, transparent); }
.specialty-dot.purple { background: var(--purple); color: var(--purple); }
.specialty-dot.teal { background: var(--teal); color: var(--teal); }
.specialty-dot.green { background: var(--green); color: var(--green); }
.specialty-dot.blue { background: var(--blue); color: var(--blue); }
.opening-note { display: flex; align-items: center; gap: 15px; margin-top: 28px; }
.heart-mark { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 auto; border-radius: 15px; background: linear-gradient(135deg, var(--teal), var(--blue)); color: #fff; font-size: 27px; font-weight: 300; box-shadow: 0 10px 26px rgba(4, 168, 173, .22); }
.opening-note strong { color: var(--navy); font-size: 15px; }
.opening-note p { margin: 5px 0 0; color: #789; font-size: 12px; line-height: 1.5; }

.brand-panel { position: relative; display: grid; place-items: center; min-height: 510px; }
.brand-panel::before { content: ""; position: absolute; width: min(440px, 90%); aspect-ratio: 1; border-radius: 48% 52% 63% 37% / 41% 45% 55% 59%; background: linear-gradient(145deg, rgba(4, 168, 173, .13), rgba(8, 120, 207, .08) 55%, rgba(108, 37, 140, .10)); transform: rotate(-9deg); }
.panel-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(4, 168, 173, .15); }
.ring-one { width: 96%; aspect-ratio: 1; }
.ring-two { width: 78%; aspect-ratio: 1; border-style: dashed; animation: spin 45s linear infinite; }
.logo-card { position: relative; width: min(360px, 76vw); aspect-ratio: 1; padding: 18px; border: 1px solid rgba(255, 255, 255, .86); border-radius: 36px; background: rgba(255, 255, 255, .88); box-shadow: 0 35px 80px rgba(7, 61, 121, .16), 0 7px 24px rgba(7, 61, 121, .08); backdrop-filter: blur(14px); transform: rotate(2deg); }
.logo-card img { width: 100%; height: 100%; display: block; border-radius: 24px; object-fit: contain; }

.location-section { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; margin: 12px 0 70px; padding: 16px; border: 1px solid rgba(7, 61, 121, .09); border-radius: 30px; background: rgba(255, 255, 255, .76); box-shadow: 0 24px 60px rgba(7, 61, 121, .08); backdrop-filter: blur(12px); }
.location-copy { min-height: 360px; display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 46px); border-radius: 22px; background: linear-gradient(145deg, rgba(4, 168, 173, .09), rgba(8, 120, 207, .05)); }
.location-eyebrow { margin: 0 0 12px; color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.location-copy h2 { margin: 0; color: var(--navy); font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -.035em; }
.location-copy address { margin-top: 20px; color: var(--muted); font-size: 16px; font-style: normal; line-height: 1.75; }
.map-link { display: inline-flex; align-items: center; align-self: flex-start; gap: 10px; margin-top: 24px; padding: 12px 17px; border-radius: 12px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; box-shadow: 0 10px 24px rgba(7, 61, 121, .18); transition: transform .2s ease, background .2s ease; }
.map-link:hover { background: var(--teal); transform: translateY(-2px); }
.map-link:focus-visible { outline: 3px solid rgba(4, 168, 173, .35); outline-offset: 3px; }
.map-frame { min-height: 360px; overflow: hidden; border-radius: 22px; background: #e8f2f4; }
.map-frame iframe { width: 100%; height: 100%; min-height: 360px; display: block; border: 0; }

footer { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid rgba(7, 61, 121, .09); color: #8293a1; font-size: 12px; }
footer a { color: var(--teal); font-weight: 700; text-decoration: none; }
footer a:hover { text-decoration: underline; }

@keyframes pulse { 50% { transform: scale(.75); opacity: .62; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 44px; }
  .hero-copy { max-width: 720px; }
  .brand-panel { min-height: 410px; order: -1; }
  .logo-card { width: min(330px, 72vw); }
  .ring-one { width: min(430px, 92vw); }
  .ring-two { width: min(350px, 74vw); }
}

@media (max-width: 560px) {
  .page-frame { width: min(100% - 30px, 1180px); }
  .topbar { min-height: 84px; }
  .brand img { width: 45px; height: 45px; border-radius: 13px; }
  .brand strong { font-size: 18px; }
  .status-pill { padding: 9px 11px; font-size: 0; }
  .status-pill::after { content: "En construcción"; font-size: 11px; }
  .hero { gap: 38px; padding: 30px 0 54px; }
  .brand-panel { min-height: 320px; }
  .specialties { grid-template-columns: 1fr; }
  .opening-note { align-items: flex-start; }
  .location-section { grid-template-columns: 1fr; margin-bottom: 40px; padding: 11px; border-radius: 22px; }
  .location-copy { min-height: auto; padding: 28px 21px; }
  .map-frame, .map-frame iframe { min-height: 285px; }
  footer { flex-direction: column; justify-content: center; padding: 20px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
