/*
Theme Name: Claudiseguros - En construcción
Theme URI: https://claudiseguros.es/
Author: Claudiseguros
Description: Portada temporal con formulario de contacto para Claudiseguros.
Version: 1.5.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: claudiseguros
*/

@font-face {
  font-family: "Manrope";
  src: url("assets/Manrope-VariableFont.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --navy: #07356f;
  --navy-dark: #05254f;
  --teal: #05a8b5;
  --teal-soft: #dff6f7;
  --ink: #10213b;
  --muted: #64748b;
  --line: #dce5ec;
  --white: #ffffff;
  --shadow: 0 28px 75px rgba(5, 37, 79, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: #f5f9fc;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
button, input { font: inherit; }
a { color: inherit; }

.coming-soon {
  position: relative;
  width: 100%;
  max-width: 100vw;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  overflow: hidden;
  background: linear-gradient(118deg, var(--navy-dark) 0%, var(--navy) 55%, #075b82 100%);
}

.intro {
  position: relative;
  z-index: 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(44px, 7vw, 110px);
  color: var(--white);
}

.brand {
  display: inline-flex;
  align-self: flex-start;
  max-width: min(500px, 88%);
  margin-bottom: clamp(42px, 6vh, 72px);
  padding: 18px 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 45px rgba(1, 20, 48, .22);
}
.brand img { display: block; width: 100%; max-width: 100%; min-width: 0; height: auto; object-fit: contain; }

.status-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  margin-bottom: 22px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.status-badge::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #43d4ce;
  box-shadow: 0 0 0 5px rgba(67,212,206,.17);
}

.intro h1 {
  max-width: 760px;
  margin: 0 0 24px;
  font-family: "Manrope", Inter, ui-sans-serif, sans-serif;
  font-size: clamp(2.6rem, 4.7vw, 4.9rem);
  font-weight: 800;
  line-height: 1.01;
  letter-spacing: -.045em;
}
.intro-copy {
  max-width: 650px;
  margin: 0;
  color: rgba(255,255,255,.8);
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
}
.insurance-services {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: 27px;
}
.insurance-services__label {
  color: rgba(255,255,255,.68);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.insurance-services ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.insurance-services li {
  padding: 6px 11px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.92);
  font-size: .84rem;
  font-weight: 700;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 24px;
  margin-top: 26px;
  color: rgba(255,255,255,.88);
  font-size: .92rem;
  font-weight: 650;
}
.trust-row span { display: inline-flex; align-items: center; gap: 9px; }
.trust-row span::before { content: "✓"; color: #6ce0d8; font-weight: 900; }

.orb { position: absolute; z-index: 1; border-radius: 50%; pointer-events: none; }
.orb--one { width: 380px; height: 380px; right: 37%; top: -180px; background: rgba(6, 187, 192, .14); }
.orb--two { width: 260px; height: 260px; left: -105px; bottom: -110px; border: 1px solid rgba(255,255,255,.14); }
.shield-line {
  position: absolute;
  z-index: 1;
  width: 430px;
  height: 500px;
  right: 38%;
  bottom: -245px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 45% 45% 52% 52%;
  transform: rotate(12deg);
}

.form-side {
  position: relative;
  z-index: 3;
  min-width: 0;
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 72px);
  background: #f5f9fc;
}
.contact-card {
  width: min(100%, 560px);
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid rgba(7,53,111,.08);
  border-radius: 30px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.contact-card h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: -.04em;
}
.contact-card > p { margin: 0 0 28px; color: var(--muted); }

.notice {
  margin: 0 0 22px;
  padding: 13px 15px;
  border-radius: 12px;
  font-size: .92rem;
}
.notice--success { color: #075c54; background: #e1f7f3; }
.notice--error { color: #8a2d2d; background: #fff0ef; }

.contact-form { display: grid; gap: 18px; }
.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: .88rem;
  font-weight: 750;
}
.optional { color: var(--muted); font-size: .78rem; font-weight: 500; }
.field input {
  width: 100%;
  min-height: 54px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: none;
  background: #fbfdff;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus {
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(5,168,181,.12);
}
.privacy {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: .82rem;
}
.privacy input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--teal); }
.privacy a { color: var(--navy); text-underline-offset: 3px; }
.turnstile-wrap {
  min-height: 65px;
  display: flex;
  align-items: center;
}
.captcha-preview {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 300px;
  min-height: 58px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 650;
}
.captcha-preview::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  color: var(--white);
  background: var(--teal);
  font-size: 1rem;
}
.submit-button {
  min-height: 56px;
  border: 0;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(100deg, var(--navy), var(--teal));
  box-shadow: 0 13px 28px rgba(7,53,111,.19);
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.submit-button:hover { transform: translateY(-2px); box-shadow: 0 17px 34px rgba(7,53,111,.25); }
.submit-button:disabled { opacity: .52; cursor: not-allowed; transform: none; box-shadow: none; }
.submit-button:focus-visible { outline: 3px solid rgba(5,168,181,.28); outline-offset: 3px; }
.form-note { margin: 0; color: var(--muted); font-size: .76rem; text-align: center; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.legal-page {
  min-height: 100svh;
  padding: 34px 18px 70px;
  background: #f5f9fc;
}
.legal-shell { width: min(100%, 940px); margin: 0 auto; }
.legal-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.legal-logo { display: block; width: min(330px, 68vw); padding: 12px 16px; border-radius: 16px; background: #fff; box-shadow: 0 12px 32px rgba(5,37,79,.1); }
.legal-logo img { display: block; width: 100%; height: auto; }
.back-link { color: var(--navy); font-size: .9rem; font-weight: 750; text-underline-offset: 4px; }
.legal-content { padding: clamp(28px, 5vw, 58px); border: 1px solid rgba(7,53,111,.08); border-radius: 28px; background: #fff; box-shadow: var(--shadow); }
.legal-content h1 { margin: 0 0 26px; color: var(--navy); font-family: "Manrope", Inter, sans-serif; font-size: clamp(2.15rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -.04em; }
.legal-content h2 { margin: 32px 0 10px; color: var(--navy); font-size: 1.25rem; }
.legal-content p, .legal-content li { color: #48576d; }
.legal-content ul { padding-left: 22px; }
.legal-content a { color: var(--navy); text-underline-offset: 3px; }
.legal-updated { margin-top: 36px; font-size: .84rem; color: var(--muted); }

@media (max-width: 960px) {
  .coming-soon { grid-template-columns: minmax(0, 1fr); }
  .intro, .form-side { width: 100%; max-width: 100vw; }
  .intro { min-height: auto; padding-bottom: 80px; }
  .brand { margin-bottom: 58px; }
  .form-side { padding: 0 22px 52px; background: linear-gradient(180deg, transparent 0, transparent 45px, #f5f9fc 45px); }
  .contact-card { margin-top: -18px; }
  .shield-line { right: -180px; bottom: 38%; }
}
@media (max-width: 540px) {
  .intro { padding: 28px 22px 66px; }
  .brand { width: calc(100vw - 44px); max-width: calc(100vw - 44px); overflow: hidden; margin-bottom: 48px; padding: 14px 17px; border-radius: 17px; }
  .intro h1 { max-width: 100%; font-size: 2.2rem; overflow-wrap: anywhere; }
  .trust-row { display: grid; grid-template-columns: 1fr; }
  .form-side { padding-inline: 14px; }
  .contact-card { padding: 28px 21px; border-radius: 23px; }
}

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