/*
Theme Name: Ida SEO & AI Search
Theme URI: https://idagottliebtaarnhoej.dk/
Author: Ida Gottlieb Taarnhøj
Description: Skræddersyet bloktema med separat redigerbare forside-sektioner.
Version: 1.0.0
Text Domain: ida-seo
*/

/* ============================================================
   Ida Gottlieb Taarnhøj — Version 2 (conversion-optimized)
   Same brand palette as v1, restructured for lead conversion.
   Plain CSS, no build step.
   ============================================================ */

:root {
  --ink: #0f1a24;
  --ink-2: #14222f;
  --cream: #f6f1e9;
  --cream-2: #faf7f2;
  --paper: #ffffff;
  --gold: #b08d57;
  --gold-2: #c9a86a;
  --gold-ink: #7a5f30;
  --body: #4a4a4a;
  --body-soft: #5f5f5f;
  --line: #e7e0d4;
  --maxw: 1120px;
  --radius: 12px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --shadow: 0 18px 45px -22px rgba(15,26,36,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; font-family: var(--sans); color: var(--body);
  background: var(--paper); line-height: 1.65; -webkit-font-smoothing: antialiased;
}
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block-start: 0; }
.ida-main { margin: 0; }
.generic-page { padding-top: 64px; padding-bottom: 64px; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0; }
a { color: inherit; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 9px; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .12s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #a07d47; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-text { background: none; color: var(--ink); font-weight: 600; padding: 13px 6px; }
.btn-text:hover { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,241,233,.92); backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 19px; color: var(--ink); }
.brand-sub { font-size: 10px; letter-spacing: 1.6px; color: var(--gold); font-weight: 600; margin-top: 3px; }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink); }
.primary-nav a:not(.btn):hover { color: var(--gold); }
.primary-nav a.btn-dark { color: #fff; }
.nav-cta { padding: 10px 20px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--cream) 0%, #efe7da 100%); }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; min-height: 540px; }
.hero-text { align-self: center; padding: 60px 0; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .5px; color: var(--gold-ink); background: #efe3cf; padding: 6px 13px; border-radius: 100px; margin-bottom: 22px; }
.hero h1 { font-family: var(--serif); font-weight: 800; font-size: clamp(36px, 5.4vw, 60px); letter-spacing: -.5px; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-lead { max-width: 500px; font-size: 18px; color: var(--body); margin: 24px 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-reassure { margin: 22px 0 0; font-size: 14px; color: var(--body-soft); }
.hero-reassure .tick { color: var(--gold); font-weight: 700; }
.hero-image { align-self: stretch; display: flex; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: 0; }

/* ---------- Trust strip ---------- */
.trust { background: var(--paper); border-bottom: 1px solid var(--line); padding: 30px 0; }
.trust-label { text-align: center; font-size: 12.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--body-soft); margin: 0 0 20px; }
.trust-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px 46px; }

/* ---------- Experience strip ---------- */
.experience-strip { background: var(--paper); border-bottom: 1px solid var(--line); padding: 28px 0; }
.experience-strip-inner { text-align: center; max-width: 860px; }
.experience-kicker { margin: 0 0 10px; font-size: 12.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--body-soft); font-weight: 600; }
.experience-strip p:last-child { margin: 0; font-size: 15.5px; color: var(--body-soft); line-height: 1.65; }
.experience-strip strong { color: var(--ink); font-weight: 600; }

/* ---------- Intro copy ---------- */
.intro-copy { background: var(--cream); }
.intro-copy-inner { max-width: 820px; padding: 48px 24px 12px; }
.intro-copy p { margin: 0 0 18px; font-size: 17px; line-height: 1.75; color: var(--body); }
.intro-copy p:last-child { margin-bottom: 0; }
.client-logo { display: flex; align-items: center; gap: 7px; font-weight: 800; font-size: 19px; color: var(--ink); opacity: .8; }
.dot { width: 16px; height: 16px; border-radius: 50%; background: var(--gold); display: inline-block; }
.dot-blue { background: #2b7de9; }
.logo-travelrefund { font-weight: 600; }
.logo-heimdal .shield { width: 15px; height: 17px; display: inline-block; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230f1a24'%3E%3Cpath d='M12 2l8 3v6c0 5-3.5 8.5-8 10-4.5-1.5-8-5-8-10V5z'/%3E%3C/svg%3E"); }
.logo-dktv .dk { color: var(--ink); }
.logo-dktv .tv { color: var(--gold); }

/* ---------- Section heads ---------- */
.section-head { text-align: center; max-width: 620px; margin: 0 auto 46px; }
.section-title { font-family: var(--serif); font-weight: 700; font-size: clamp(27px, 3.6vw, 36px); }
.section-title.left { text-align: left; }
.section-sub { font-size: 17px; color: var(--body-soft); margin: 14px 0 0; }

/* ---------- Statement ---------- */
.statement { background: var(--cream); }
.statement-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 58px 24px; }
.statement-main .statement-inner { padding-top: 18px; }
.statement-title { font-family: var(--serif); font-weight: 700; font-size: clamp(24px, 3vw, 32px); line-height: 1.28; }
.statement-body p { margin: 0 0 18px; font-size: 16.5px; }
.statement-body p:last-child { margin-bottom: 0; }
.statement-body strong { color: var(--ink); }

/* ---------- Benefits ---------- */
.benefits { background: var(--paper); padding: 76px 0; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.benefit { border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; background: var(--cream-2); transition: transform .15s ease, box-shadow .15s ease; }
.benefit:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.benefit-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 12px; background: #efe3cf; color: var(--gold-ink); margin-bottom: 18px; }
.benefit-icon svg { width: 24px; height: 24px; }
.benefit h3 { font-size: 19px; margin-bottom: 10px; }
.benefit p { margin: 0; font-size: 15.5px; color: var(--body-soft); }
.benefit em { font-style: italic; color: var(--gold-ink); }
.benefits-cta { text-align: center; margin-top: 44px; }

/* ---------- Process ---------- */
.process { background: var(--cream-2); padding: 76px 0; }
.process-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: none; }
.step { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--gold-2); font-family: var(--serif); font-weight: 700; font-size: 20px; margin-bottom: 16px; }
.step h3 { font-size: 18px; margin-bottom: 10px; }
.step p { margin: 0; font-size: 15px; color: var(--body-soft); }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--ink); padding: 76px 0; }
.testimonials .section-title { color: #fff; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial { margin: 0; background: #17273400; border: 1px solid #2a3946; border-radius: var(--radius); padding: 30px 28px; }
.testimonial blockquote { margin: 0 0 20px; font-size: 16px; color: #e6ebf0; line-height: 1.6; }
.testimonial figcaption { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid #2a3946; padding-top: 16px; }
.t-name { color: var(--gold-2); font-weight: 600; font-size: 15px; }
.t-role { color: #95a2ae; font-size: 13.5px; }



/* ---------- Experience ---------- */
.experience { background: var(--ink); padding: 76px 0; }
.experience .section-title { color: #fff; }
.experience .section-sub { color: #b7c1ca; max-width: 760px; margin-left: auto; margin-right: auto; }
.experience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.experience-card { background: #17273400; border: 1px solid #2a3946; border-radius: var(--radius); padding: 30px 28px; }
.experience-card h3 { color: var(--gold-2); font-size: 18px; margin-bottom: 12px; }
.experience-card p { color: #e6ebf0; font-size: 15.5px; line-height: 1.65; margin: 0; }

/* ---------- Approach ---------- */
.approach { background: var(--cream); padding: 76px 0; }
.approach-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.approach .section-title { margin-bottom: 20px; }
.approach-intro { font-size: 16.5px; margin: 0 0 22px; }
.check-list { list-style: none; margin: 0 0 24px; padding: 0; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 13px; font-size: 15.5px; color: var(--body); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b08d57' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.approach-outro { font-size: 15px; color: var(--body-soft); margin: 0; }
.approach-card { background: var(--ink); color: #cdd6df; border-radius: 16px; padding: 40px 38px; box-shadow: var(--shadow); }
.approach-card-icon { display: inline-flex; color: var(--gold-2); margin-bottom: 16px; }
.approach-card-icon svg { width: 30px; height: 30px; }
.approach-card h3 { color: #fff; font-size: 21px; margin-bottom: 18px; }
.approach-card p { font-size: 15px; margin: 0 0 16px; color: #c2ccd6; }
.approach-card p:last-child { margin-bottom: 0; }
.approach-single { max-width: 760px; }
.ai-search-section { background: var(--cream); padding: 0 0 76px; }
.ai-search-section .approach-card { max-width: 760px; margin: 0 auto; }

/* ---------- Services ---------- */
.services { background: var(--paper); padding: 76px 0; }
.services-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service { display: flex; flex-direction: column; gap: 12px; padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream-2); font-size: 15px; color: var(--ink); font-weight: 500; }
.service-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: #efe3cf; color: var(--gold-ink); }
.service-icon svg { width: 22px; height: 22px; }
.service-highlight { background: var(--gold); color: #fff; font-family: var(--serif); font-weight: 600; font-size: 17px; justify-content: center; }

/* ---------- FAQ ---------- */
.faq-section { background: var(--cream-2); padding: 76px 0; }
.faq-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 40px; max-width: 940px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 18px 0; font-weight: 600; font-size: 16px; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-mark { position: relative; width: 14px; height: 14px; flex: none; }
.faq-mark::before, .faq-mark::after { content: ""; position: absolute; background: var(--gold); border-radius: 2px; transition: .2s; }
.faq-mark::before { left: 0; top: 6px; width: 14px; height: 2px; }
.faq-mark::after { left: 6px; top: 0; width: 2px; height: 14px; }
.faq-item[open] .faq-mark::after { transform: scaleY(0); }
.faq-item p { margin: 0 0 18px; font-size: 15px; color: var(--body-soft); }

/* ---------- Final CTA band ---------- */
.cta-band { background: var(--ink); color: #cdd6df; padding: 66px 0; }
.cta-inner { display: grid; grid-template-columns: 1.4fr .9fr; gap: 40px; align-items: center; }
.cta-text h2 { color: #fff; font-family: var(--serif); font-size: clamp(26px, 3.4vw, 34px); margin-bottom: 14px; }
.cta-text > p { font-size: 16px; color: #c2ccd6; margin: 0 0 22px; max-width: 560px; }
.cta-meta { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.cta-meta a { text-decoration: none; color: #fff; font-weight: 500; font-size: 15px; display: inline-flex; align-items: center; gap: 9px; }
.cta-meta a:hover { color: var(--gold-2); }
.cta-meta .ci { color: var(--gold-2); }
.cta-action { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cta-action .btn { width: 100%; }
.cta-reassure { font-size: 13.5px; color: #95a2ae; }

/* ---------- Footer ---------- */
.site-footer { background: #0a141d; color: #c2ccd6; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 24px; }
.footer-brand { display: flex; flex-direction: column; line-height: 1.15; }
.footer-brand .brand-name { color: #fff; }
.footer-legal { text-align: center; font-size: 12.5px; color: #8a97a4; }
.footer-social { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid #2a3946; color: #cdd6df; }
.footer-social:hover { background: #fff; color: var(--ink); }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta { display: none !important; }

/* ---------- Focus visibility ---------- */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { order: -1; max-height: 360px; }
  .hero-image img { max-height: 360px; }
  .hero-text { padding: 36px 0 44px; }
  .statement-inner { grid-template-columns: 1fr; gap: 22px; padding: 44px 24px; }
  .statement-main .statement-inner { padding-top: 14px; }
  .intro-copy-inner { padding: 36px 24px 8px; }
  .benefits-grid, .process-steps, .testimonial-grid, .experience-grid { grid-template-columns: 1fr; }
  .approach-inner { grid-template-columns: 1fr; gap: 34px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .faq-lists { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; gap: 26px; }
  .cta-action { align-items: stretch; }

  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px; display: none;
  }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 12px; border-bottom: 0 !important; }

  .mobile-cta { display: none !important; }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .trust-logos { gap: 18px 30px; }
  .experience-strip-inner { text-align: left; }
}

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