/* ============================================================
   INOVARA — Main Stylesheet
   ============================================================ */

/* 1. RESET & BASE */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  color: #1f2430;
  background: #f5f7fb;
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* 2. VARIABLES */

:root {
  --primary:       #3a7afe;
  --primary-soft:  #e2ecff;
  --primary-dark:  #2147a8;
  --accent:        #7c3aed;
  --bg-soft:       #eef1f9;
  --text-muted:    #6b7280;
  --radius:        12px;
  --shadow:        0 4px 24px rgba(15, 23, 42, 0.12);
}

/* 3. TYPOGRAPHY */

h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.15;
  color: #0f172a;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: #0f172a;
  margin-bottom: .6rem;
}

h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: .4rem;
}

p {
  margin-bottom: 1rem;
  color: #111827;
}

/* 4. LAYOUT: HEADER & NAV */

header {
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1180px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: #0f172a;
  font-weight: 700;
}

nav ul {
  display: flex;
  gap: 1.8rem;
}

nav a {
  font-size: .92rem;
  font-weight: 600;
  color: #111827;
  transition: color .2s;
}

nav a:hover,
nav a.active {
  color: var(--primary);
}

.nav-cta {
  background: var(--primary);
  color: #ffffff !important;
  padding: .45rem 1.1rem;
  border-radius: 6px;
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
}

/* Burger (mobile) */

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #0f172a;
  border-radius: 2px;
}

/* 5. HERO */

.hero {
  background: radial-gradient(circle at top left, #e0edff 0, #f5f7fb 45%, #ffffff 100%);
  padding: 90px 1.5rem 80px;
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero-badge span {
  font-size: 1.1rem;
}

.hero h1 {
  margin-bottom: 1rem;
}

.hero p.lead {
  max-width: 540px;
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  align-items: center;
}

.hero-meta {
  margin-top: 1.6rem;
  font-size: .9rem;
  color: var(--text-muted);
}

.hero-meta strong {
  color: #0f172a;
}

.hero-img {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #020617;
}

.hero-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

/* 6. BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .75rem 2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  transition: .2s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary-soft);
}

/* 7. GENERIC SECTIONS */

.section {
  padding: 80px 1.5rem;
}

.section-inner {
  max-width: 1180px;
  margin: auto;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title p {
  color: var(--text-muted);
  max-width: 560px;
  margin: .6rem auto 0;
}

.bg-soft {
  background: var(--bg-soft);
}

/* 8. CARDS & FEATURES */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.8rem;
}

.card {
  background: #ffffff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 30px rgba(15, 23, 42, 0.16);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 1.3rem 1.4rem 1.5rem;
}

.card-body p {
  color: var(--text-muted);
  font-size: .95rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.8rem;
}

.feature {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: .8rem;
  font-size: 1.4rem;
}

.feature h3 {
  color: #0f172a;
}

.feature p {
  color: var(--text-muted);
  font-size: .95rem;
}

/* 9. CTA BANNER */

.cta-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 40%, #7c3aed 100%);
  color: #ffffff;
  text-align: center;
  padding: 70px 1.5rem;
}

.cta-banner-inner {
  max-width: 720px;
  margin: 0 auto;
  color: #ffffff;
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: .8rem;
}

.cta-banner p {
  max-width: 520px;
  margin: 0 auto 2rem;
  opacity: .9;
}

/* 10. PAGE HERO (inner) */

.page-hero {
  background: linear-gradient(135deg, #e0edff, #f5f5ff);
  padding: 70px 1.5rem 60px;
  text-align: center;
}

.page-hero p {
  max-width: 580px;
  margin: .8rem auto 0;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.breadcrumb {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--primary);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* 11. CONTENT GRID */

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.content-grid.reverse {
  direction: rtl;
}

.content-grid.reverse > * {
  direction: ltr;
}

.content-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.content-img img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

/* 12. LISTS & HIGHLIGHT */

.styled-list {
  list-style: disc;
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}

.styled-list li {
  margin-bottom: .4rem;
  color: var(--text-muted);
}

.ol-list {
  list-style: decimal;
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}

.ol-list li {
  margin-bottom: .4rem;
  color: var(--text-muted);
}

.highlight-box {
  background: #e0edff;
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  font-size: .95rem;
}

/* 13. TABLES */

.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: .93rem;
}

th {
  background: var(--primary);
  color: #ffffff;
  padding: .75rem 1rem;
  text-align: left;
  white-space: nowrap;
}

td {
  padding: .7rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  color: #111827;
}

tr:nth-child(even) td {
  background: #f3f4ff;
}

/* 14. CONTACT PAGE */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 3rem;
}

.contact-info h3 {
  margin-top: 1.5rem;
  margin-bottom: .4rem;
}

.contact-info p {
  color: var(--text-muted);
}

/* Form */

.contact-form {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.2rem;
}

label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: .3rem;
}

input,
textarea,
select {
  width: 100%;
  padding: .65rem .9rem;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: .95rem;
  font-family: inherit;
  transition: border .2s, box-shadow .2s;
  background: #ffffff;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.3);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  width: 100%;
  padding: .85rem;
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .05s;
}

.btn-submit:hover {
  background: var(--primary-dark);
}

.btn-submit:active {
  transform: scale(0.99);
}

/* Map */

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 2rem;
}

/* Form messages */

.form-msg {
  display: none;
  padding: .8rem 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  font-weight: 600;
  font-size: .93rem;
}

.form-msg.success {
  background: #d1fae5;
  color: #065f46;
  display: block;
}

.form-msg.error {
  background: #fee2e2;
  color: #991b1b;
  display: block;
}

/* 15. POLICY PAGES */

.policy-content {
  max-width: 820px;
  margin: 0 auto;
}

.policy-content h2 {
  margin-top: 2rem;
  margin-bottom: .5rem;
  font-size: 1.25rem;
}

.policy-content p,
.policy-content li {
  color: #111827;
}

.policy-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

/* 16. COOKIE BANNER */

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #0f172a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: .9rem 1.6rem;
  gap: 1rem;
  box-shadow: 0 -2px 16px rgba(15, 23, 42, 0.5);
}

#cookie-banner p {
  margin: 0;
  font-size: .9rem;
  flex: 1;
}

#cookie-banner a {
  color: #bfdbfe;
  text-decoration: underline;
}

.cookie-btns {
  display: flex;
  gap: .6rem;
  flex-shrink: 0;
}

.btn-cookie-accept,
.btn-cookie-decline {
  border-radius: 999px;
  padding: .45rem 1.1rem;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.btn-cookie-accept {
  background: var(--primary);
  color: #ffffff;
}

.btn-cookie-decline {
  background: transparent;
  color: #e5e7eb;
  border: 1px solid rgba(229, 231, 235, 0.5);
}

/* 17. FOOTER */

footer {
  background: #020617;
  color: rgba(249, 250, 251, 0.9);
  padding: 60px 1.5rem 24px;
}

.footer-inner {
  max-width: 1180px;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  margin-top: .8rem;
  font-size: .88rem;
  opacity: .75;
  line-height: 1.6;
  color: #ffffff;
}

footer h4 {
  color: #f9fafb;
  font-size: .95rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

footer ul li {
  margin-bottom: .5rem;
}

footer ul li a {
  font-size: .88rem;
  opacity: .75;
  transition: opacity .2s, color .2s;
}

footer ul li a:hover {
  opacity: 1;
  color: var(--primary);
}

.footer-contact li {
  font-size: .88rem;
  opacity: .8;
  margin-bottom: .5rem;
  display: flex;
  gap: .5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .82rem;
  opacity: .7;
  max-width: 1180px;
  margin: auto;
}

/* 18. RESPONSIVE */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-img {
    max-width: 460px;
    margin: 2.5rem auto 0;
  }

  .content-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .content-grid.reverse {
    direction: ltr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 1rem 1.5rem 1.5rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
    gap: .8rem;
  }

  nav ul.open {
    display: flex;
  }

  .burger {
    display: flex;
  }

  .section {
    padding: 60px 1.2rem;
  }

  .hero {
    padding: 70px 1.2rem 60px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

html {
  scroll-behavior: smooth;
}