@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@500;600;700;800;900&family=Open+Sans:wght@400;500;600;700&display=swap");

:root {
  --blue: #0f2c49;
  --blue-2: #112337;
  --accent: #f35d22;
  --accent-2: #ff7a45;
  --cream: #f7f2ed;
  --light: #f5f5f5;
  --ink: #21303d;
  --muted: #5f7183;

  /* Neumorphic light surface */
  --surface: #e8ecf1;
  --nm-dark: #c4ccd6;
  --nm-light: #ffffff;

  /* Neumorphic navy surface */
  --nm-navy-dark: #0a1c2f;
  --nm-navy-light: #17436b;

  --heading: "Barlow", "Segoe UI", Arial, sans-serif;
  --body: "Open Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --max: 1160px;
  --radius: 22px;
  --radius-sm: 14px;

  /* Reusable neumorphic shadows */
  --nm-out: 9px 9px 20px var(--nm-dark), -9px -9px 20px var(--nm-light);
  --nm-out-sm: 6px 6px 14px var(--nm-dark), -6px -6px 14px var(--nm-light);
  --nm-in: inset 6px 6px 14px var(--nm-dark), inset -6px -6px 14px var(--nm-light);
  --nm-navy-out: 8px 8px 20px var(--nm-navy-dark), -8px -8px 20px var(--nm-navy-light);
  --nm-navy-in: inset 6px 6px 14px var(--nm-navy-dark), inset -6px -6px 14px var(--nm-navy-light);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand .name { font-family: var(--heading); }

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--blue); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.section-title { font-family: var(--heading); font-size: clamp(1.6rem, 3.4vw, 2.3rem); color: var(--blue); font-weight: 800; text-align: center; }
.section-sub { text-align: center; color: var(--muted); max-width: 720px; margin: 14px auto 0; }
.eyebrow {
  display: inline-block;
  font-family: var(--heading);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--accent);
}

/* ---------- Neumorphic button ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--heading);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.3px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  padding: 14px 28px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.15s ease, filter 0.15s ease;
  box-shadow: 6px 6px 14px var(--nm-dark), -6px -6px 14px var(--nm-light), inset 1px 1px 2px rgba(255, 255, 255, 0.45), inset -2px -2px 4px rgba(120, 30, 0, 0.35);
}
.btn:hover { color: #fff; transform: translateY(-2px); filter: saturate(1.08); }
.btn:active {
  transform: translateY(0);
  box-shadow: inset 4px 4px 10px rgba(120, 30, 0, 0.45), inset -4px -4px 10px rgba(255, 140, 90, 0.5);
}
.btn-ghost {
  color: var(--blue);
  background: var(--surface);
  box-shadow: var(--nm-out-sm);
}
.btn-ghost:hover { color: var(--accent); }
.btn-ghost:active { box-shadow: var(--nm-in); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--blue);
  color: #d7e0ea;
  font-size: 0.84rem;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  align-items: center;
  justify-content: center;
  padding: 9px 24px;
}
.topbar span { display: inline-flex; align-items: center; gap: 7px; }
.topbar a { color: #d7e0ea; }
.topbar a:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  box-shadow: 0 6px 18px rgba(15, 44, 73, 0.1);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { height: 46px; width: auto; flex-shrink: 0; }
.brand .name { font-weight: 800; color: var(--blue); font-size: 1.2rem; line-height: 1.05; min-width: 0; }
.brand .name small { display: block; font-family: var(--body); font-weight: 600; color: var(--muted); font-size: 0.66rem; letter-spacing: 1.2px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 12px; }
.nav a { color: var(--ink); font-family: var(--heading); font-weight: 600; font-size: 0.96rem; padding: 8px 14px; border-radius: 999px; transition: color 0.15s ease, box-shadow 0.15s ease; }
.nav a:not(.btn):hover { color: var(--accent); box-shadow: var(--nm-in); }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--heading); font-weight: 700; color: var(--blue); }
.header-phone .ph-ico {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); box-shadow: var(--nm-out-sm); color: var(--accent);
}

.menu-toggle {
  display: none;
  width: 46px; height: 46px;
  border: none; border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--nm-out-sm);
  font-size: 1.4rem; color: var(--blue); cursor: pointer;
}
.menu-toggle:active { box-shadow: var(--nm-in); }

/* ---------- Hero ---------- */
.hero {
  background: var(--blue);
  color: #eaf1f8;
  padding: 76px 0 84px;
}
.hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero .eyebrow { color: var(--accent-2); }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.1; font-weight: 900; color: #fff; margin-top: 14px; }
.hero p.lead { margin-top: 20px; font-size: 1.12rem; color: #c8d6e4; max-width: 560px; }
.hero .meta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero .meta span {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.88rem; color: #dbe6f1;
  padding: 8px 16px; border-radius: 999px;
  background: var(--blue);
  box-shadow: var(--nm-navy-out);
}
.hero .cta-row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px; }
.hero .btn-ghost { background: var(--blue); color: #fff; box-shadow: var(--nm-navy-out); }
.hero .btn-ghost:hover { color: var(--accent-2); }
.hero .btn-ghost:active { box-shadow: var(--nm-navy-in); }

.hero-figure {
  border-radius: var(--radius);
  padding: 16px;
  background: var(--blue);
  box-shadow: var(--nm-navy-out);
}
.hero-figure img { border-radius: calc(var(--radius) - 8px); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ---------- Intro line ---------- */
.intro { padding: 66px 0 10px; }
.intro .container { max-width: 900px; text-align: center; }
.intro .lead-line {
  font-family: var(--heading);
  font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 1.85rem);
  color: var(--blue);
  line-height: 1.35;
}
.intro .lead-line b { color: var(--accent); }
.intro p { color: var(--muted); margin-top: 18px; font-size: 1.05rem; }

/* ---------- Services grid ---------- */
.services { padding: 60px 0; }
.services .grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--nm-out);
  transition: transform 0.18s ease;
}
.service-card:hover { transform: translateY(-4px); }
.service-icon {
  width: 66px; height: 66px; border-radius: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.9rem; color: var(--accent);
  background: var(--surface);
  box-shadow: var(--nm-in);
  margin-bottom: 20px;
}
.service-card h3 { color: var(--blue); font-size: 1.22rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Top 5 blocks ---------- */
.tips { padding: 30px 0 20px; }
.tip { padding: 40px 0; }
.tip .container { max-width: 1060px; }
.tip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.tip:nth-child(even) .tip-media { order: -1; }

.tip-panel {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 40px 40px;
  box-shadow: var(--nm-out);
}
.tip-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 62px; height: 62px; border-radius: 50%;
  font-family: var(--heading); font-weight: 800; font-size: 1.6rem;
  color: var(--accent);
  background: var(--surface);
  box-shadow: var(--nm-in);
  margin-bottom: 20px;
}
.tip h3 { font-size: clamp(1.3rem, 2.6vw, 1.75rem); color: var(--blue); font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.tip p { color: var(--muted); margin-bottom: 14px; }
.tip-media {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--nm-out);
}
.tip-media img { border-radius: calc(var(--radius) - 8px); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ---------- Mini blocks ---------- */
.mini-wrap { padding: 72px 0; background: var(--blue); }
.mini-wrap .section-title { color: #fff; }
.mini-wrap .section-sub { color: #b7c7d6; }
.mini-grid { margin-top: 46px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.mini-card {
  background: var(--blue);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--nm-navy-out);
}
.mini-card .mini-ico {
  width: 54px; height: 54px; border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--accent-2);
  background: var(--blue);
  box-shadow: var(--nm-navy-in);
  margin-bottom: 18px;
}
.mini-card h3 { color: #fff; font-family: var(--heading); font-size: 1.16rem; font-weight: 700; margin-bottom: 12px; }
.mini-card p { color: #c7d5e3; font-size: 0.97rem; margin-bottom: 10px; }

/* ---------- Stats band ---------- */
.stats { padding: 70px 0; background: var(--cream); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat {
  text-align: center;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 36px 20px;
  box-shadow: 8px 8px 18px #d9cfc3, -8px -8px 18px #ffffff;
}
.stat .num { font-family: var(--heading); font-weight: 900; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--accent); line-height: 1; }
.stat .label { margin-top: 12px; color: var(--blue); font-weight: 600; font-size: 0.98rem; }

/* ---------- Testimonials ---------- */
.testimonials { padding: 76px 0; }
.tst-grid { margin-top: 46px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tst-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--nm-out);
}
.tst-card .quote { font-size: 2.4rem; font-family: var(--heading); font-weight: 900; color: var(--accent); line-height: 0.6; }
.tst-card p { color: var(--muted); margin: 12px 0 18px; font-style: italic; }
.tst-author { display: flex; align-items: center; gap: 14px; }
.tst-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--heading); font-weight: 800; color: var(--blue);
  background: var(--surface); box-shadow: var(--nm-out-sm);
}
.tst-author strong { display: block; color: var(--blue); font-family: var(--heading); font-size: 0.98rem; }
.tst-author span { color: var(--muted); font-size: 0.85rem; }
.tst-stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 6px; }

/* ---------- Count on Dilufrio CTA ---------- */
.count-cta { padding: 60px 0; }
.count-cta .panel {
  background: var(--blue);
  border-radius: var(--radius);
  padding: 54px 48px;
  box-shadow: var(--nm-navy-out);
  text-align: center;
}
.count-cta h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 800; }
.count-cta p { color: #c8d6e4; max-width: 660px; margin: 16px auto 28px; }

/* ---------- CTA / form ---------- */
.cta-section { padding: 76px 0; background: var(--cream); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.cta-grid h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); color: var(--blue); font-weight: 800; margin-bottom: 16px; }
.cta-grid > div > p { color: var(--muted); margin-bottom: 14px; }
.cta-grid ul { list-style: none; margin-top: 20px; }
.cta-grid ul li { padding-left: 34px; position: relative; margin-bottom: 14px; font-weight: 600; color: var(--ink); }
.cta-grid ul li::before {
  content: "\2713";
  position: absolute; left: 0; top: 2px;
  width: 24px; height: 24px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.8rem; color: var(--accent);
  background: var(--cream); box-shadow: 3px 3px 7px #d9cfc3, -3px -3px 7px #ffffff;
}

.form-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--nm-out);
}
.form-card h3 { color: var(--blue); font-size: 1.35rem; font-weight: 800; margin-bottom: 6px; }
.form-card .sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--heading); font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--nm-in);
}
.field input::placeholder, .field textarea::placeholder { color: #93a2b1; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  box-shadow: inset 4px 4px 10px var(--nm-dark), inset -4px -4px 10px var(--nm-light), 0 0 0 2px rgba(243, 93, 34, 0.4);
}
.form-card .btn { width: 100%; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form-success {
  display: none;
  background: var(--surface);
  box-shadow: var(--nm-in);
  color: #1d6b42;
  padding: 16px; border-radius: var(--radius-sm); margin-top: 16px; font-weight: 700; text-align: center;
}
.form-success.show { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-2); color: #c4d2de; padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-family: var(--heading); margin-bottom: 18px; font-size: 1.08rem; }
.site-footer p, .site-footer li { color: #a9bccb; font-size: 0.92rem; margin-bottom: 10px; }
.site-footer ul { list-style: none; }
.site-footer a { color: #a9bccb; }
.site-footer a:hover { color: #fff; }
.footer-brand img { height: 48px; margin-bottom: 16px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 40px; padding-top: 22px; text-align: center; font-size: 0.85rem; color: #8ba0b1; }

/* ---------- Legal / doc pages ---------- */
.page-hero { background: var(--blue); color: #fff; padding: 64px 0 54px; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 800; }
.page-hero p { color: #cfdae6; margin-top: 12px; }
.doc { padding: 60px 0 76px; }
.doc .container { max-width: 900px; }
.doc-panel {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 44px 46px;
  box-shadow: var(--nm-out);
}
.doc-panel > p:first-child { margin-top: 0; }
.doc h2 { color: var(--blue); font-size: 1.35rem; font-weight: 800; margin: 30px 0 12px; }
.doc h3 { color: var(--accent); font-size: 1.08rem; margin: 22px 0 8px; }
.doc p, .doc li { color: var(--muted); margin-bottom: 12px; }
.doc ul { margin: 0 0 14px 22px; }
.info-table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 22px 0; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--nm-out-sm); }
.info-table td { padding: 14px 16px; font-size: 0.95rem; border-bottom: 1px solid rgba(15, 44, 73, 0.08); }
.info-table tr:last-child td { border-bottom: none; }
.info-table td:first-child { font-family: var(--heading); font-weight: 700; color: var(--blue); width: 38%; }

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0 0 34px; }
.contact-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  box-shadow: var(--nm-out);
}
.contact-card .ico {
  width: 60px; height: 60px; border-radius: 18px; margin: 0 auto 14px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--accent);
  background: var(--surface); box-shadow: var(--nm-in);
}
.contact-card h3 { color: var(--blue); font-weight: 700; margin-bottom: 8px; }
.contact-card p, .contact-card a { color: var(--muted); font-size: 0.95rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; gap: 34px; }
  .hero-figure { max-width: 520px; }
  .services .grid, .mini-grid, .tst-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .site-header .container { gap: 12px; }
  .nav, .header-phone { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--surface);
    padding: 20px 24px;
    gap: 10px;
    box-shadow: 0 14px 30px rgba(15, 44, 73, 0.18);
  }
  .nav.open a { width: 100%; text-align: center; }
  .tip-grid, .cta-grid, .footer-grid, .contact-cards { grid-template-columns: 1fr; gap: 30px; }
  .tip:nth-child(even) .tip-media { order: 0; }
  .count-cta .panel { padding: 40px 26px; }
}
@media (max-width: 620px) {
  .container { padding: 0 16px; }
  .topbar .container { justify-content: flex-start; gap: 6px 16px; }
  .brand img { height: 40px; }
  .brand .name { font-size: 1rem; }
  .brand .name small { display: none; }
  .services .grid, .mini-grid, .tst-grid, .stats-grid { grid-template-columns: 1fr; }
  .tip-panel, .doc-panel { padding: 30px 24px; }
  .hero .cta-row .btn { width: 100%; }
}
