/* ==========================================================================
   Aayush SEO — theme stylesheet
   Plain CSS port of the original design system. No build step required.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --radius: 1.125rem;
  --background: #ffffff;
  --foreground: #334155;
  --surface: #f8fafc;

  --primary: #0f172a;
  --primary-foreground: #f8fafc;
  --secondary: #2563eb;
  --secondary-foreground: #f8fafc;
  --accent: #f59e0b;
  --accent-foreground: #0f172a;

  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --destructive: #dc2626;
  --border: #e5e7eb;

  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  --gradient-hero:
    radial-gradient(1200px 600px at 20% -10%, rgba(37, 99, 235, 0.35), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(245, 158, 11, 0.22), transparent 60%),
    linear-gradient(180deg, #0f172a 0%, #0b1120 100%);
  --gradient-soft: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);

  --shadow-soft: 0 10px 40px -12px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 20px 60px -20px rgba(37, 99, 235, 0.35);

  --font-display: "Poppins", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --header-offset: 6.5rem;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video, iframe { max-width: 100%; height: auto; display: block; }

a { color: var(--secondary); text-decoration: none; transition: color .25s ease; }
a:hover { color: #1d4ed8; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0 0 .6em;
  font-weight: 700;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }

button { font: inherit; cursor: pointer; }

::selection { background: rgba(37, 99, 235, .18); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 768px) { .container { padding-inline: 2.5rem; } }
.container--narrow { max-width: 56rem; }

.section { padding-block: 5rem; }
.section--tight { padding-block: 4rem; }
.section--surface { background: var(--surface); }

.grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 900px) { .grid--sidebar { grid-template-columns: minmax(0, 1fr) 20rem; gap: 3rem; } }

.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.stack > * + * { margin-top: 1rem; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--primary); color: var(--primary-foreground);
  padding: .75rem 1.25rem; border-radius: .75rem;
}
.skip-link:focus { left: 1rem; top: 1rem; color: var(--primary-foreground); }

:focus-visible { outline: 2px solid var(--secondary); outline-offset: 3px; }

/* ---------- Utilities ---------- */
.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--secondary);
}
.eyebrow--light { color: var(--accent); }

.text-gradient {
  background: linear-gradient(135deg, #2563eb, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.muted { color: var(--muted-foreground); }
.lead { font-size: 1.05rem; color: var(--muted-foreground); max-width: 44rem; }

.glass {
  background: rgba(255, 255, 255, .7);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .6);
}
.glass-dark {
  background: rgba(15, 23, 42, .55);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .1);
}

.card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
  height: 100%;
  transition: transform .45s ease, box-shadow .45s ease, border-color .45s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-glow); }

.icon-badge {
  display: grid; place-items: center;
  width: 3.5rem; height: 3.5rem;
  border-radius: 1rem;
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
  flex: none;
}
.icon-badge--sm { width: 2.75rem; height: 2.75rem; border-radius: .85rem; }
.icon-badge svg { width: 1.35rem; height: 1.35rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 0; border-radius: 999px;
  padding: .9rem 1.6rem;
  font-size: .9rem; font-weight: 600;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--gradient-primary); color: #fff; box-shadow: var(--shadow-glow); }
.btn--primary:hover { color: #fff; }
.btn--accent { background: var(--accent); color: var(--primary); }
.btn--accent:hover { color: var(--primary); }
.btn--dark { background: var(--primary); color: var(--primary-foreground); }
.btn--dark:hover { color: var(--primary-foreground); }
.btn--ghost {
  background: transparent; color: var(--primary);
  border: 1px solid var(--border);
}
.btn--ghost:hover { border-color: var(--secondary); color: var(--secondary); }
.btn--outline-light {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
}
.btn--outline-light:hover { color: #fff; border-color: var(--accent); }
.btn__arrow { transition: transform .25s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 60;
  padding-block: 1rem;
  transition: padding .3s ease;
}
.site-header.is-scrolled { padding-block: .5rem; }

.nav-shell {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  border-radius: 1.25rem;
  padding: .7rem 1rem;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  background: transparent;
  border: 1px solid transparent;
}
.site-header.is-scrolled .nav-shell {
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-color: rgba(255, 255, 255, .6);
  box-shadow: var(--shadow-soft);
}

.site-branding { display: flex; align-items: center; gap: .6rem; }
.site-branding a { color: var(--primary); }
.site-branding img { max-height: 44px; width: auto; }
.brand-mark {
  display: grid; place-items: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: .75rem;
  background: var(--gradient-primary);
  color: #fff; font-weight: 700;
  font-family: var(--font-display);
  box-shadow: var(--shadow-glow);
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.1rem;
  letter-spacing: -.02em; color: var(--primary);
}
.brand-text span { color: var(--secondary); }
.brand-tagline { display: none; }

.primary-navigation ul {
  list-style: none; display: flex; align-items: center;
  gap: .25rem; margin: 0; padding: 0;
}
.primary-navigation a {
  display: block;
  border-radius: 999px;
  padding: .55rem 1rem;
  font-size: .9rem; font-weight: 500;
  color: var(--muted-foreground);
}
.primary-navigation a:hover { background: var(--surface); color: var(--primary); }
.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a,
.primary-navigation .current-menu-ancestor > a {
  background: var(--surface); color: var(--primary);
}
.primary-navigation .sub-menu {
  display: none; position: absolute; min-width: 12rem;
  flex-direction: column; align-items: stretch;
  background: #fff; border: 1px solid var(--border);
  border-radius: 1rem; padding: .4rem;
  box-shadow: var(--shadow-soft);
}
.primary-navigation li { position: relative; }
.primary-navigation li:hover > .sub-menu,
.primary-navigation li:focus-within > .sub-menu { display: flex; }

.nav-cta { display: none; }
.menu-toggle {
  display: grid; place-items: center;
  width: 2.6rem; height: 2.6rem;
  border-radius: .8rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .8);
  color: var(--primary);
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }

.mobile-navigation {
  display: none;
  margin-top: .5rem;
  border-radius: 1.25rem;
  padding: 1rem;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: var(--shadow-soft);
}
.mobile-navigation.is-open { display: block; animation: fade-in .35s ease both; }
.mobile-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .15rem; }
.mobile-navigation .sub-menu { padding-left: .75rem; }
.mobile-navigation a {
  display: block; border-radius: .85rem;
  padding: .8rem 1rem; font-size: .92rem; font-weight: 500;
  color: var(--muted-foreground);
}
.mobile-navigation a:hover { background: var(--surface); color: var(--primary); }
.mobile-navigation .mobile-cta {
  margin-top: .6rem; text-align: center;
  background: var(--gradient-primary); color: #fff; font-weight: 600;
}
.mobile-navigation .mobile-cta:hover { color: #fff; }

@media (min-width: 900px) {
  .nav-cta { display: inline-flex; }
  .menu-toggle { display: none; }
  .mobile-navigation, .mobile-navigation.is-open { display: none; }
}
@media (max-width: 899px) {
  .primary-navigation { display: none; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--gradient-hero);
  color: var(--primary-foreground);
  padding-top: calc(var(--header-offset) + 3rem);
  padding-bottom: 5rem;
  text-align: center;
}
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,.82), rgba(15,23,42,.94));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--primary-foreground); max-width: 48rem; margin-inline: auto; }
.page-hero p { color: rgba(248, 250, 252, .78); max-width: 40rem; margin-inline: auto; }
.page-hero .pill { margin-bottom: 1.4rem; }

.pill {
  display: inline-flex; align-items: center; gap: .5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: .4rem 1rem;
  font-size: .72rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(248, 250, 252, .85);
}
.pill .dot {
  width: .4rem; height: .4rem; border-radius: 999px;
  background: var(--accent);
  animation: pulse-glow 2.4s ease-out infinite;
}

.orb { position: absolute; border-radius: 999px; filter: blur(70px); pointer-events: none; }
.orb--blue { width: 22rem; height: 22rem; background: rgba(37, 99, 235, .35); left: -6rem; top: 4rem; animation: float-slow 9s ease-in-out infinite; }
.orb--amber { width: 26rem; height: 26rem; background: rgba(245, 158, 11, .22); right: -4rem; top: 8rem; animation: float 6s ease-in-out infinite; }

/* ---------- Front page hero ---------- */
.hero {
  position: relative; overflow: hidden;
  color: var(--primary-foreground);
  padding-top: calc(var(--header-offset) + 2.5rem);
  padding-bottom: 5rem;
  background: var(--primary);
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 15% 0%, rgba(37, 99, 235, .35), transparent 60%),
    radial-gradient(700px 420px at 95% 15%, rgba(245, 158, 11, .2), transparent 60%),
    linear-gradient(180deg, rgba(15, 23, 42, .78) 0%, rgba(15, 23, 42, .9) 55%, #0f172a 100%);
}
.hero .container { position: relative; z-index: 3; }
.hero__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 4rem; } }

.hero h1 { color: var(--primary-foreground); margin-top: 1.5rem; }
.hero__sub { color: rgba(248, 250, 252, .78); font-size: 1.05rem; max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

/* 3D card */
.scene-3d { perspective: 1200px; perspective-origin: 50% 50%; }
.tilt-card {
  position: relative;
  transform-style: preserve-3d;
  border-radius: 1.75rem;
  overflow: visible;
  transition: transform .25s ease-out;
  animation: tilt-3d 10s ease-in-out infinite;
}
.tilt-card.is-interactive { animation: none; }
.tilt-card__inner {
  border-radius: 1.75rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7);
  transform: translateZ(40px);
}
.tilt-card__inner img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.tilt-badge {
  position: absolute;
  display: inline-flex; align-items: center; gap: .45rem;
  border-radius: 999px;
  padding: .5rem .9rem;
  font-size: .78rem; font-weight: 600;
  color: #fff;
  background: rgba(15, 23, 42, .62);
  border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8);
}
.tilt-badge--1 { top: 8%;  left: -8%;  transform: translateZ(90px); }
.tilt-badge--2 { top: 42%; right: -10%; transform: translateZ(120px); }
.tilt-badge--3 { bottom: 10%; left: -6%; transform: translateZ(70px); }
.tilt-badge .dot { width: .5rem; height: .5rem; border-radius: 999px; background: var(--accent); }
@media (max-width: 640px) {
  .tilt-badge--1, .tilt-badge--3 { left: 2%; }
  .tilt-badge--2 { right: 2%; }
}

/* ---------- Stats ---------- */
.stats { background: var(--surface); }
.stat {
  border-radius: 1.5rem; border: 1px solid var(--border);
  background: var(--background); padding: 1.75rem;
  text-align: center; height: 100%;
}
.stat__value {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 700; line-height: 1;
}
.stat__label { margin-top: .6rem; font-size: .85rem; color: var(--muted-foreground); }

/* ---------- Feature lists ---------- */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
@media (min-width: 640px) { .check-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.check-list li { display: flex; gap: .55rem; align-items: flex-start; font-size: .9rem; }
.check-list svg { width: 1rem; height: 1rem; flex: none; margin-top: .3rem; color: var(--secondary); }

.deliverables {
  border-radius: 1rem; background: var(--surface);
  padding: 1rem; margin-top: .25rem;
}
.deliverables__title {
  font-size: .7rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted-foreground);
  margin-bottom: .75rem;
}

.service-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 1.25rem; }
.service-card__head { display: flex; align-items: center; gap: 1rem; }
.service-card__head h3 { margin: 0; font-size: 1.15rem; }
.service-card__tagline { font-size: .75rem; font-weight: 600; color: var(--secondary); }
.service-card p { font-size: .9rem; color: var(--muted-foreground); margin: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: .3rem; font-size: .88rem; font-weight: 600; color: var(--secondary); }
.link-arrow:hover { gap: .6rem; }
.link-arrow svg { width: 1rem; height: 1rem; }

/* ---------- Process / steps ---------- */
.step { border-radius: 1.5rem; border: 1px solid var(--border); background: var(--background); padding: 1.5rem; height: 100%; }
.step__num { font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; }
.step h3 { margin: .8rem 0 .4rem; font-size: 1.05rem; }
.step p { font-size: .88rem; color: var(--muted-foreground); margin: 0; }

/* ---------- Testimonials ---------- */
.quote {
  border-radius: 1.5rem; border: 1px solid var(--border);
  background: var(--background); padding: 2rem; height: 100%;
  box-shadow: var(--shadow-soft);
}
.quote p { font-size: .95rem; }
.quote__author { display: flex; align-items: center; gap: .75rem; margin-top: 1.25rem; }
.quote__avatar {
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; border-radius: 999px;
  background: var(--gradient-primary); color: #fff; font-weight: 700;
}
.quote__name { font-weight: 600; color: var(--primary); font-size: .9rem; }
.quote__role { font-size: .78rem; color: var(--muted-foreground); }

/* ---------- Tools ---------- */
.tool-chip {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; border: 1px solid var(--border);
  background: var(--background);
  padding: .6rem 1.15rem; font-size: .85rem; font-weight: 500;
  color: var(--muted-foreground);
  transition: all .25s ease;
}
.tool-chip:hover { border-color: var(--secondary); color: var(--secondary); transform: translateY(-2px); }
.chip-row { display: flex; flex-wrap: wrap; gap: .65rem; justify-content: center; }

/* ---------- CTA panel ---------- */
.cta-panel {
  border-radius: 1.75rem;
  background: var(--gradient-hero);
  color: var(--primary-foreground);
  padding: 3rem 1.75rem;
  text-align: center;
}
@media (min-width: 768px) { .cta-panel { padding: 3.5rem; } }
.cta-panel h2 { color: var(--primary-foreground); }
.cta-panel p { color: rgba(248, 250, 252, .78); max-width: 36rem; margin-inline: auto; }
.cta-panel .btn { margin-top: 1.75rem; }

/* ---------- Blog ---------- */
.post-card {
  display: flex; flex-direction: column;
  border-radius: 1.5rem; border: 1px solid var(--border);
  background: var(--background); overflow: hidden; height: 100%;
  transition: transform .4s ease, box-shadow .4s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.post-card__thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post-card:hover .post-card__thumb img { transform: scale(1.05); }
.post-card__body { padding: 1.5rem; display: flex; flex-direction: column; gap: .65rem; flex: 1; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: .75rem; font-size: .75rem; color: var(--muted-foreground); }
.post-card__title { font-size: 1.1rem; margin: 0; }
.post-card__title a { color: var(--primary); }
.post-card__title a:hover { color: var(--secondary); }
.post-card__excerpt { font-size: .88rem; color: var(--muted-foreground); margin: 0; }
.post-card .link-arrow { margin-top: auto; }

.badge {
  display: inline-block; border-radius: 999px;
  background: rgba(37, 99, 235, .1); color: var(--secondary);
  padding: .25rem .7rem; font-size: .7rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
}

.featured-post {
  display: grid; gap: 0; overflow: hidden;
  border-radius: 1.75rem; border: 1px solid var(--border);
  background: var(--background); box-shadow: var(--shadow-soft);
}
@media (min-width: 900px) { .featured-post { grid-template-columns: 1.1fr 1fr; } }
.featured-post__media { min-height: 18rem; background: var(--surface); }
.featured-post__media img { width: 100%; height: 100%; object-fit: cover; }
.featured-post__body { padding: 2.25rem; display: flex; flex-direction: column; justify-content: center; gap: .9rem; }

.entry-content { font-size: 1.02rem; }
.entry-content > * + * { margin-top: 1.1rem; }
.entry-content img, .entry-content .wp-block-image { border-radius: 1.25rem; overflow: hidden; }
.entry-content blockquote {
  margin: 1.5rem 0; padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--secondary);
  background: var(--surface); border-radius: 0 1rem 1rem 0;
  font-style: italic; color: var(--primary);
}
.entry-content pre {
  background: var(--primary); color: #e2e8f0;
  padding: 1.25rem; border-radius: 1rem; overflow: auto; font-size: .85rem;
}
.entry-content code { font-size: .88em; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--border); padding: .6rem .8rem; text-align: left; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.alignwide { width: 100%; }
.alignfull { width: 100%; }
.wp-caption-text, .wp-element-caption { font-size: .8rem; color: var(--muted-foreground); text-align: center; }
.sticky .post-card { border-color: var(--secondary); }

.entry-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .82rem; color: var(--muted-foreground); }
.entry-footer { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.tag-links a { display: inline-block; margin: .2rem .3rem .2rem 0; }

.pagination { margin-top: 3rem; display: flex; justify-content: center; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .4rem; }
.pagination .page-numbers {
  display: grid; place-items: center;
  min-width: 2.6rem; height: 2.6rem; padding-inline: .7rem;
  border-radius: 999px; border: 1px solid var(--border);
  color: var(--muted-foreground); font-size: .9rem; font-weight: 600;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--gradient-primary); border-color: transparent; color: #fff;
}

.post-navigation { margin-top: 3rem; display: grid; gap: 1rem; }
@media (min-width: 640px) { .post-navigation { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.post-navigation a {
  display: block; border-radius: 1.25rem; border: 1px solid var(--border);
  padding: 1.25rem; color: var(--primary); font-weight: 600;
}
.post-navigation a:hover { border-color: var(--secondary); }
.post-navigation .nav-subtitle { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-foreground); margin-bottom: .35rem; font-weight: 700; }

/* ---------- Sidebar / widgets ---------- */
.widget-area { display: grid; gap: 1.5rem; align-content: start; }
.widget {
  border-radius: 1.5rem; border: 1px solid var(--border);
  background: var(--background); padding: 1.75rem;
}
.widget-title { font-size: 1rem; margin-bottom: 1rem; }
.widget ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.widget ul li { font-size: .9rem; }
.widget a { color: var(--muted-foreground); }
.widget a:hover { color: var(--secondary); }

.search-form { display: flex; gap: .5rem; }
.search-form input[type="search"] { flex: 1; }
.search-form .btn { padding-inline: 1.2rem; }

/* ---------- Forms ---------- */
input[type="text"], input[type="email"], input[type="url"], input[type="tel"],
input[type="search"], input[type="password"], input[type="number"], textarea, select {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: .8rem 1rem;
  font: inherit; font-size: .92rem;
  color: var(--foreground);
  transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .18);
}
textarea { min-height: 9rem; resize: vertical; }
.field-label {
  display: block; margin-bottom: .45rem;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted-foreground);
}
.field-error { margin: .35rem 0 0; font-size: .78rem; color: var(--destructive); }
.form-panel {
  border-radius: 1.75rem; border: 1px solid var(--border);
  background: var(--background); padding: 2rem;
  box-shadow: var(--shadow-soft);
}
@media (min-width: 768px) { .form-panel { padding: 2.5rem; } }
.notice-success {
  border-radius: 1rem; border: 1px solid rgba(37, 99, 235, .3);
  background: rgba(37, 99, 235, .08); color: var(--secondary);
  padding: 1rem; font-size: .9rem; margin-top: 1.5rem;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.contact-card {
  display: flex; align-items: center; gap: 1rem;
  border-radius: 1.25rem; border: 1px solid var(--border);
  background: var(--background); padding: 1.15rem;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}
.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.contact-card__label { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-foreground); }
.contact-card__value { font-weight: 600; color: var(--primary); }
.map-panel { overflow: hidden; border-radius: 1.75rem; border: 1px solid var(--border); background: var(--background); box-shadow: var(--shadow-soft); }
.map-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.map-panel iframe { width: 100%; height: 420px; border: 0; display: block; }
.btn--whatsapp { background: #25d366; color: #fff; }
.btn--whatsapp:hover { color: #fff; }

/* ---------- FAQ accordion ---------- */
.faq-list { display: grid; gap: .75rem; }
.faq-item {
  overflow: hidden; border-radius: 1.25rem;
  border: 1px solid var(--border); background: var(--background);
  box-shadow: var(--shadow-soft);
}
.faq-item__q {
  display: flex; width: 100%; gap: 1rem;
  align-items: center; justify-content: space-between;
  padding: 1.4rem; text-align: left;
  background: transparent; border: 0;
  font-family: var(--font-display); font-weight: 600;
  font-size: 1rem; color: var(--primary);
}
.faq-item__q svg { width: 1.25rem; height: 1.25rem; flex: none; color: var(--secondary); transition: transform .35s ease; }
.faq-item.is-open .faq-item__q svg { transform: rotate(180deg); }
.faq-item__a { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .45s ease, opacity .35s ease; }
.faq-item.is-open .faq-item__a { grid-template-rows: 1fr; opacity: 1; }
.faq-item__a > div { overflow: hidden; }
.faq-item__a p { padding: 0 1.4rem 1.4rem; font-size: .92rem; color: var(--muted-foreground); margin: 0; }

/* ---------- Social ---------- */
.social-links { display: flex; flex-wrap: wrap; gap: .75rem; }
.social-links a {
  display: grid; place-items: center;
  width: 2.6rem; height: 2.6rem; border-radius: 999px;
  border: 1px solid var(--border); color: var(--muted-foreground);
  transition: all .25s ease;
}
.social-links a:hover { transform: translateY(-2px); border-color: var(--secondary); color: var(--secondary); }
.social-links svg { width: 1.05rem; height: 1.05rem; }
.social-links--light a { border-color: rgba(255, 255, 255, .12); color: rgba(248, 250, 252, .8); }
.social-links--light a:hover { border-color: var(--accent); color: var(--accent); }

.social-links--labelled a {
  width: auto; height: auto; border-radius: 999px;
  gap: .5rem; padding: .6rem 1.1rem;
  grid-auto-flow: column; align-items: center;
  font-size: .85rem; font-weight: 600;
}

/* ---------- Media / split sections ---------- */
.split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.media-frame {
  position: relative; border-radius: 1.75rem; overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-glow);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; overflow: hidden;
  margin-top: 5rem;
  background: var(--primary); color: var(--primary-foreground);
}
.site-footer::before {
  content: ""; position: absolute; inset: 0;
  background: var(--gradient-hero); opacity: .45; pointer-events: none;
}
.site-footer .container { position: relative; z-index: 2; padding-block: 4rem; }
.footer-grid { display: grid; gap: 3rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer h2, .site-footer h3, .site-footer h4, .site-footer .widget-title {
  color: var(--primary-foreground);
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
}
.site-footer p, .site-footer li { color: rgba(248, 250, 252, .7); font-size: .9rem; }
.site-footer a { color: rgba(248, 250, 252, .72); }
.site-footer a:hover { color: var(--accent); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer .widget { background: transparent; border: 0; padding: 0; }
.footer-brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: #fff; }
.footer-brand .brand-mark { width: 2.5rem; height: 2.5rem; border-radius: .9rem; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
  font-size: .78rem; color: rgba(248, 250, 252, .6);
}
.footer-bottom ul { display: flex; gap: 1.25rem; }
.to-top { display: inline-flex; align-items: center; gap: .35rem; background: none; border: 0; color: inherit; font-size: .78rem; }
.to-top:hover { color: var(--accent); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease-out, transform .7s ease-out; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-14px) } }
@keyframes float-slow { 0%,100% { transform: translate(0,0) } 50% { transform: translate(10px,-20px) } }
@keyframes fade-in { from { opacity: 0 } to { opacity: 1 } }
@keyframes pulse-glow {
  0%,100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, .5) }
  50% { box-shadow: 0 0 0 14px rgba(37, 99, 235, 0) }
}
@keyframes tilt-3d {
  0%,100% { transform: rotateX(8deg) rotateY(-10deg) translateZ(0) }
  50%     { transform: rotateX(-6deg) rotateY(12deg) translateZ(30px) }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- WP core classes ---------- */
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { margin-inline: auto; }
.bypostauthor, .gallery-caption { display: block; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* Elementor compatibility */
.elementor-page-content{width:100%;}
.elementor-page-content .elementor-section.elementor-section-boxed>.elementor-container{max-width:1200px;}
body.elementor-page .site-main{padding:0;}
