/* Centro Vascular de Boyacá
   One-page responsive website
   Edit this file to customize colors, spacing and typography.
*/

:root {
  --navy: #0b3a68;
  --navy-dark: #062845;
  --blue: #1674ad;
  --sky: #eaf5fb;
  --red: #e94b5f;
  --red-soft: #fff0f2;
  --ink: #183047;
  --muted: #65788a;
  --white: #ffffff;
  --line: #dbe7ef;
  --bg: #f7fafc;
  --shadow: 0 18px 50px rgba(10, 45, 75, .10);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.6;
}

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(219, 231, 239, .9);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--red), #f17d8a);
  color: white;
  overflow: hidden;
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  border: 3px solid rgba(255,255,255,.5);
  border-radius: 50%;
}

.brand-v {
  position: relative;
  z-index: 2;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 22px;
}

.brand-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
  right: 9px;
  bottom: 8px;
  z-index: 2;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  color: var(--navy);
}

.brand-text strong {
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  letter-spacing: .08em;
}

.brand-text small {
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: .23em;
  color: var(--red);
}

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

.main-nav a {
  transition: color .2s ease;
}

.main-nav a:hover {
  color: var(--red);
}

.nav-cta {
  padding: 11px 17px;
  border-radius: 999px;
  background: var(--navy);
  color: white !important;
}

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

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

/* HERO */

.hero {
  min-height: 650px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: white;
  background: var(--navy-dark);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  background:
    url("https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=1900&q=85")
    center / cover no-repeat;
  opacity: .82;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 32, 55, .94) 0%, rgba(5, 44, 73, .80) 46%, rgba(5, 44, 73, .30) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 340px;
  align-items: end;
  gap: 80px;
  padding-block: 100px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  color: #bfe9ff;
}

.eyebrow.dark {
  color: var(--blue);
}

.hero h1,
h2,
h3 {
  font-family: "Manrope", sans-serif;
}

.hero h1 {
  max-width: 760px;
  margin: 16px 0;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.hero p {
  max-width: 650px;
  margin: 0;
  color: #e1edf5;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: var(--red);
  box-shadow: 0 10px 25px rgba(233, 75, 95, .25);
}

.button-light {
  color: var(--navy);
  background: white;
}

.hero-card {
  padding: 25px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0,0,0,.15);
}

.hero-card-label {
  display: block;
  margin-bottom: 10px;
  color: #bfe9ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}

.hero-card strong {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 27px;
}

.hero-card span {
  display: block;
  margin-top: 3px;
  color: #dceaf2;
  font-size: 13px;
}

.hero-card a {
  display: block;
  margin-top: 14px;
  color: white;
  font-size: 13px;
  overflow-wrap: anywhere;
}

/* TRUST */

.trust-strip {
  background: var(--navy);
  color: white;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.trust-grid > div {
  padding: 24px 20px;
  border-right: 1px solid rgba(255,255,255,.12);
}

.trust-grid > div:first-child {
  padding-left: 0;
}

.trust-grid > div:last-child {
  border-right: 0;
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  font-size: 14px;
}

.trust-grid span {
  margin-top: 3px;
  color: #bcd0de;
  font-size: 12px;
}

/* SECTIONS */

.section {
  padding: 105px 0;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 48px;
}

.section-heading h2,
.split-content h2,
.treatment-copy h2,
.wound-copy h2,
.about-copy h2,
.team-copy h2,
.contact-section h2 {
  margin: 12px 0 15px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -.035em;
}

.section-heading p,
.split-content p,
.treatment-copy p,
.wound-copy > p,
.about-copy p,
.team-copy p,
.contact-section p {
  color: var(--muted);
  font-size: 16px;
}

.section-services {
  background: var(--bg);
}

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

.service-card {
  padding: 30px 25px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 25px rgba(10, 45, 75, .04);
}

.service-card.featured {
  border-color: #bcdceb;
  box-shadow: var(--shadow);
}

.service-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--sky);
  color: var(--blue);
  font-size: 21px;
  font-weight: 800;
}

.service-card:nth-child(2) .service-icon,
.service-card:nth-child(4) .service-icon {
  background: var(--red-soft);
  color: var(--red);
}

.service-card h3 {
  margin: 23px 0 8px;
  font-size: 21px;
}

.service-card p {
  min-height: 82px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.service-card ul {
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.service-card li {
  position: relative;
  padding: 10px 0 10px 17px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}

/* SPLIT */

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
}

.split-image {
  min-height: 500px;
  background-position: center;
  background-size: cover;
}

.image-specialty {
  background-image: url("https://images.unsplash.com/photo-1584982751601-97dcc096659c?auto=format&fit=crop&w=1400&q=85");
}

.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px max(40px, calc((100vw - 1160px) / 2));
  padding-right: max(40px, calc((100vw - 1160px) / 2));
  padding-left: 80px;
  background: var(--sky);
}

.specialty-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 24px 0 30px;
}

.specialty-list span {
  padding: 13px 15px;
  border: 1px solid #cfe2ec;
  border-radius: 12px;
  background: rgba(255,255,255,.7);
  font-size: 13px;
  font-weight: 600;
}

.text-link {
  width: fit-content;
  color: var(--navy);
  font-weight: 800;
}

.text-link span {
  color: var(--red);
  margin-left: 8px;
}

/* TREATMENT */

.vascular-treatment {
  background: white;
}

.treatment-layout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 80px;
  align-items: center;
}

.treatment-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.treatment-pills span {
  padding: 10px 15px;
  border-radius: 999px;
  background: var(--red-soft);
  color: #a72d3d;
  font-size: 13px;
  font-weight: 700;
}

.treatment-visual {
  min-height: 380px;
  display: grid;
  place-items: center;
  border-radius: 40px;
  background:
    radial-gradient(circle at 50% 45%, rgba(233,75,95,.12), transparent 35%),
    linear-gradient(145deg, #eef7fb, #fdf3f4);
}

.vascular-art {
  width: 270px;
  height: 320px;
  position: relative;
}

.vessel {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: linear-gradient(90deg, #d8495c, #ec7b88);
  box-shadow: 0 8px 18px rgba(216,73,92,.18);
}

.vessel-a {
  width: 34px;
  height: 170px;
  left: 118px;
  top: 28px;
}

.vessel-b {
  width: 120px;
  height: 27px;
  left: 38px;
  top: 120px;
  transform: rotate(27deg);
}

.vessel-c {
  width: 115px;
  height: 27px;
  left: 117px;
  top: 205px;
  transform: rotate(153deg);
}

.vessel-d {
  width: 23px;
  height: 125px;
  left: 113px;
  top: 190px;
  transform: rotate(10deg);
}

.heart {
  position: absolute;
  left: 94px;
  top: 105px;
  width: 85px;
  height: 85px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-size: 42px;
  box-shadow: 0 20px 40px rgba(11,58,104,.20);
}

/* WOUNDS */

.wound-section {
  background: var(--bg);
}

.wound-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.wound-image {
  min-height: 530px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(11,58,104,.12), rgba(233,75,95,.06)),
    url("https://images.unsplash.com/photo-1579684385127-1ef15d508118?auto=format&fit=crop&w=1300&q=85")
    center / cover no-repeat;
  box-shadow: var(--shadow);
}

.wound-levels {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.wound-levels div {
  padding: 17px 18px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.wound-levels strong {
  color: var(--navy);
  font-size: 13px;
}

.wound-levels span {
  color: var(--muted);
  font-size: 13px;
}

/* ABOUT */

.about-section {
  background: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.values-card {
  padding: 35px;
  border-radius: 28px;
  background: var(--navy);
  color: white;
  box-shadow: var(--shadow);
}

.values-card h3 {
  margin-top: 0;
  font-size: 22px;
}

.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.values-grid span {
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: #e2eef6;
  font-size: 12px;
}

/* TEAM */

.team-section {
  background: linear-gradient(180deg, #f7fafc 0%, #eaf5fb 100%);
}

.team-card {
  min-height: 440px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  overflow: hidden;
  border-radius: 30px;
  background: var(--navy-dark);
  color: white;
  box-shadow: var(--shadow);
}

.team-copy {
  padding: 70px;
}

.team-copy p {
  color: #c4d7e4;
  max-width: 600px;
}

.team-note {
  margin-top: 35px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.15);
}

.team-note strong,
.team-note span {
  display: block;
}

.team-note strong {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-style: italic;
}

.team-note span {
  margin-top: 5px;
  color: #a9c1d1;
  font-size: 12px;
}

.team-photo {
  min-height: 440px;
  background:
    linear-gradient(180deg, rgba(6,40,69,.10), rgba(6,40,69,.55)),
    url("https://images.unsplash.com/photo-1584515933487-779824d29309?auto=format&fit=crop&w=1200&q=85")
    center / cover no-repeat;
}

/* CONTACT */

.contact-section {
  padding: 95px 0;
  color: white;
  background:
    radial-gradient(circle at 85% 20%, rgba(233,75,95,.26), transparent 30%),
    var(--navy);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

.contact-section h2 {
  color: white;
}

.contact-section p {
  color: #c5d7e4;
}

.contact-details {
  display: grid;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px;
  background: rgba(255,255,255,.06);
}

.contact-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,.10);
  color: #ff9ba7;
}

.contact-item small,
.contact-item strong {
  display: block;
}

.contact-item small {
  color: #9eb7c9;
  font-size: 11px;
}

.contact-item strong {
  margin-top: 2px;
  color: white;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.button-whatsapp {
  margin-top: 5px;
  background: #25d366;
  color: white;
}

/* FOOTER */

.site-footer {
  padding: 35px 0 18px;
  background: #05233d;
  color: #c1d1dc;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .7fr 1fr;
  gap: 30px;
  align-items: start;
}

.footer-brand {
  color: white;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
}

.footer-grid p {
  margin: 8px 0 0;
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
}

.footer-links a:hover {
  color: white;
}

.footer-copy {
  text-align: right;
}

.footer-copy small {
  display: block;
  margin-top: 4px;
  color: #7893a5;
  font-size: 10px;
}

.image-credit {
  margin-top: 28px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #7893a5;
  font-size: 10px;
}

/* RESPONSIVE */

@media (max-width: 1050px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-card {
    max-width: 430px;
  }

  .hero {
    min-height: 700px;
  }
}

@media (max-width: 820px) {
  .main-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: white;
    box-shadow: var(--shadow);
  }

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

  .main-nav a {
    padding: 13px 12px;
  }

  .nav-cta {
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid > div,
  .trust-grid > div:first-child {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  .split-section,
  .treatment-layout,
  .wound-layout,
  .about-grid,
  .team-card,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split-image {
    min-height: 400px;
  }

  .split-content {
    padding: 65px 30px;
  }

  .treatment-layout {
    gap: 40px;
  }

  .wound-image {
    min-height: 380px;
  }

  .team-photo {
    min-height: 350px;
    order: -1;
  }

  .team-copy {
    padding: 45px 30px;
  }

  .contact-grid {
    gap: 40px;
  }

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

  .footer-copy {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

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

  .hero {
    min-height: 730px;
  }

  .hero-content {
    padding-block: 70px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-card strong {
    font-size: 23px;
  }

  .section {
    padding: 75px 0;
  }

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

  .specialty-list {
    grid-template-columns: 1fr;
  }

  .wound-levels div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

  .trust-grid > div,
  .trust-grid > div:first-child {
    border-right: 0;
    padding: 16px 0;
  }

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

  .footer-copy {
    text-align: left;
  }
}
