/*
Theme Name: Spainify
Theme URI: https://spainify.io
Author: Spainify
Author URI: https://spainify.io
Description: Two-language landing theme for Spainify — Spanish S.L. setup on Mallorca for German-speaking entrepreneurs. Bilingual DE/EN via ?lang=en URL parameter.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: spainify
Tags: business, two-columns, custom-colors, custom-menu, translation-ready
*/

:root{
  --ink:#0E1B2C;
  --sea:#0F3A5F;
  --sea-deep:#0A2540;
  --terracotta:#C66B3D;
  --terracotta-soft:#E89868;
  --sand:#F4EFE6;
  --sand-warm:#EFE7D8;
  --bone:#FBF8F1;
  --line:rgba(14,27,44,.12);
  --muted:#6B7280;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Manrope',sans-serif;
  font-weight:400;
  font-size:17px;
  line-height:1.6;
  color:var(--ink);
  background:var(--bone);
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4,.display{font-family:'Fraunces',serif;font-weight:400;letter-spacing:-0.015em;line-height:1.08}
.italic{font-style:italic;font-feature-settings:"ss01"}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.container{max-width:1240px;margin:0 auto;padding:0 32px}
@media(max-width:640px){.container{padding:0 20px}}

/* NAV */
.nav{
  position:fixed;top:0;left:0;right:0;z-index:50;
  backdrop-filter:blur(12px);
  background:rgba(251,248,241,.82);
  border-bottom:1px solid var(--line);
}
.nav-inner{display:flex;align-items:center;justify-content:space-between;padding:18px 32px}
.brand{display:flex;align-items:center;gap:10px}
.brand-logo{height:48px;width:auto;display:block}
.footer-brand img{height:48px;width:auto;display:block}
.nav-links{display:flex;gap:36px;align-items:center}
.nav-links a{font-size:14px;color:var(--ink);opacity:.75;transition:opacity .2s}
.nav-links a:hover{opacity:1}
.lang-switch{display:flex;gap:4px;font-size:13px;font-weight:500;align-items:center;color:var(--muted)}
.lang-switch a{padding:4px 8px;border-radius:4px;transition:all .2s}
.lang-switch a.active{background:var(--sea-deep);color:var(--bone);opacity:1}
.lang-switch a:not(.active):hover{background:var(--sand)}
.lang-switch .sep{opacity:.4}

.btn{
  display:inline-block;padding:13px 24px;border-radius:999px;
  font-family:'Manrope',sans-serif;font-weight:500;font-size:14px;
  transition:transform .2s, box-shadow .2s;
  cursor:pointer;border:none;
}
.btn-primary{background:var(--sea-deep);color:var(--bone)}
.btn-primary:hover{transform:translateY(-1px);box-shadow:0 12px 28px -8px rgba(10,37,64,.4)}
.btn-ghost{border:1px solid var(--ink);color:var(--ink);background:transparent;padding:12px 23px}
.btn-ghost:hover{background:var(--ink);color:var(--bone)}
@media(max-width:780px){.nav-links{display:none}.nav-links.lang-switch{display:flex}}

/* HERO */
.hero{padding:160px 0 100px;position:relative;overflow:hidden}
.hero::before{
  content:"";position:absolute;top:-200px;right:-300px;width:800px;height:800px;
  background:radial-gradient(circle, rgba(198,107,61,.12), transparent 60%);
  pointer-events:none;
}
.hero-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:80px;align-items:start;position:relative}
@media(max-width:980px){.hero-grid{grid-template-columns:1fr;gap:50px}}

.eyebrow{
  display:inline-flex;align-items:center;gap:10px;
  font-size:13px;letter-spacing:0.08em;text-transform:uppercase;
  color:var(--terracotta);font-weight:500;margin-bottom:32px;
}
.eyebrow::before{content:"";width:24px;height:1px;background:var(--terracotta)}

h1.hero-title{
  font-size:clamp(46px,7vw,86px);
  font-weight:300;
  color:var(--sea-deep);
  margin-bottom:32px;
}
.hero-title .italic{color:var(--terracotta);font-weight:400}

.hero-sub{font-size:20px;line-height:1.5;color:var(--ink);opacity:.78;max-width:540px;margin-bottom:40px}
.hero-cta{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin-bottom:40px}
.hero-meta{display:flex;gap:32px;flex-wrap:wrap;font-size:14px;color:var(--muted)}
.hero-meta strong{color:var(--sea-deep);font-weight:600;display:block;font-size:24px;font-family:'Fraunces',serif;margin-bottom:2px}

.hero-card{background:white;border-radius:24px;padding:36px;box-shadow:0 30px 60px -20px rgba(10,37,64,.18), 0 0 0 1px var(--line);position:relative}
.hero-card-eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:0.1em;color:var(--terracotta);font-weight:600;margin-bottom:8px}
.hero-card-title{font-size:28px;font-weight:400;color:var(--sea-deep);margin-bottom:6px}
.hero-card-price{font-family:'Fraunces',serif;font-size:48px;font-weight:300;color:var(--sea-deep);margin:18px 0 4px;line-height:1}
.hero-card-price small{font-size:14px;font-family:'Manrope',sans-serif;color:var(--muted);font-weight:400;display:inline-block;margin-left:6px}
.hero-card-feat{list-style:none;margin:24px 0;border-top:1px solid var(--line);padding-top:20px}
.hero-card-feat li{padding:8px 0;font-size:15px;color:var(--ink);display:flex;align-items:start;gap:10px}
.hero-card-feat li::before{content:"→";color:var(--terracotta);font-weight:600;flex-shrink:0}
.hero-card .btn{width:100%;text-align:center;margin-top:8px}

/* TRUST */
.trust{background:var(--sand);padding:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.trust-inner{display:flex;justify-content:space-between;align-items:center;gap:40px;flex-wrap:wrap;font-size:14px;color:var(--muted)}
.trust-item{display:flex;align-items:center;gap:10px}
.trust-item svg{flex-shrink:0}

/* SECTIONS */
section{padding:120px 0}
@media(max-width:780px){section{padding:80px 0}}

.section-eyebrow{display:inline-block;font-size:13px;letter-spacing:0.1em;text-transform:uppercase;color:var(--terracotta);font-weight:500;margin-bottom:20px}
.section-title{font-size:clamp(36px,5vw,56px);font-weight:300;color:var(--sea-deep);max-width:780px;margin-bottom:24px}
.section-title .italic{font-style:italic;color:var(--terracotta);font-weight:400}
.section-lead{font-size:19px;color:var(--ink);opacity:.75;max-width:640px;line-height:1.55}

/* PROBLEM */
.problem{background:var(--sand-warm)}
.problem-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center;margin-top:64px}
@media(max-width:980px){.problem-grid{grid-template-columns:1fr;gap:40px}}
.problem-list{list-style:none}
.problem-list li{padding:24px 0;border-bottom:1px solid var(--line);font-size:17px;color:var(--ink)}
.problem-list li:last-child{border-bottom:none}
.problem-list b{font-family:'Fraunces',serif;font-weight:500;color:var(--sea-deep);display:block;font-size:21px;margin-bottom:6px}
.problem-quote{font-family:'Fraunces',serif;font-style:italic;font-size:32px;line-height:1.3;color:var(--sea-deep);font-weight:300;padding:32px;background:white;border-radius:20px;border-left:4px solid var(--terracotta)}

/* STEPS */
.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;margin-top:64px}
@media(max-width:880px){.steps-grid{grid-template-columns:1fr}}
.step{padding:32px;border-radius:20px;background:white;border:1px solid var(--line);position:relative;transition:transform .3s, box-shadow .3s}
.step:hover{transform:translateY(-4px);box-shadow:0 24px 48px -16px rgba(10,37,64,.16)}
.step-num{font-family:'Fraunces',serif;font-size:64px;font-weight:300;color:var(--terracotta);line-height:1;margin-bottom:24px}
.step h3{font-size:24px;font-weight:500;color:var(--sea-deep);margin-bottom:10px}
.step p{color:var(--ink);opacity:.7;font-size:15px;line-height:1.55}

/* PRICING */
.pricing{background:var(--sea-deep);color:var(--bone);position:relative;overflow:hidden}
.pricing::before{content:"";position:absolute;top:-300px;left:-200px;width:700px;height:700px;background:radial-gradient(circle,rgba(198,107,61,.18),transparent 65%);pointer-events:none}
.pricing .section-title{color:var(--bone)}
.pricing .section-eyebrow{color:var(--terracotta-soft)}
.pricing .section-lead{color:rgba(251,248,241,.7)}
.pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:64px;position:relative}
@media(max-width:980px){.pricing-grid{grid-template-columns:1fr;max-width:480px;margin-left:auto;margin-right:auto}}
.price-card{background:rgba(255,255,255,.04);backdrop-filter:blur(10px);border:1px solid rgba(251,248,241,.12);border-radius:20px;padding:36px;display:flex;flex-direction:column;transition:transform .3s, border-color .3s}
.price-card:hover{transform:translateY(-4px);border-color:rgba(232,152,104,.5)}
.price-card.featured{background:var(--bone);color:var(--ink);position:relative}
.price-card.featured .price-name,.price-card.featured .price-amount{color:var(--sea-deep)}
.price-card.featured .price-feat li{color:var(--ink)}
.price-card.featured .price-feat li::before{color:var(--terracotta)}
.featured-badge{position:absolute;top:-14px;left:50%;transform:translateX(-50%);background:var(--terracotta);color:white;padding:6px 16px;border-radius:999px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:0.08em}
.price-name{font-family:'Fraunces',serif;font-size:30px;font-weight:400;color:var(--bone);margin-bottom:4px}
.price-tag{font-size:13px;color:var(--terracotta-soft);text-transform:uppercase;letter-spacing:0.08em;font-weight:500;margin-bottom:24px}
.price-card.featured .price-tag{color:var(--terracotta)}
.price-amount{font-family:'Fraunces',serif;font-size:56px;font-weight:300;color:var(--bone);line-height:1}
.price-amount small{font-size:14px;font-family:'Manrope',sans-serif;color:rgba(251,248,241,.6);margin-left:8px;font-weight:400;display:inline-block;margin-bottom:6px;vertical-align:middle}
.price-card.featured .price-amount small{color:var(--muted)}
.price-feat{list-style:none;margin:32px 0;flex:1}
.price-feat li{padding:10px 0;font-size:14px;color:rgba(251,248,241,.85);display:flex;gap:10px;align-items:start;border-bottom:1px solid rgba(251,248,241,.08)}
.price-feat li::before{content:"✓";color:var(--terracotta-soft);font-weight:600;flex-shrink:0}
.price-card.featured .price-feat li{border-color:var(--line)}
.price-card .btn{width:100%;text-align:center}
.price-card .btn-primary{background:var(--terracotta);color:white}
.price-card .btn-primary:hover{background:var(--terracotta-soft)}
.price-card.featured .btn-primary{background:var(--sea-deep)}

/* FOUNDER */
.founder{background:var(--sand)}
.founder-grid{display:grid;grid-template-columns:1fr 1.4fr;gap:80px;align-items:center}
@media(max-width:880px){.founder-grid{grid-template-columns:1fr;gap:40px}}
.founder-photo{aspect-ratio:4/5;border-radius:20px;background:linear-gradient(135deg, var(--sand-warm), var(--terracotta-soft) 100%);position:relative;overflow:hidden;box-shadow:0 30px 60px -20px rgba(10,37,64,.25)}
.founder-photo::before{content:"";position:absolute;inset:24px;border:1px solid rgba(251,248,241,.5);border-radius:12px;z-index:1}
.founder-photo::after{content:"Foto";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-family:'Fraunces',serif;font-style:italic;color:rgba(14,27,44,.3);font-size:18px}
.founder p{font-size:18px;line-height:1.7;margin-bottom:20px;color:var(--ink);opacity:.85}
.founder-sig{font-family:'Fraunces',serif;font-style:italic;font-size:24px;color:var(--sea-deep);margin-top:32px}
.founder-role{font-size:14px;color:var(--muted);margin-top:4px}

/* FAQ */
.faq-list{margin-top:48px;max-width:880px}
.faq-item{border-bottom:1px solid var(--line);padding:8px 0}
.faq-item summary{list-style:none;cursor:pointer;padding:24px 40px 24px 0;position:relative;font-family:'Fraunces',serif;font-size:22px;font-weight:400;color:var(--sea-deep)}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+";position:absolute;right:0;top:50%;transform:translateY(-50%);font-size:28px;color:var(--terracotta);transition:transform .3s;line-height:0}
.faq-item[open] summary::after{transform:translateY(-50%) rotate(45deg)}
.faq-item-body{padding:0 0 24px 0;color:var(--ink);opacity:.78;font-size:16px;line-height:1.65}

/* CTA */
.cta{padding:140px 0;text-align:center;background:radial-gradient(ellipse at center, var(--sand-warm), var(--bone))}
.cta h2{font-size:clamp(40px,6vw,72px);font-weight:300;color:var(--sea-deep);margin-bottom:24px;max-width:900px;margin-left:auto;margin-right:auto}
.cta h2 .italic{color:var(--terracotta);font-style:italic}
.cta p{font-size:19px;color:var(--ink);opacity:.7;max-width:620px;margin:0 auto 40px}
.cta-buttons{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}

/* FOOTER */
.footer{background:var(--sea-deep);color:rgba(251,248,241,.7);padding:80px 0 40px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:60px;margin-bottom:60px}
@media(max-width:780px){.footer-grid{grid-template-columns:1fr 1fr;gap:40px}}
.footer h4{font-family:'Manrope',sans-serif;font-size:13px;text-transform:uppercase;letter-spacing:0.08em;color:var(--bone);margin-bottom:20px;font-weight:600}
.footer ul{list-style:none}
.footer ul li{padding:6px 0;font-size:15px}
.footer a:hover{color:var(--terracotta-soft)}
.footer-brand{margin-bottom:16px;display:flex;align-items:center}
.footer-bottom{padding-top:32px;border-top:1px solid rgba(251,248,241,.12);font-size:13px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:20px}

@keyframes fadeUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
.hero > *{animation:fadeUp .8s ease-out backwards}
.hero-grid > div:first-child > *{animation:fadeUp .8s ease-out backwards}
.hero-grid > div:first-child > *:nth-child(1){animation-delay:.05s}
.hero-grid > div:first-child > *:nth-child(2){animation-delay:.15s}
.hero-grid > div:first-child > *:nth-child(3){animation-delay:.25s}
.hero-grid > div:first-child > *:nth-child(4){animation-delay:.35s}
.hero-grid > div:first-child > *:nth-child(5){animation-delay:.45s}
.hero-card{animation:fadeUp 1s ease-out .4s backwards}
