/* ====== TYPOGRAPHY (Open Sans + Lovelace) ====== */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  font-stretch: normal;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/opensans/v44/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsiH0C4n.ttf) format('truetype');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: normal;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/opensans/v44/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsgH1y4n.ttf) format('truetype');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: normal;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/opensans/v44/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1y4n.ttf) format('truetype');
}
@font-face {
  font-family: 'Lovelace-bold';
  src: url('../font/Lovelace-Bold.eot');
  src: url('../font/Lovelace-Bold.eot?#iefix') format('embedded-opentype'),
       url('../font/Lovelace-Bold.woff2') format('woff2'),
       url('../font/Lovelace-Bold.woff') format('woff'),
       url('../font/Lovelace-Bold.ttf') format('truetype'),
       url('../font/Lovelace-Bold.svg#Lovelace-Bold') format('svg');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lovelace';
  src: url('../font/Lovelace-Regular.eot');
  src: url('../font/Lovelace-Regular.eot?#iefix') format('embedded-opentype'),
       url('../font/Lovelace-Regular.woff2') format('woff2'),
       url('../font/Lovelace-Regular.woff') format('woff'),
       url('../font/Lovelace-Regular.ttf') format('truetype'),
       url('../font/Lovelace-Regular.svg#Lovelace-Regular') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lovelace-light';
  src: url('../font/Lovelace-Medium.eot');
  src: url('../font/Lovelace-Medium.eot?#iefix') format('embedded-opentype'),
       url('../font/Lovelace-Medium.woff2') format('woff2'),
       url('../font/Lovelace-Medium.woff') format('woff'),
       url('../font/Lovelace-Medium.ttf') format('truetype'),
       url('../font/Lovelace-Medium.svg#Lovelace-Medium') format('svg');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ====== PATIO ANDALUZ TOKENS ====== */
:root{
  /* Cal */
  --bg: #ffffff;
  --surface: #ffffff;

  /* Texto */
  --text: #141826;
  --muted: rgba(20,24,38,.62);

  /* Marca / acentos patio */
  --brand: rgb(41, 47, 107);
  --brand-weak: rgba(41, 47, 107, .08);
  --brand-mid: rgba(41, 47, 107, .20);

  --terracotta: #b45a3c;
  --olive: #2f5d50;

  /* UI */
  --border: rgba(20,24,38,.10);
  --ring: rgba(41,47,107,.16);
  --radius: 18px;
  --radius-sm: 14px;
  --shadow: 0 14px 40px rgba(20,24,38,.06);

 
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
html, body{
  background:#ffffff !important;
}

body{
  font-family: "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 300;
  color: var(--text);
  background: #ffffff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Capa de azulejo + luz cálida (muy suave) */
body::before{ display:none !important; }


.wrap{width:min(1120px, calc(100% - 40px)); margin:0 auto;}
.muted{color:var(--muted)}
a{color:inherit}
.req{color:#b10000;font-weight:700}

/* Titulares: Lovelace */
h1,h2,h3{
  font-family:"Lovelace", Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.2px;
  color: rgba(20,24,38,.96);
}
strong,b{font-weight:700}

/* Kicker */
.kicker{
  display:inline-flex;
  padding:.38rem .75rem;
  border-radius:999px;
  background: rgba(47,93,80,.08);
  color: var(--olive);
  border: 1px solid rgba(47,93,80,.16);
  font-weight:600;
  font-size:.86rem;
  margin:0 0 1rem;
}

.text-link{color:var(--brand); font-weight:600; text-decoration:none}
.text-link:hover{text-decoration:underline}

/* Buttons */
.btn{
  appearance:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.9rem 1.05rem;
  border-radius:999px;
  background: var(--brand);
  color:#fff;
  font-weight:600;
  text-decoration:none;
  border: 1px solid rgba(255,255,255,.14);
  cursor:pointer;
  transition: filter .12s ease, transform .12s ease;
  box-shadow: 0 10px 26px rgba(41,47,107,.18);
}
.btn:hover{filter:brightness(1.05)}
.btn:active{transform: translateY(1px)}
.btn:focus{outline:3px solid var(--ring); outline-offset:2px}

.btn-ghost{
  background: rgba(255,255,255,.86);
  color: var(--brand);
  border: 1px solid rgba(41,47,107,.22);
  box-shadow: 0 10px 26px rgba(20,24,38,.04);
}
.btn-ghost:hover{background: rgba(41,47,107,.06)}
.btn-block{width:100%}

/* Header minimal, “cal” */
.site-header,
.section,
.section-soft,
.hero,
.closing,
.site-footer{
  background:#ffffff !important;
}

.header-inner{padding:18px 0}
.header-center{display:flex; justify-content:center; align-items:center}
.brand{display:inline-flex; align-items:center; text-decoration:none}
.brand-logo{height:34px; width:auto}
.brand-logo-lg{height:44px}
.brand-center{justify-content:center}

/* HERO: foto + overlay “cal” (no oscuro) */
.hero{
  position:relative;
  min-height: 70vh;
  display:grid;
  align-items:end;
  padding: 56px 0 64px;
}
.hero-media{
  position:absolute; inset:0;
  background-size:cover;
  background-position:center;
  filter:saturate(1.03) contrast(1.01);
}
.hero-overlay{ display:none; }

.hero-inner{position:relative}
.hero-card{
  width:min(760px, 100%);
  background: rgba(255,255,255,.88);
  border:1px solid rgba(20,24,38,.10);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
}

/* Friso cerámico superior */
.hero-card::before{
  content:"";
  position:absolute;
  left: 16px; right: 16px; top: 12px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg,
    rgba(41,47,107,.45),
    rgba(180,90,60,.35),
    rgba(47,93,80,.35),
    rgba(41,47,107,.45)
  );
  opacity: .75;
}

.hero-card h1{
  margin:.2rem 0 .7rem;
  font-size: clamp(2.05rem, 3.1vw, 2.9rem);
  line-height:1.08;
  letter-spacing:-.4px;
}
.lead{margin:0 0 1.25rem; color: rgba(20,24,38,.78)}
.hero-actions{display:flex; gap:10px; flex-wrap:wrap}

/* Sections */
.section{padding: 72px 0}
.section-head{margin:0 0 26px}
.section-head h2{
  margin:0 0 .45rem;
  font-size: clamp(1.55rem, 2.1vw, 2rem);
}
.section-head p{margin:0; max-width: 72ch}

/* Tipologías */
.split{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items:center;
  padding: 22px;
  background: rgba(255,255,255,.92);
  border:1px solid rgba(20,24,38,.10);
  border-radius: var(--radius);
  margin: 0 0 18px;
  box-shadow: var(--shadow);
  position: relative;
}

/* Friso superior cerámica (fino) */
.split::before{
  content:"";
  position:absolute;
  left: 14px; right: 14px; top: 12px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg,
    rgba(41,47,107,.38),
    rgba(180,90,60,.28),
    rgba(47,93,80,.28),
    rgba(41,47,107,.38)
  );
  opacity: .65;
}

.split.reverse{grid-template-columns: .9fr 1.1fr}
.split.reverse .split-media{order:2}
.split-media img{
  width:100%;
  height: 330px;
  object-fit:cover;
  border-radius: calc(var(--radius) - 6px);
}
.split-content h3{margin:0 0 .7rem; font-size:1.35rem}
.split-content p{margin:0 0 1rem; color: rgba(20,24,38,.78)}

/* Form section: cal + borde */
.section-soft{
  background: rgba(251,251,248,.80);
  border-top:1px solid rgba(20,24,38,.06);
  border-bottom:1px solid rgba(20,24,38,.06);
}

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

/* Card form */
.card{
  background: rgba(255,255,255,.94);
  border:1px solid rgba(20,24,38,.10);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.card::before{
  content:"";
  position:absolute;
  left: 14px; right: 14px; top: 12px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg,
    rgba(41,47,107,.40),
    rgba(180,90,60,.30),
    rgba(47,93,80,.30),
    rgba(41,47,107,.40)
  );
  opacity: .70;
}
.card-head{padding: 18px 18px 0}
.card-head h3{margin:0 0 .2rem}
.form{padding: 12px 18px 18px}
.card,
.split,
.info-box{
  border: 0 !important;
  box-shadow: none !important;
  background:#ffffff !important;
}
.field{display:flex; flex-direction:column; gap:6px; margin: 12px 0}
.field label{font-weight:600; font-size:.93rem}

input, select, textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: var(--radius-sm);
  border:1px solid rgba(20,24,38,.14);
  background:#fff;
  font: inherit;
  font-weight:300;
  transition: border-color .12s ease, box-shadow .12s ease;
}
input::placeholder, textarea::placeholder{color: rgba(20,24,38,.45)}
input:focus, select:focus, textarea:focus{
  outline:none;
  border-color: rgba(41,47,107,.55);
  box-shadow: 0 0 0 4px var(--ring);
}

.row{display:grid; grid-template-columns: 1fr 1fr; gap: 12px}
.checkbox{flex-direction:row; align-items:flex-start; gap:10px}
.checkbox input{width:18px; height:18px; margin-top:2px}

.form-legal{
  margin: 12px 0 0;
  font-size: .86rem;
  color: var(--muted);
}

.hp{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden}

/* Notices */
.notice{
  margin: 10px 18px 0;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-weight:600;
  border:1px solid rgba(20,24,38,.10);
}
.notice.ok{background: rgba(47,93,80,.08); color: var(--olive); border-color: rgba(47,93,80,.18)}
.notice.bad{background: rgba(177,0,0,.08); color:#6b0000; border-color: rgba(177,0,0,.18)}

/* Info box */
.info-box{
  margin-top: 18px;
  padding: 14px;
  border-radius: var(--radius);
  border:1px solid rgba(20,24,38,.10);
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 26px rgba(20,24,38,.04);
}
.info-title{font-weight:700; margin-bottom:8px}
.info-row{display:flex; gap:10px; margin: 6px 0}
.info-label{min-width:82px; color:var(--muted); font-weight:600}

/* Closing: vuelve a ser patio (cal) encima de imagen */
.closing{
  position:relative;
  padding: 80px 0;
  min-height: 50vh;
  display:grid;
  place-items:center;
  text-align:center;
}
.closing-media{position:absolute; inset:0; background-size:cover; background-position:center}
.closing-overlay{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(251,251,248,.55), rgba(251,251,248,.84)),
    radial-gradient(900px 520px at 20% 0%, rgba(180,90,60,.10), transparent 62%),
    radial-gradient(900px 520px at 80% 0%, rgba(47,93,80,.08), transparent 62%);
}
.closing-inner{position:relative; color: var(--text)}
.closing-inner h2{
  margin:0 0 .5rem;
  font-size: clamp(1.9rem, 2.7vw, 2.5rem);
  line-height:1.1;
  letter-spacing:-.3px;
}
.closing-inner p{margin:0 0 1.2rem; color: rgba(20,24,38,.72)}

/* Footer: oscuro elegante (como noche de patio) */
.site-footer{
  background:#0c0f1f;
  color: rgba(255,255,255,.86);
  padding: 26px 0;
}
.footer-inner{
  display:flex;
  gap:14px;
  align-items:flex-start;
  justify-content:space-between;
  flex-wrap:wrap;
}
.site-footer a{color:#fff; text-decoration:none}
.site-footer a:hover{text-decoration:underline}
.nav-link{
  text-decoration:none;
  color: rgba(255,255,255,.86);
  font-weight:600;
}

/* Responsive */
@media (max-width: 940px){
  .grid-2{grid-template-columns: 1fr}
  .split, .split.reverse{grid-template-columns: 1fr}
  .split.reverse .split-media{order:0}
  .split-media img{height: 280px}
}
@media (max-width: 560px){
  .wrap{width: calc(100% - 26px)}
  .row{grid-template-columns: 1fr}
  .hero{min-height: 78vh}
  .hero-card{padding: 20px}
  .brand-logo-lg{height:40px}
}
footer {
  width: 98%;
  max-width: 1240px;
  margin: 0 auto;
  margin-top: 100px;
  min-height: 200px;
  padding: 40px 1% 1% 0;
  background-color: #292f6b;
}
footer p {
  color: #ffffff !important;
  text-align: center;
  font-size: 20px;
  font-family: 'Lovelace-bold';
  font-weight: bold;
}
.redesfooter {
  width: 120px;
  margin: 0 auto;
}
.redesfooter a {
  width: 50px;
  padding: 5px;
  float: left;
  color: #ffffff !important;
}
.redesfooter a img {
  width: 100%;
}
@media (max-width: 999px) {
  footer {
    width: 98%;
    max-width: 1240px;
    margin: 0 auto;
    margin-top: 0px;
    min-height: 200px;
    padding: 40px 1% 1% 0;
    background-color: #292f6b;
  }
  footer p {
    color: #ffffff !important;
    text-align: center;
    font-size: 18px;
    font-family: 'Lovelace-bold';
    font-weight: bold;
  }
  .redesfooter {
    width: 120px;
    margin: 0 auto;
  }
  .redesfooter a {
    width: 50px;
    padding: 5px;
    float: left;
    color: #ffffff !important;
  }
  .redesfooter a img {
    width: 100%;
  }
}
.clear{
  clear: both;
}
/* LOGO MÁS GRANDE */
.brand-logo,
.brand-logo-lg{
  height: 60px !important;   /* prueba 56–72px */
  width: auto !important;
}

/* Un poco más de aire en la cabecera para que no se “apriete” */
.header-inner{
  padding: 22px 0 !important;
}

/* En móvil, un pelín menos */
@media (max-width: 560px){
  .brand-logo,
  .brand-logo-lg{
    height: 48px !important;
  }
  .header-inner{
    padding: 18px 0 !important;
  }
}
.photo-after-form { padding-top: 100px; }
.photo-full { margin: 0; }
.photo-full img{
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
  border-radius: 25px;
}
