/*
Theme Name: Seolution
Theme URI: https://www.seolution.gr/
Author: Seolution
Description: Clean, purpose-built theme for Seolution.
Version: 1.0.0
Text Domain: seolution
*/

:root {
  --ink: #071b3f;
  --ink-2: #102c5c;
  --accent: #e52535;
  --accent-dark: #b91425;
  --paper: #ffffff;
  --mist: #f3f5f8;
  --line: #dce2ea;
  --text: #334155;
  --muted: #667085;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(7, 27, 63, 0.14);
  --content: min(1160px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3 { color: var(--ink); line-height: 1.08; letter-spacing: -0.035em; margin: 0 0 0.65em; }
h1 { font-size: clamp(2.75rem, 6vw, 5.25rem); }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); }
p { margin: 0 0 1.25em; }
.wrap { width: var(--content); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 9999; background: var(--ink); color: white; padding: 12px 18px; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(220,226,234,.85); backdrop-filter: blur(14px); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand img { width: 205px; }
.menu-toggle { display: none; border: 0; background: var(--ink); color: white; border-radius: 12px; padding: 10px 14px; font: inherit; font-weight: 700; }
.primary-menu { display: flex; align-items: center; gap: 25px; margin: 0; padding: 0; list-style: none; }
.primary-menu a { color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 750; }
.primary-menu a:hover, .primary-menu .current-menu-item > a { color: var(--accent); }
.primary-menu li:last-child a { display: inline-flex; color: white; background: var(--accent); padding: 11px 18px; border-radius: 999px; }
.primary-menu li:last-child a:hover { background: var(--accent-dark); }

.hero { overflow: hidden; background: linear-gradient(135deg, #f7f8fa 0%, #eef2f7 52%, #fff 52%); }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; min-height: 720px; gap: clamp(36px, 6vw, 80px); padding-block: 72px; }
.eyebrow { color: var(--accent); font-size: .78rem; font-weight: 850; letter-spacing: .17em; text-transform: uppercase; }
.hero-copy > p:not(.eyebrow) { max-width: 630px; color: var(--muted); font-size: 1.18rem; }
.hero-media { position: relative; }
.hero-media::before { content: ""; position: absolute; inset: -28px 28px 28px -28px; background: var(--accent); border-radius: var(--radius); z-index: 0; }
.hero-media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 999px; text-decoration: none; font-weight: 800; border: 2px solid var(--ink); background: var(--ink); color: white; transition: .2s ease; }
.button:hover { transform: translateY(-2px); color: white; background: var(--ink-2); border-color: var(--ink-2); }
.button.alt { background: transparent; color: var(--ink); }
.button.alt:hover { color: var(--accent); border-color: var(--accent); background: white; }

.section { padding-block: clamp(76px, 10vw, 126px); }
.section.mist { background: var(--mist); }
.section.dark { color: white; background: var(--ink); }
.section.dark h2, .section.dark h3 { color: white; }
.section-intro { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: end; margin-bottom: 54px; }
.section-intro p { color: var(--muted); font-size: 1.08rem; }
.dark .section-intro p { color: #c7d2e5; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: 0 10px 34px rgba(7,27,63,.06); }
.card-number { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: white; background: var(--accent); font-weight: 850; margin-bottom: 26px; }
.card p { color: var(--muted); margin-bottom: 0; }
.service-card { color: white; background: var(--ink-2); border-color: rgba(255,255,255,.09); box-shadow: none; }
.service-card h3 { color: white; }
.service-card p { color: #d9e2f0; }
.service-card a { color: white; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 90px); align-items: center; }
.feature.reverse .feature-media { order: 2; }
.feature-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-copy ul { padding-left: 1.15em; }
.feature-copy li { margin-bottom: .7em; }

.page-hero { padding: clamp(84px, 12vw, 150px) 0 80px; color: white; background: radial-gradient(circle at 85% 20%, #1e447f 0, var(--ink) 45%); }
.page-hero h1 { color: white; max-width: 900px; font-size: clamp(2.8rem, 6vw, 5rem); }
.page-hero p { color: #c9d5e7; max-width: 720px; font-size: 1.14rem; }
.entry-content > *:first-child { margin-top: 0; }
.content-section { padding-block: 74px; }
.content-section + .content-section { border-top: 1px solid var(--line); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); align-items: center; gap: 70px; }
.content-grid:nth-child(even) .content-image { order: -1; }
.content-image img { border-radius: var(--radius); box-shadow: var(--shadow); }
.lead { max-width: 760px; color: var(--muted); font-size: 1.2rem; }

.partners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.partner { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.partner img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.partner-copy { padding: 25px 28px 30px; }
.partner-copy p { color: var(--muted); margin: 0; }

.contact-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; align-items: start; }
.contact-panel { padding: 34px; border-radius: var(--radius); background: var(--mist); }
.contact-panel img { margin: -34px -34px 32px; width: calc(100% + 68px); max-width: none; height: 230px; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-list li { padding: 13px 0; border-top: 1px solid var(--line); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--ink); font-weight: 760; }
.field input, .field textarea { width: 100%; border: 1px solid #bac4d1; border-radius: 12px; background: white; padding: 14px 15px; font: inherit; color: var(--text); }
.field input:focus, .field textarea:focus { outline: 3px solid rgba(229,37,53,.16); border-color: var(--accent); }
.field textarea { min-height: 170px; resize: vertical; }
.form-status { grid-column: 1 / -1; padding: 15px 18px; border-radius: 12px; background: #e8f7ee; color: #166534; }
.form-status.error { background: #fff0f1; color: #9f1239; }
.hp-field { position: absolute !important; left: -10000px !important; }

.cta { padding-block: 70px; background: var(--accent); color: white; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta h2 { color: white; margin: 0; max-width: 770px; }
.cta .button { white-space: nowrap; background: white; border-color: white; color: var(--ink); }
.cta .button:hover { color: var(--accent); }

.site-footer { background: #04112b; color: #aebbd0; padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 55px; padding-bottom: 44px; }
.footer-grid img { width: 190px; filter: brightness(0) invert(1); margin-bottom: 20px; }
.site-footer h2 { color: white; font-size: 1rem; letter-spacing: 0; }
.site-footer a { color: #dce5f3; }
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin: 8px 0; }
.copyright { border-top: 1px solid rgba(255,255,255,.12); padding-top: 23px; font-size: .88rem; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 86px; background: white; border-bottom: 1px solid var(--line); padding: 20px; }
  .site-nav.is-open { display: block; }
  .primary-menu { width: var(--content); margin-inline: auto; align-items: stretch; flex-direction: column; gap: 8px; }
  .primary-menu a { display: block; padding: 10px 0; }
  .primary-menu li:last-child a { display: inline-flex; }
  .hero-grid, .feature, .section-intro, .content-grid, .contact-layout { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; padding-block: 70px; }
  .hero-media { margin: 24px 0 20px 28px; }
  .section-intro { gap: 15px; }
  .feature.reverse .feature-media, .content-grid:nth-child(even) .content-image { order: 0; }
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  :root { --content: min(100% - 28px, 1160px); }
  body { font-size: 16px; }
  .header-inner { min-height: 76px; }
  .site-nav { top: 76px; }
  .brand img { width: 170px; }
  .hero { background: var(--mist); }
  .hero-media::before { inset: -14px 14px 14px -14px; }
  .partners, .contact-form, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
}

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