:root {
  --ink: #101b2b;
  --ink-2: #18283d;
  --paper: #f7f5ef;
  --white: #fff;
  --muted: #617084;
  --line: #dfe4e8;
  --coral: #ff6b4a;
  --coral-dark: #d94b2d;
  --mint: #6ee7d8;
  --sun: #ffb347;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(16,27,43,.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; }
button, input, textarea, select { font: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 999; padding: 12px 16px; background: #fff; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(223,228,232,.75);
  background: rgba(247,245,239,.9);
  backdrop-filter: blur(16px);
}
.nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand img { display: block; width: 248px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 750; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--coral-dark); }
.menu-button { display: none; border: 0; background: transparent; font-size: 25px; cursor: pointer; }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--coral);
  border-radius: 999px;
  padding: 0 22px;
  color: #fff;
  background: var(--coral);
  box-shadow: 0 12px 28px rgba(255,107,74,.22);
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.button:hover { transform: translateY(-2px); background: var(--coral-dark); box-shadow: 0 16px 32px rgba(255,107,74,.3); }
.button.secondary { border-color: var(--line); color: var(--ink); background: transparent; box-shadow: none; }
.button.secondary:hover { border-color: var(--ink); background: var(--white); }
.button.small { min-height: 43px; padding-inline: 17px; font-size: 13px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 4px; background: var(--coral); }
h1, h2, h3 { margin-top: 0; line-height: 1.06; letter-spacing: -.04em; }
h1 { margin-bottom: 24px; font-size: clamp(47px, 6.8vw, 82px); }
h2 { margin-bottom: 18px; font-size: clamp(36px, 4.8vw, 58px); }
h3 { margin-bottom: 10px; font-size: 23px; }
p { margin-top: 0; }

.hero { position: relative; overflow: hidden; padding: 92px 0 100px; }
.hero::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -170px;
  top: -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110,231,216,.36), transparent 68%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(42px, 7vw, 90px); }
.hero-copy { max-width: 710px; }
.hero-copy h1 em { color: var(--coral); font-style: normal; }
.hero-lead { max-width: 650px; color: var(--muted); font-size: clamp(18px, 2vw, 22px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 31px 0 28px; }
.proof-row { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 13px; font-weight: 750; }
.proof-row span::before { content: "✓"; margin-right: 7px; color: var(--coral); font-weight: 950; }

.browser {
  position: relative;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 26px;
  padding: 12px;
  background: var(--ink);
  box-shadow: 0 38px 90px rgba(16,27,43,.3);
  transform: rotate(1.5deg);
}
.browser-bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 8px; }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #435267; }
.browser-bar i:first-child { background: var(--coral); }
.browser-bar i:nth-child(2) { background: var(--sun); }
.browser-bar i:nth-child(3) { background: var(--mint); }
.browser-url { flex: 1; margin-left: 8px; border-radius: 7px; padding: 4px 10px; color: #aeb8c5; background: #223249; font-size: 10px; }
.browser-screen { overflow: hidden; min-height: 440px; border-radius: 17px; padding: 31px; color: #fff; background: linear-gradient(145deg, #192a3e, #0d1725); }
.screen-label { color: var(--mint); font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.screen-title { max-width: 360px; margin: 12px 0 20px; font-size: clamp(31px, 4vw, 49px); font-weight: 900; line-height: .98; letter-spacing: -.055em; }
.screen-button { display: inline-flex; border-radius: 999px; padding: 10px 15px; color: #101b2b; background: var(--mint); font-size: 11px; font-weight: 900; }
.screen-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 10px; margin-top: 34px; }
.screen-card { min-height: 105px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 14px; background: rgba(255,255,255,.05); }
.screen-card strong { display: block; margin-top: 24px; font-size: 26px; }
.screen-lines { display: flex; align-items: flex-end; gap: 5px; height: 59px; }
.screen-lines i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(var(--coral), #9f3925); }
.screen-lines i:nth-child(1) { height: 32%; }.screen-lines i:nth-child(2) { height: 64%; }.screen-lines i:nth-child(3) { height: 46%; }.screen-lines i:nth-child(4) { height: 90%; }.screen-lines i:nth-child(5) { height: 72%; }
.float-card {
  position: absolute;
  right: -22px;
  bottom: 48px;
  width: 190px;
  border-radius: 18px;
  padding: 17px;
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
}
.float-card b { display: block; color: var(--coral-dark); font-size: 25px; }
.float-card span { color: var(--muted); font-size: 12px; }

.trust-strip { border-block: 1px solid var(--line); background: rgba(255,255,255,.52); }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-grid div { padding: 22px; border-right: 1px solid var(--line); text-align: center; }
.trust-grid div:last-child { border-right: 0; }
.trust-grid strong { display: block; font-size: 16px; }
.trust-grid span { color: var(--muted); font-size: 12px; }

.starter-cta { padding: 28px 0; color: #fff; background: var(--coral); }
.starter-cta-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 34px; }
.starter-cta-inner > div { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 18px; }
.starter-price { grid-row: 1 / 3; border-right: 1px solid rgba(255,255,255,.36); padding-right: 18px; font-size: clamp(27px, 4vw, 43px); font-weight: 950; letter-spacing: -.05em; white-space: nowrap; }
.starter-cta strong { font-size: 20px; }
.starter-cta p { grid-column: 2; margin: 0; color: rgba(255,255,255,.82); font-size: 13px; }
.starter-cta .button { border-color: #fff; color: var(--ink); background: #fff; box-shadow: none; }
.starter-cta .button:hover { color: #fff; background: var(--ink); }

.section { padding: 104px 0; }
.section.white { background: var(--white); }
.section.dark { color: #fff; background: var(--ink); }
.section-head { max-width: 790px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 18px; }
.dark .section-head p { color: #afbac7; }

.services { display: grid; grid-template-columns: repeat(3,1fr); gap: 17px; }
.service-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  background: var(--white);
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 46px; border-radius: 17px; color: var(--ink); background: var(--mint); font-size: 23px; font-weight: 950; }
.service-card:nth-child(2) .service-icon { background: #ffd19e; }
.service-card:nth-child(3) .service-icon { background: #ffc4b7; }
.service-card:nth-child(4) .service-icon { background: #c8d5ff; }
.service-card:nth-child(5) .service-icon { background: #d6f4bf; }
.service-card p { color: var(--muted); }
.text-link { color: var(--coral-dark); font-weight: 850; text-decoration: none; }

.portfolio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(35px, 7vw, 86px);
  align-items: center;
}
.case-gallery {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 30px;
  padding: 18px;
  background: linear-gradient(145deg, #1b2931, #090e12);
  box-shadow: 0 34px 80px rgba(0,0,0,.32);
}
.case-gallery-top { display: flex; justify-content: space-between; padding: 3px 5px 15px; color: #95a4b3; font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.case-slides { position: relative; min-height: 430px; }
.case-slide { margin: 0; }
.case-slide[hidden] { display: none; }
.case-media {
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 350px;
  border-radius: 19px;
  background: #071019;
}
.case-media.desktop img { display: block; width: 100%; height: 350px; object-fit: cover; object-position: top; }
.case-media.desktop.contain img { object-fit: contain; object-position: center; }
.case-media.phone { padding: 21px; background: radial-gradient(circle at 50% 30%, #243348, #071019 70%); }
.case-media.phone img { display: block; width: auto; max-width: 100%; height: 350px; object-fit: contain; filter: drop-shadow(0 20px 28px rgba(0,0,0,.4)); }
.case-media.phone.light-phone { background: #f4f4f2; }
.case-slide figcaption { display: flex; justify-content: space-between; gap: 22px; padding: 18px 4px 2px; }
.case-slide figcaption strong { color: #fff; font-size: 15px; }
.case-slide figcaption span { max-width: 290px; color: #9cabb9; font-size: 12px; text-align: right; }
.case-gallery-controls { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin-top: 12px; }
.case-gallery-controls > button { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; color: #fff; background: rgba(255,255,255,.05); cursor: pointer; }
.case-gallery-controls > button:hover { border-color: var(--mint); color: var(--mint); }
.case-dots { display: flex; justify-content: center; gap: 8px; }
.case-dots button { width: 8px; height: 8px; border: 0; border-radius: 999px; padding: 0; background: #536172; cursor: pointer; transition: width .2s, background .2s; }
.case-dots button.active { width: 28px; background: var(--coral); }
.case-kicker { color: var(--mint); font-weight: 850; }
.case-copy p { color: #b4bec8; font-size: 17px; }
.case-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 28px 0; }
.case-list div { border: 1px solid rgba(255,255,255,.12); border-radius: 15px; padding: 14px; color: #d7dee6; background: rgba(255,255,255,.04); font-size: 13px; }
.case-list b { display: block; color: #fff; font-size: 15px; }
.case-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button.case-secondary { border-color: rgba(255,255,255,.22); color: #fff; background: transparent; box-shadow: none; }

.case-study-hero { padding: 86px 0 70px; }
.case-study-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
.case-study-hero p { max-width: 720px; color: var(--muted); font-size: 20px; }
.case-summary { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; border-radius: 26px; padding: 23px; color: #fff; background: var(--ink); }
.case-summary div { border: 1px solid rgba(255,255,255,.12); border-radius: 15px; padding: 15px; color: #bdc8d4; font-size: 13px; }
.case-summary strong { display: block; color: #fff; font-size: 16px; }
.showcase-list { display: grid; gap: 80px; }
.showcase-item { display: grid; grid-template-columns: .34fr .66fr; gap: 45px; align-items: start; }
.showcase-item-copy { position: sticky; top: 120px; }
.showcase-item-copy p { color: var(--muted); }
.showcase-frame { overflow: hidden; border: 1px solid var(--line); border-radius: 25px; padding: 12px; background: #fff; box-shadow: var(--shadow); }
.showcase-frame.dark-frame { border-color: #223249; background: #071019; }
.showcase-frame img { display: block; width: 100%; height: auto; border-radius: 15px; }
.showcase-frame.phone-frame { display: grid; place-items: center; padding: 28px; background: radial-gradient(circle at 50% 25%, #26394f, #071019 72%); }
.showcase-frame.phone-frame img { width: min(420px,100%); }
.showcase-frame.phone-frame.light-phone { background: #f4f4f2; }
.image-open { display: inline-flex; margin-top: 13px; border: 0; padding: 0; color: var(--coral-dark); background: transparent; font-weight: 850; cursor: pointer; }
.image-lightbox { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; padding: 18px; background: rgba(4,10,18,.94); }
.image-lightbox.open { display: grid; }
.image-lightbox img { display: block; max-width: min(1500px,96vw); max-height: 88vh; object-fit: contain; }
.image-lightbox-close { position: fixed; top: 17px; right: 17px; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: #fff; background: rgba(0,0,0,.36); font-size: 25px; cursor: pointer; }
.price-note { color: var(--muted); font-size: 12px; }

.process { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; counter-reset: steps; }
.process article { border-top: 2px solid var(--ink); padding: 22px 10px 0 0; counter-increment: steps; }
.process article::before { content: "0" counter(steps); display: block; margin-bottom: 38px; color: var(--coral); font-size: 13px; font-weight: 950; }
.process p { color: var(--muted); font-size: 14px; }

.areas { display: grid; grid-template-columns: 1.15fr .85fr; gap: 54px; align-items: start; }
.area-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.area-cloud span { border: 1px solid rgba(255,255,255,.15); border-radius: 999px; padding: 10px 15px; color: #d6dee7; font-size: 13px; }
.areas p { color: #b4bec8; }
.local-pages { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.local-card { position: relative; overflow: hidden; min-height: 330px; border-radius: 28px; padding: 34px; color: #fff; text-decoration: none; box-shadow: var(--shadow); transition: transform .2s; }
.local-card:hover { transform: translateY(-5px); }
.local-card::after { content: ""; position: absolute; width: 240px; height: 240px; right: -70px; bottom: -90px; border-radius: 50%; background: rgba(255,255,255,.1); }
.canarias-card { background: linear-gradient(140deg,#101b2b,#226c78); }
.tenerife-card { background: linear-gradient(140deg,#341829,#ff6b4a); }
.local-card span { display: inline-block; margin-bottom: 55px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 7px 12px; font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .12em; }
.local-card h3 { max-width: 500px; font-size: clamp(27px,3vw,39px); }
.local-card p { max-width: 530px; color: rgba(255,255,255,.78); }
.local-card b { position: relative; z-index: 1; }

.faq { display: grid; gap: 11px; max-width: 900px; margin-inline: auto; }
.faq details { border: 1px solid var(--line); border-radius: 17px; background: var(--white); }
.faq summary { padding: 20px 24px; cursor: pointer; font-weight: 850; }
.faq p { margin: 0; padding: 0 24px 22px; color: var(--muted); }

.contact-wrap {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(35px, 6vw, 76px);
  border-radius: 34px;
  padding: clamp(30px, 6vw, 68px);
  color: #fff;
  background: linear-gradient(140deg, var(--ink), #223b55);
}
.contact-copy p { color: #b7c2ce; }
.contact-points { display: grid; gap: 10px; margin-top: 28px; color: #d8e0e7; font-size: 14px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1/-1; }
.field label { color: #d9e0e7; font-size: 12px; font-weight: 750; }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  padding: 13px 14px;
  color: #fff;
  background: rgba(255,255,255,.08);
  outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--mint); }
.field textarea { min-height: 125px; resize: vertical; }
.field select option { color: var(--ink); }
.form-note { grid-column: 1/-1; color: #9eacba; font-size: 11px; }

.site-footer { padding: 45px 0 30px; }
.footer-main { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 32px; }
.footer-main img { width: 230px; }
.footer-main p { max-width: 460px; margin-top: 16px; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; font-size: 13px; font-weight: 750; }
.footer-bottom { margin-top: 32px; border-top: 1px solid var(--line); padding-top: 20px; color: var(--muted); font-size: 12px; }

.service-hero { padding: 85px 0 70px; }
.service-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; }
.service-hero p { max-width: 700px; color: var(--muted); font-size: 20px; }
.service-panel { border-radius: 25px; padding: 29px; color: #fff; background: var(--ink); }
.service-panel ul { margin: 20px 0 0; padding-left: 19px; color: #c0cad5; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.content-grid p { color: var(--muted); }
.breadcrumbs { margin-bottom: 25px; color: var(--muted); font-size: 13px; }
.breadcrumbs a { text-decoration: none; }
.legal-page { max-width: 900px; }
.legal-page h1 { font-size: clamp(44px,6vw,72px); }
.legal-page h2 { margin-top: 45px; font-size: clamp(26px,3vw,36px); }
.legal-page p, .legal-page li { color: var(--muted); }
.legal-page li + li { margin-top: 9px; }
.legal-data { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 28px 0; }
.legal-data div { border: 1px solid var(--line); border-radius: 15px; padding: 16px; background: var(--white); }
.legal-data span { display: block; color: var(--muted); font-size: 12px; }
.legal-data strong { display: block; margin-top: 3px; }

@media (max-width: 930px) {
  .menu-button { display: block; }
  .nav-links {
    position: fixed;
    inset: 82px 0 auto;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 16px 20px 24px;
    background: var(--paper);
    box-shadow: 0 25px 40px rgba(16,27,43,.14);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px; }
  .nav-links .button { margin-top: 10px; }
  .hero-grid, .portfolio, .areas, .contact-wrap, .service-hero-grid, .content-grid, .case-study-hero-grid { grid-template-columns: 1fr; }
  .local-pages { grid-template-columns: 1fr; }
  .hero-copy { max-width: none; }
  .browser { max-width: 620px; margin-inline: auto; }
  .services { grid-template-columns: 1fr 1fr; }
  .service-card:last-child { grid-column: auto; }
  .process { grid-template-columns: 1fr 1fr; }
  .case-gallery { width: min(650px, 100%); }
  .starter-cta-inner { grid-template-columns: 1fr; }
  .showcase-item { grid-template-columns: 1fr; gap: 20px; }
  .showcase-item-copy { position: static; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 26px, 1160px); }
  .brand img { width: 204px; }
  .hero { padding: 66px 0 72px; }
  .hero-actions .button { width: 100%; }
  .starter-cta-inner > div { grid-template-columns: 1fr; }
  .starter-price { grid-row: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.36); padding: 0 0 8px; }
  .starter-cta p { grid-column: auto; }
  .starter-cta .button { width: 100%; }
  .browser-screen { min-height: 380px; padding: 22px; }
  .float-card { right: -4px; bottom: 26px; }
  .trust-grid, .services, .process, .case-list, .contact-form { grid-template-columns: 1fr; }
  .trust-grid div { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-grid div:last-child { border-bottom: 0; }
  .service-card:last-child { grid-column: auto; }
  .section { padding: 74px 0; }
  .case-gallery { padding: 12px; }
  .case-slides { min-height: 415px; }
  .case-media { min-height: 310px; }
  .case-media.desktop img { height: 310px; }
  .case-media.phone img { height: 310px; }
  .case-slide figcaption { display: grid; gap: 4px; }
  .case-slide figcaption span { text-align: left; }
  .case-actions .button { width: 100%; }
  .case-summary { grid-template-columns: 1fr; }
  .showcase-list { gap: 58px; }
  .showcase-frame { margin-inline: -4px; padding: 7px; border-radius: 18px; }
  .showcase-frame img { border-radius: 11px; }
  .showcase-frame.phone-frame { margin-inline: 0; padding: 18px; }
  .field.full, .form-note { grid-column: auto; }
  .legal-data { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
