/* ============================================================
   Landes Isolation — Global Stylesheet
   Mobile-first · Performance-optimized
   ============================================================ */

/* --- Variables --- */
:root {
  --primary:       #1a5276;
  --primary-dark:  #154360;
  --primary-light: #2e86c1;
  --accent:        #e67e22;
  --accent-dark:   #ca6f1e;
  --green:         #1e8449;
  --text:          #1c2833;
  --text-muted:    #566573;
  --bg:            #f4f6f9;
  --bg-white:      #ffffff;
  --border:        #d5d8dc;
  --shadow-sm:     0 2px 8px rgba(0,0,0,.07);
  --shadow-md:     0 4px 24px rgba(0,0,0,.12);
  --radius:        8px;
  --radius-lg:     16px;
  --font:          'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  --max-w:         1200px;
  --ease:          .2s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--accent); }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; color: var(--text); }

/* --- Utilities --- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1rem; }
.section     { padding: 3rem 0; }
.section-alt { background: var(--bg-white); }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* --- Top bar --- */
.top-bar {
  background: var(--primary);
  color: rgba(255,255,255,.85);
  font-size: .78rem;
  padding: .35rem 1rem;
}
.top-bar-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; align-items: center;
}
.top-bar a { color: rgba(255,255,255,.9); }
.top-bar a:hover { color: var(--accent); }

/* --- Header --- */
.site-header {
  background: var(--primary-dark);
  box-shadow: var(--shadow-md);
  position: sticky; top: 0; z-index: 1000;
}
.header-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 1rem;
}
.site-logo { display: flex; align-items: center; gap: .6rem; }
.logo-icon {
  width: 42px; height: 42px; background: var(--accent); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0;
}
.logo-name    { display: block; color: #fff; font-size: 1.05rem; font-weight: 800; line-height: 1.1; }
.logo-sub     { display: block; color: rgba(255,255,255,.7); font-size: .68rem; letter-spacing: .4px; }
.header-phone {
  background: var(--accent); color: #fff; font-weight: 700; font-size: .9rem;
  padding: .5rem .9rem; border-radius: var(--radius);
  display: flex; align-items: center; gap: .4rem;
}
.header-phone:hover { background: var(--accent-dark); color: #fff; }
.nav-toggle {
  background: none; border: none; color: #fff; font-size: 1.6rem;
  cursor: pointer; padding: .4rem; line-height: 1; display: flex; align-items: center;
}

/* --- Nav --- */
.site-nav { background: var(--primary); display: none; }
.site-nav.open { display: block; }
.nav-list { max-width: var(--max-w); margin: 0 auto; padding: .5rem 1rem; }
.nav-item { border-bottom: 1px solid rgba(255,255,255,.1); }
.nav-item:last-child { border-bottom: none; }
.nav-link { display: block; padding: .65rem 0; color: rgba(255,255,255,.9); font-weight: 600; font-size: .9rem; }
.nav-link:hover { color: var(--accent); }

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  color: #fff; padding: 3.5rem 0 3rem; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fff' fill-opacity='.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
  padding: .25rem .8rem; border-radius: 20px; font-size: .78rem; font-weight: 600; margin-bottom: 1rem;
}
.hero h1 { font-size: clamp(1.6rem,5vw,2.8rem); color: #fff; margin-bottom: 1rem; line-height: 1.2; }
.hero h1 span { color: #fbbf24; }
.hero-lead { font-size: clamp(.95rem,2.5vw,1.1rem); opacity: .9; margin-bottom: 1.75rem; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 1.25rem;
  padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.2);
}
.hero-stat-num { display: block; font-size: 1.6rem; font-weight: 800; color: #fbbf24; line-height: 1; }
.hero-stat-lbl { font-size: .72rem; opacity: .85; margin-top: .15rem; }
.hero-certifs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.certif-tag {
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
  padding: .2rem .65rem; border-radius: 4px; font-size: .72rem; font-weight: 700; letter-spacing: .4px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .75rem 1.4rem; border-radius: var(--radius);
  font-weight: 700; font-size: .95rem; cursor: pointer;
  border: 2px solid transparent; transition: all var(--ease); line-height: 1.2;
}
.btn-primary  { background: var(--accent);     color: #fff; border-color: var(--accent); }
.btn-primary:hover  { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(230,126,34,.35); }
.btn-outline  { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline:hover  { background: rgba(255,255,255,.15); color: #fff; }
.btn-green    { background: var(--green); color: #fff; border-color: var(--green); }
.btn-green:hover    { background: #166638; color: #fff; }
.btn-lg { padding: .9rem 1.75rem; font-size: 1.05rem; }
.btn-sm { padding: .5rem .95rem; font-size: .85rem; }
.btn-block { width: 100%; justify-content: center; }

/* --- Trust bar --- */
.trust-bar { background: var(--bg-white); border-bottom: 1px solid var(--border); padding: 1rem 0; }
.trust-items { display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: center; align-items: center; }
.trust-item { display: flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 600; }
.trust-icon { font-size: 1.2rem; }

/* --- Section header --- */
.section-header { margin-bottom: 2.25rem; }
.section-header h2 { font-size: clamp(1.4rem,4vw,2rem); margin-bottom: .5rem; }
.section-header p { color: var(--text-muted); max-width: 620px; }
.section-tag {
  display: inline-block; padding: .2rem .65rem; border-radius: 4px;
  font-size: .72rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; margin-bottom: .6rem;
}
.section-tag.blue   { background: rgba(26,82,118,.1);  color: var(--primary); }
.section-tag.green  { background: rgba(30,132,73,.1);  color: var(--green); }
.section-tag.orange { background: rgba(230,126,34,.12); color: var(--accent); }

/* --- Cards grid --- */
.cards-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.card {
  background: var(--bg-white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 1.25rem; }
.card-icon {
  width: 48px; height: 48px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: .9rem;
  background: rgba(26,82,118,.1);
}
.card-title { font-size: 1.05rem; margin-bottom: .5rem; }
.card-text  { color: var(--text-muted); font-size: .9rem; margin-bottom: .9rem; }

/* --- Content --- */
.content-block { margin-bottom: 2rem; }
.content-block h2 { font-size: 1.5rem; margin-bottom: .75rem; padding-bottom: .6rem; border-bottom: 3px solid var(--primary); }
.content-block h3 { font-size: 1.1rem; margin: 1.25rem 0 .5rem; color: var(--primary); }
.content-block p  { margin-bottom: .9rem; }
.content-block ul li { padding: .3rem 0 .3rem 1.4rem; position: relative; }
.content-block ul li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* --- Highlight box --- */
.highlight {
  border-left: 4px solid var(--primary); border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(26,82,118,.05); padding: 1rem 1.25rem; margin: 1.25rem 0;
}
.highlight.green  { border-color: var(--green);  background: rgba(30,132,73,.05); }
.highlight.orange { border-color: var(--accent); background: rgba(230,126,34,.05); }

/* --- Steps --- */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex; gap: 1rem; padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0;
}
.step-body h3 { font-size: 1rem; margin-bottom: .25rem; }
.step-body p  { font-size: .88rem; color: var(--text-muted); margin: 0; }

/* --- FAQ --- */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: .6rem; overflow: hidden; }
.faq-q {
  padding: 1rem 1.25rem; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; font-weight: 600; background: var(--bg-white); font-size: .93rem; gap: .75rem;
}
.faq-q:hover { background: rgba(26,82,118,.04); }
.faq-icon { font-size: 1.2rem; transition: transform var(--ease); color: var(--primary); flex-shrink: 0; }
.faq-q.active .faq-icon { transform: rotate(45deg); }
.faq-a {
  padding: 0 1.25rem; max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  font-size: .88rem; color: var(--text-muted); background: var(--bg-white);
}
.faq-a.open { padding: 0 1.25rem 1rem; max-height: 500px; }

/* --- CTA section --- */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff; padding: 3.5rem 0; text-align: center;
}
.cta-section h2 { color: #fff; font-size: clamp(1.4rem,4vw,2rem); margin-bottom: .75rem; }
.cta-section p  { opacity: .9; margin-bottom: 1.75rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* --- Breadcrumb --- */
.breadcrumb { background: var(--bg-white); border-bottom: 1px solid var(--border); padding: .6rem 0; }
.bc-list { display: flex; flex-wrap: wrap; gap: .25rem; align-items: center; font-size: .8rem; }
.bc-item { display: flex; align-items: center; gap: .25rem; color: var(--text-muted); }
.bc-item a { color: var(--primary); }
.bc-sep { color: var(--border); }

/* --- Local section --- */
.local-box {
  background: linear-gradient(135deg,rgba(30,132,73,.05),rgba(26,82,118,.05));
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; margin: 1.5rem 0;
}
.local-box h2 { font-size: 1.25rem; color: var(--primary); margin-bottom: .6rem; }

/* --- Cities grid --- */
.cities-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: .6rem; }
.city-link {
  background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: .65rem .9rem; font-size: .85rem; font-weight: 600; color: var(--text);
  display: flex; align-items: center; gap: .4rem; transition: all var(--ease);
}
.city-link:hover { border-color: var(--primary); color: var(--primary); background: rgba(26,82,118,.04); }

/* --- Related tags --- */
.related-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.rel-tag {
  background: rgba(26,82,118,.08); color: var(--primary);
  padding: .3rem .8rem; border-radius: 20px; font-size: .78rem; font-weight: 600;
  transition: all var(--ease);
}
.rel-tag:hover { background: var(--primary); color: #fff; }

/* --- Reviews --- */
.review-card {
  background: var(--bg-white); border-radius: var(--radius); padding: 1.25rem;
  box-shadow: var(--shadow-sm); border-left: 4px solid #fbbf24;
}
.review-stars { color: #fbbf24; margin-bottom: .5rem; }
.review-text  { font-size: .88rem; font-style: italic; margin-bottom: .6rem; }
.review-auth  { font-size: .8rem; font-weight: 700; color: var(--text-muted); }

/* --- Form --- */
.contact-form { background: var(--bg-white); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.form-group { margin-bottom: 1.1rem; }
.form-label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .88rem; }
.form-control {
  width: 100%; padding: .65rem .9rem; border: 2px solid var(--border); border-radius: var(--radius);
  font-size: .93rem; font-family: var(--font); color: var(--text); background: var(--bg);
  transition: border-color var(--ease);
}
.form-control:focus { outline: none; border-color: var(--primary); background: #fff; }
.form-control::placeholder { color: #aab; }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-note { font-size: .78rem; color: var(--text-muted); margin-top: .4rem; }
.req { color: var(--accent); }

/* --- Alert --- */
.alert { padding: .9rem 1.1rem; border-radius: var(--radius); margin-bottom: 1rem; font-size: .9rem; display: flex; gap: .6rem; }
.alert-success { background: rgba(30,132,73,.1); border-left: 4px solid var(--green); }

/* --- Footer --- */
.site-footer { background: #0d1f2d; color: rgba(255,255,255,.8); padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; margin-bottom: 2.25rem; }
.footer-brand p { font-size: .85rem; opacity: .7; margin: .75rem 0 1rem; }
.footer-heading { color: #fff; font-size: .88rem; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; margin-bottom: .9rem; }
.footer-links li { margin-bottom: .4rem; }
.footer-links a { color: rgba(255,255,255,.7); font-size: .85rem; }
.footer-links a:hover { color: var(--accent); }
.footer-contact-item { display: flex; align-items: flex-start; gap: .5rem; font-size: .85rem; margin-bottom: .6rem; opacity: .85; }
.footer-contact-item a { color: rgba(255,255,255,.85); }
.footer-contact-item a:hover { color: var(--accent); }
.footer-certifs { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }
.footer-certif { background: rgba(255,255,255,.1); padding: .15rem .5rem; border-radius: 4px; font-size: .7rem; font-weight: 700; letter-spacing: .4px; color: #fbbf24; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.25rem; font-size: .78rem; opacity: .6; display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between; }
.footer-bottom a { color: rgba(255,255,255,.6); }

/* --- Two-col layout --- */
.two-col { display: grid; gap: 1.75rem; grid-template-columns: 1fr; }

/* --- Info table --- */
.info-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.info-table th { background: var(--primary); color: #fff; padding: .65rem .9rem; text-align: left; }
.info-table td { padding: .65rem .9rem; border-bottom: 1px solid var(--border); }
.info-table tr:nth-child(even) td { background: rgba(26,82,118,.03); }
.info-table td:first-child { font-weight: 600; }

/* ============================================================
   Responsive — Tablet 600px+
   ============================================================ */
@media (min-width: 600px) {
  .container { padding: 0 1.5rem; }
  .cards-grid { grid-template-columns: repeat(2,1fr); }
  .cities-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .nav-toggle { display: none; }
  .site-nav { display: block !important; }
  .nav-list { display: flex; flex-wrap: wrap; padding: 0 1.5rem; }
  .nav-item { border-bottom: none; }
  .nav-link { padding: .75rem .9rem; font-size: .88rem; }
}

/* ============================================================
   Responsive — Desktop 960px+
   ============================================================ */
@media (min-width: 960px) {
  .section { padding: 4.5rem 0; }
  .container { padding: 0 2rem; }
  .cards-grid { grid-template-columns: repeat(3,1fr); }
  .cards-grid.four { grid-template-columns: repeat(4,1fr); }
  .two-col { grid-template-columns: 3fr 2fr; gap: 2.5rem; }
  .two-col.equal { grid-template-columns: 1fr 1fr; }
  .hero { padding: 5rem 0 4rem; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .cities-grid { grid-template-columns: repeat(4,1fr); }
}

@media print {
  .site-header, .site-nav, .top-bar, .cta-section, .hero-actions, .site-footer { display: none !important; }
  body { color: #000; background: #fff; }
}
