/* INTEPLAST MEDICAL | coherent editorial design, November 2026 */

:root {
  --navy: #173b61;
  --ink: #173b61;
  --body: #38536e;
  --muted: #526d86;
  --blue: #285482;
  --brand: #93b4df;
  --line: #c8d9e9;
  --ice: #f1f6fc;
  --panel: #e5effa;
  --white: #fff;
  --container: 1160px;
  --shadow: 0 14px 38px rgba(23,59,97,.1);
  font-family: Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  color: var(--ink);
  background: var(--white);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,input,textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,h2,h3,p {
  margin-top: 0;
}

h1,h2,h3 {
  line-height: 1.15;
  letter-spacing: -.035em;
  color: var(--navy);
}

p {
  color: var(--body);
}

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

:is(a,button,input,textarea,summary):focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  background: #fff;
  padding: 10px;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 76px;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner,.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--navy);
  min-width: 0;
}

.brand-logo {
  width: clamp(115px,20vw,205px);
  height: auto;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .04em;
}

.brand-divider {
  width: 1px;
  height: 20px;
  background: var(--line);
}

.brand-division {
  font-size: 10px;
  letter-spacing: .18em;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 10px 22px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  transition: background-color .2s,box-shadow .2s,transform .2s;
}

.button:hover:not(:disabled) {
  background: var(--navy);
  box-shadow: 0 5px 15px #173b6128;
}

.button-small {
  min-height: 41px;
  padding: 8px 15px;
  font-size: 13px;
}

.button:disabled {
  background: #d1dfed;
  color: #415c75;
  border-color: #b9cfe3;
  opacity: 1;
  cursor: not-allowed;
  box-shadow: none;
}

.button-submit {
  width: 100%;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(38px,5vw,68px) 0 62px;
  background: linear-gradient(180deg,#e9f2fc,#fff 94%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(90deg,#93b4df20 1px,transparent 1px),linear-gradient(#93b4df20 1px,transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(#000 0%,transparent 85%);
  pointer-events: none;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.hero h1 {
  max-width: 940px;
  font-size: clamp(34px,4.6vw,59px);
  line-height: 1.1;
  margin: 0 0 16px;
  text-wrap: balance;
}

.hero-intro {
  max-width: 670px;
  font-size: clamp(16px,1.7vw,19px);
  margin: 0 0 25px;
}

.video-shell {
  width: min(100%,800px);
  margin: auto;
}

.video-frame {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 16/9;
  border-radius: 12px;
  background: #dfeaf6 url("video-portada.webp") center/cover no-repeat;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.video-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,transparent 40%,#0b2442b8);
  pointer-events: none;
}

.video-overlay {
  position: absolute;
  bottom: clamp(12px,3vw,30px);
  left: clamp(14px,3vw,32px);
  right: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  color: #fff;
  pointer-events: none;
}

.video-kicker {
  font-size: 10px;
  letter-spacing: .14em;
  font-weight: 750;
  color: #e5f1ff;
}

.video-title {
  font-size: clamp(18px,3vw,32px);
  font-weight: 800;
  line-height: 1.15;
}

.video-duration {
  font-size: 12px;
  color: #e5f1ff;
}

.play-button {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%,-50%);
  width: clamp(56px,8vw,76px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 0;
  background: #fff;
  border: 0;
  border-radius: 50%;
  color: var(--navy);
  box-shadow: 0 7px 25px #0004;
}

.play-button svg {
  width: 30px;
  margin-left: 4px;
}

.video-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 3;
}

.video-frame.is-playing :is(.video-shade,.video-overlay,.play-button,.video-poster) {
  display: none;
}

.video-shell .video-fallback {
  display: none;
}

.hero-cta {
  margin-top: 22px;
}

.credentials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--body);
  font-size: 12px;
  font-weight: 650;
}

.credentials li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.credential-mark {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  background: #dcebf9;
  border-radius: 50%;
  color: var(--navy);
  font-size: 10px;
}

.section {
  padding: clamp(64px,8vw,105px) 0;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr);
  gap: clamp(26px,6vw,80px);
  align-items: start;
}

.section-heading h2,.quality-heading h2,.contact-copy h2 {
  font-size: clamp(29px,3.4vw,43px);
  margin: 0;
  line-height: 1.16;
  text-wrap: balance;
}

.heading-note {
  font-size: 14px;
  max-width: 55ch;
  margin: 16px 0 0;
  color: var(--muted);
}

.problem-list {
  border-top: 1px solid var(--line);
}

.problem-card {
  display: grid;
  grid-template-columns: 38px minmax(0,1fr);
  gap: 16px;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}

.number-tag {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--panel);
  color: var(--navy);
  font-weight: 800;
  font-size: 12px;
}

.problem-card h3 {
  font-size: 19px;
  margin: 2px 0 8px;
}

.problem-card p {
  font-size: 14px;
  margin: 0;
  line-height: 1.75;
}

/* Editorial applications, not cards */

.section-applications {
  background: var(--ice);
}

.section-heading-centered {
  max-width: 800px;
  margin: 0 auto clamp(30px,5vw,55px);
  text-align: center;
}

.section-heading-centered .heading-note {
  max-width: none;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(32px,5vw,65px) clamp(20px,5vw,74px);
  align-items: start;
}

.application-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.application-card:nth-child(even) {
  margin-top: clamp(24px,4vw,62px);
}

.application-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.55;
  object-fit: cover;
  object-position: center;
  padding: 0;
  margin: 0 0 16px;
  border: 0;
  border-radius: 4px 44px 4px 4px;
  background: #e5effa;
  box-shadow: 0 12px 30px #173b6118;
}

.application-card:nth-child(even) .application-photo {
  border-radius: 44px 4px 4px 4px;
}

.application-index {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  margin: 0 0 8px;
  font-variant-numeric: tabular-nums;
}

.application-index span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .11em;
}

.application-card h3 {
  font-size: clamp(21px,2.4vw,29px);
  margin: 0 0 6px;
}

.application-card p {
  font-size: 14px;
  max-width: 44ch;
  margin: 0;
}

.application-line {
  display: none;
}

/* Capabilities, editorial hierarchy */

.capabilities-intro.split-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,.9fr);
  align-items: end;
  margin-bottom: 38px;
}

.capabilities-copy p {
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 0 clamp(24px,5vw,70px);
}

.capability-card {
  min-width: 0;
  min-height: 0;
  display: block;
  padding: 19px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.capability-card h3 {
  font-size: 18px;
  margin: 0 0 5px;
}

.capability-card p {
  font-size: 14px;
  margin: 0;
  max-width: 50ch;
}

/* Quality, light blue with dark text */

.section-quality {
  position: relative;
  background: var(--panel);
  color: var(--navy);
}

.section-quality::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 34%;
  height: 70%;
  pointer-events: none;
  background: radial-gradient(ellipse at 100% 100%,#93b4df30,transparent 70%);
}

.section-quality .container {
  position: relative;
  z-index: 1;
}

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

.quality-heading {
  max-width: 780px;
}

.quality-heading h2 {
  color: var(--navy);
}

.quality-heading>p:not(.eyebrow) {
  color: var(--body);
  max-width: 68ch;
  margin: 15px 0 0;
  font-size: 15px;
  line-height: 1.7;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
  margin-top: 35px;
}

.quality-item {
  padding: 18px 0;
  background: transparent;
  border: 0;
  border-top: 2px solid var(--brand);
  border-radius: 0;
  min-height: 0;
}

.quality-item h3 {
  margin: 0 0 7px;
  font-size: 20px;
  color: var(--navy);
}

.quality-item p {
  margin: 0;
  color: var(--body);
  font-size: 14px;
}

.site-line {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
}

.site-point {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  background: var(--blue);
  border-radius: 50%;
}

.site-point strong,.site-point small {
  display: block;
}

.site-point strong {
  font-size: 14px;
  color: var(--navy);
}

.site-point small {
  font-size: 12px;
  color: var(--body);
}

.site-connector {
  height: 1px;
  flex: 0 1 80px;
  background: var(--brand);
}

.quality-footnote {
  font-size: 12px;
  margin: 20px 0 0;
  color: var(--body);
}

/* FAQs */

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 19px 0;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-plus {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.faq-plus::before,.faq-plus::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 5px;
  width: 8px;
  height: 1px;
  background: var(--blue);
}

.faq-plus::after {
  transform: rotate(90deg);
}

.faq-item[open] .faq-plus::after {
  transform: rotate(0);
}

.faq-answer {
  padding: 0 28px 20px 0;
}

.faq-answer p {
  font-size: 14px;
  margin: 0;
}

/* Contact and two-step Calendly */

.contact-section {
  padding: 0 0 70px;
  background: linear-gradient(#fff,var(--ice));
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr);
  gap: clamp(26px,5vw,70px);
  padding: clamp(24px,5vw,56px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: var(--shadow);
  scroll-margin-top: 92px;
}

.contact-copy h2 {
  color: var(--navy);
}

.contact-copy>p:not(.eyebrow) {
  color: var(--body);
  font-size: 15px;
  line-height: 1.7;
  margin: 16px 0 0;
  max-width: 48ch;
}

.contact-flow {
  min-width: 0;
}

.contact-steps {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  padding: 0;
  margin: 0 0 18px;
  list-style: none;
  border: 1px solid var(--brand);
  border-radius: 8px;
  overflow: hidden;
}

.contact-steps li {
  padding: 10px;
  background: var(--ice);
  color: var(--navy);
  font-size: 13px;
}

.contact-steps li[aria-current=step] {
  background: var(--brand);
  font-weight: 750;
}

.contact-steps li span {
  display: inline-grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  margin-right: 5px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.contact-steps small {
  font-size: .85em;
}

.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 13px;
}

.enquiry-form label {
  display: block;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  min-width: 0;
}

.enquiry-form label>span[aria-hidden=true],.enquiry-form .optional {
  display: inline;
  margin-left: 3px;
  color: var(--body);
  font-size: 12px;
  font-weight: 500;
}

.enquiry-form input,.enquiry-form textarea {
  display: block;
  width: 100%;
  min-height: 47px;
  margin-top: 7px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
  border: 1px solid #7794b1;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 400;
}

.enquiry-form textarea {
  min-height: 106px;
  resize: vertical;
}

.form-note,.form-status,.noscript-note {
  margin: 0;
  color: var(--body);
  font-size: 12px;
}

.form-note a,.noscript-note a {
  color: var(--blue);
  text-underline-offset: 3px;
}

.form-status:empty {
  display: none;
}

.form-status[data-state=error],.form-status.status-error {
  color: #8d2530;
}

.form-status[data-state=success],.form-status.status-success {
  color: #196044;
}

.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
}

.contact-panel.is-booking {
  grid-template-columns: minmax(0,1fr);
}

.contact-panel.is-booking .contact-copy {
  display: none;
}

.booking-panel {
  padding: clamp(14px,3vw,28px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.booking-panel h3 {
  font-size: clamp(23px,3vw,32px);
  margin: 0 0 8px;
}

.booking-panel p {
  color: var(--body);
  margin: 0;
}

.booking-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 16px;
}

.text-button {
  min-height: 44px;
  padding: 6px 0;
  background: none;
  border: 0;
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
}

.booking-calendar {
  margin-top: 16px;
}

.calendly-frame {
  display: block;
  width: 100%;
  height: 760px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.booking-calendar p,.booking-panel .booking-note:not(:empty) {
  margin-top: 12px;
  font-size: 13px;
}

.booking-panel a {
  color: var(--blue);
}

.site-footer {
  padding: 24px 0;
  background: var(--ice);
  border-top: 1px solid var(--line);
}

.footer-inner {
  flex-wrap: wrap;
}

.brand-footer .brand-name {
  font-size: 16px;
}

.brand-footer .brand-division {
  font-size: 9px;
}

.footer-inner>p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--blue);
  font-size: 12px;
}

@media (max-width:900px) {
  .split-layout,.capabilities-intro.split-layout,.contact-panel {
    grid-template-columns: minmax(0,1fr);
  }

  .application-grid {
    gap: 35px 24px;
  }

  .quality-grid {
    gap: 16px;
  }

  .capabilities-copy {
    max-width: 65ch;
  }
}

@media (max-width:680px) {
  html {
    scroll-padding-top: 76px;
  }

  .container {
    width: calc(100% - 32px);
  }

  .site-header {
    height: 68px;
  }

  .button-small {
    min-height: 40px;
    padding: 8px 10px;
    font-size: 11px;
  }

  .hero {
    padding: 42px 0;
  }

  .hero-cta {
    width: 100%;
  }

  .credentials {
    justify-content: flex-start;
  }

  .application-grid,.capability-grid,.quality-grid,.form-row {
    grid-template-columns: minmax(0,1fr);
  }

  .application-card:nth-child(even) {
    margin-top: 0;
  }

  .application-photo {
    aspect-ratio: 1.45;
  }

  .site-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .site-connector {
    display: none;
  }

  .contact-panel {
    padding: 23px 16px;
  }

  .contact-steps li {
    font-size: 12px;
    padding: 9px 6px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@media (prefers-reduced-motion:no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .hero h1,.hero-intro {
    animation: enter .42s ease-out both;
  }

  .hero-intro {
    animation-delay: .07s;
  }

  .section-arrive {
    animation: enter .38s ease-out;
  }

  @keyframes enter {

  }

  .application-photo,.button {
    transition: transform .2s ease,box-shadow .2s ease,background-color .2s ease;
  }
}

@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .application-card:hover .application-photo {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px #173b6126;
  }

  .button:hover:not(:disabled) {
    transform: translateY(-1px);
  }
}

@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
/* Título más ancho únicamente en escritorio */

@media (min-width: 1024px) {
  .hero h1 {
    max-width: 1250px;
    width: 100%;
    font-size: clamp(42px, 3.5vw, 58px);
    line-height: 1.12;
    margin-inline: auto;
    text-wrap: balance;
  }
}
/* HERO: grandes elementos geométricos industriales */

@media (min-width: 1200px) {

  /* Eliminar decoraciones anteriores */
  .hero::after,
  .hero-inner::after {
    content: none;
  }

  .hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
  }

  /* Gran arco izquierdo */
  .hero::after {
    content: "";
    position: absolute;
    display: block;

    width: 480px;
    height: 480px;

    top: 22%;
    left: -330px;

    border: 75px solid rgba(147, 180, 223, 0.42);
    border-radius: 50%;

    box-shadow:
      0 0 0 35px rgba(147, 180, 223, 0.10),
      inset 0 0 0 18px rgba(255, 255, 255, 0.5);

    pointer-events: none;
    z-index: 0;
  }

  /* Forma técnica derecha */
  .hero-inner::after {
    content: "";
    position: absolute;
    display: block;

    width: 420px;
    height: 420px;

    top: 30%;
    right: -310px;

    border: 65px solid rgba(147, 180, 223, 0.32);
    border-radius: 50%;

    box-shadow:
      0 0 0 30px rgba(147, 180, 223, 0.12),
      inset 0 0 0 22px rgba(147, 180, 223, 0.16);

    pointer-events: none;
    z-index: 0;
  }

  .hero-inner > * {
    position: relative;
    z-index: 1;
  }
}

@media (max-width: 1199px) {
  .hero::after,
  .hero-inner::after {
    content: none;
  }
}

