@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@500;600;700;800&display=swap");

:root {
  --orange: #c44e0c;
  --orange-dark: #a83f08;
  --orange-soft: #fff3ec;
  --ink: #12161d;
  --ink-2: #1f2630;
  --grey: #5d6673;
  --line: #e7e9ee;
  --light: #f6f7f9;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(18, 22, 29, .08);
  --shadow-lg: 0 24px 60px rgba(18, 22, 29, .18);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); text-underline-offset: 3px; }
main a, p a, li a { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

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

h1, h2, h3 {
  font-family: "Montserrat", "Inter", system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -.01em;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; margin-top: 0; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--orange-dark);
  margin-bottom: 14px;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 84px; gap: 20px; position: relative;
}
.logo img { height: 58px; width: auto; }
.nav-toggle {
  display: none; background: var(--ink); color: var(--white);
  border: 0; border-radius: 10px; padding: 10px 16px;
  font: 600 .95rem "Inter", sans-serif; cursor: pointer;
}
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; align-items: center; }
.main-nav a {
  display: block; text-decoration: none; color: var(--ink-2);
  font-weight: 600; font-size: .95rem; padding: 10px 14px; border-radius: 999px;
  transition: background .2s, color .2s;
}
.main-nav a:hover { background: var(--light); color: var(--ink); }
.main-nav a[aria-current="page"] { background: var(--orange-soft); color: var(--orange-dark); }
.main-nav li:last-child a {
  background: var(--orange); color: var(--white); margin-left: 6px;
}
.main-nav li:last-child a:hover { background: var(--orange-dark); color: var(--white); }
.main-nav li:last-child a[aria-current="page"] { background: var(--orange-dark); color: var(--white); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px;
  background: var(--orange); color: var(--white); text-decoration: none;
  font: 700 .98rem "Inter", sans-serif; border: 0; cursor: pointer;
  box-shadow: 0 8px 22px rgba(242, 106, 27, .28);
  transition: transform .2s, background .2s, box-shadow .2s;
}
.btn:hover { background: var(--orange-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(242, 106, 27, .36); }
.btn-outline {
  background: transparent; color: var(--ink); box-shadow: none;
  border: 1.5px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--white); box-shadow: none; }
.btn-light { background: var(--white); color: var(--ink); box-shadow: none; }
.btn-light:hover { background: var(--orange-soft); color: var(--ink); box-shadow: none; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(242, 106, 27, .35), transparent 60%),
    linear-gradient(135deg, var(--ink) 0%, #232c3a 100%);
  color: var(--white); padding: 96px 0 92px;
}
.hero::after {
  content: ""; position: absolute; inset: auto -120px -160px auto; width: 420px; height: 420px;
  border: 60px solid rgba(255, 255, 255, .03); border-radius: 50%; pointer-events: none;
}
.hero h1 { color: var(--white); max-width: 820px; }
.hero .eyebrow { color: #ffb88f; }
.hero p { font-size: 1.12rem; max-width: 640px; color: #d5dbe4; }
.hero .btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero .btn-outline { color: var(--white); border-color: rgba(255, 255, 255, .6); }
.hero .btn-outline:hover { background: var(--white); color: var(--ink); }

.breadcrumb { font-size: .88rem; color: #b8c0cc; margin-bottom: 16px; }
.breadcrumb a { color: #ffc9a6; text-decoration: none; }

.page-hero {
  background: var(--light); padding: 72px 0 64px; border-bottom: 1px solid var(--line);
}
.page-hero .breadcrumb { color: var(--grey); }
.page-hero .breadcrumb a { color: var(--orange-dark); }
.page-hero p { max-width: 680px; color: var(--grey); font-size: 1.1rem; }

section.block { padding: 96px 0; }
section.block.alt { background: var(--light); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head p { color: var(--grey); }

/* Cards */
.cards {
  display: grid; gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card img { width: 100%; height: 240px; object-fit: cover; transition: transform .6s; }
.card:hover img { transform: scale(1.04); }
.card-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--grey); }
.card-body .btn { align-self: flex-start; margin-top: auto; }
.card h2, .card h3 { font-size: 1.35rem; }

/* Features */
.features {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  list-style: none; padding: 0; margin: 36px 0 0;
}
.features li {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.features li::before {
  content: ""; display: block; width: 38px; height: 4px; border-radius: 4px;
  background: var(--orange); margin-bottom: 18px;
}
.features.cols-3 { grid-template-columns: 1fr; }
@media (min-width: 620px) { .features.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .features.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.features strong { display: block; margin-bottom: 6px; font-family: "Montserrat", sans-serif; font-size: 1.05rem; color: var(--ink); }
.features li { color: var(--grey); }

/* Gallery */
.gallery {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  margin-top: 36px;
}
.gallery img {
  width: 100%; height: 220px; object-fit: cover; border-radius: var(--radius);
  box-shadow: var(--shadow); transition: transform .4s, box-shadow .4s;
}
.gallery img:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery img.wide { grid-column: 1 / -1; height: 380px; }

/* Split */
.split { display: grid; gap: 56px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } }
.split img { border-radius: var(--radius); width: 100%; height: auto; box-shadow: var(--shadow-lg); }
.split p { color: var(--grey); }

/* Contact */
.contact-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.1fr; } }
.contact-box {
  background: var(--ink); color: #d5dbe4; border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow-lg);
}
.contact-logo {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--white); border-radius: 12px; padding: 14px 22px;
  margin-bottom: 26px;
}
.contact-logo img { width: 200px; height: auto; }
.contact-box h2 { color: var(--white); font-size: 1.5rem; }
.contact-box dt { font-weight: 700; margin-top: 18px; color: #ffb88f; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-box dd { margin: 4px 0 0; color: var(--white); font-size: 1.05rem; }
.contact-box a { color: var(--white); text-decoration: none; }
.contact-box a:hover { color: #ffb88f; }
.map-frame { width: 100%; height: 100%; min-height: 380px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }

form.contact-form {
  display: grid; gap: 18px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 36px;
  box-shadow: var(--shadow);
}
form.contact-form .row { display: grid; gap: 18px; }
@media (min-width: 640px) { form.contact-form .row { grid-template-columns: 1fr 1fr; } }
form.contact-form label { font-weight: 600; font-size: .92rem; display: block; margin-bottom: 6px; color: var(--ink); }
form.contact-form input,
form.contact-form select,
form.contact-form textarea {
  width: 100%; padding: 14px 16px; border: 1px solid #d3d8e0; border-radius: 10px;
  font: inherit; font-size: 1rem; background: #fbfbfc; color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
form.contact-form input:focus,
form.contact-form select:focus,
form.contact-form textarea:focus {
  outline: none; border-color: var(--orange); background: var(--white);
  box-shadow: 0 0 0 4px rgba(242, 106, 27, .15);
}
form.contact-form textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--grey); }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--orange); flex-shrink: 0; }
form.contact-form .btn { justify-self: start; }
.form-note { font-size: .85rem; color: var(--grey); margin: 0; }

.alert {
  border-radius: 12px; padding: 16px 20px; margin-bottom: 20px; font-weight: 600;
}
.alert-error { background: #fdecec; color: #9b1c1c; border: 1px solid #f5c2c2; }
.alert-ok { background: #e9f8ef; color: #17643a; border: 1px solid #bfe6cf; }
.alert[hidden] { display: none; }

/* Utilitare (mutate din stilurile inline) */
.form-title { font-size: 1.5rem; }
section.map-section { padding: 0; }
.map-wrap { padding-top: 64px; padding-bottom: 64px; }
.map-title { margin-bottom: 24px; }
.map-embed { width: 100%; height: 420px; border: 0; border-radius: 14px; box-shadow: var(--shadow); }
.btn-outline-light { color: #fff; border-color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-row.center { justify-content: center; }
.card-title { font-size: 1.3rem; }
.copyright { line-height: 1.9; }
.hosting-credit { text-align: right; font-size: .9rem; margin: 0 0 8px; color: #aab3c0; }
.hosting-credit a { color: #ffc9a6; font-weight: 600; }
.hosting-credit img { display: inline-block; height: 44px; width: auto; }
.company-id { text-align: left; font-size: .9rem; margin: 14px 0 0; color: #aab3c0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; border-top: 1px solid #2c3441; margin-top: 52px; padding-top: 22px; }
.footer-bottom .copyright { border-top: 0; margin-top: 0; padding-top: 0; }
.hosting-link img { display: block; height: 42px; width: auto; }
.copyright a { color: #ffc9a6; }

/* Pagini legale */
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal p { color: var(--grey); }

/* Pagina 404 */
.error-code {
  font-family: "Montserrat", "Inter", sans-serif; font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 4.5rem); line-height: 1.1; color: var(--orange);
  margin: 0 0 16px; letter-spacing: -.04em;
}

.thanks .error-code { color: var(--orange); margin: 0 auto 16px; max-width: none; }

/* Thank you */
.thanks { text-align: center; padding: 120px 0; }
.thanks p { color: var(--grey); max-width: 560px; margin: 0 auto 28px; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white); padding: 72px 0; text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #ffe6d6; max-width: 620px; margin: 0 auto 26px; }
.cta-band .btn { background: var(--white); color: var(--ink); box-shadow: none; }
.cta-band .btn:hover { background: var(--ink); color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.center { text-align: center; }
.center .btn-row { justify-content: center; }

/* Footer */
.site-footer { background: var(--ink); color: #aab3c0; padding: 80px 0 28px; }
.site-footer h2 { color: var(--white); font-size: 1.15rem; margin-top: 0; }
.site-footer h3 { color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 16px; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1.3fr; } }
.site-footer a { color: #ffc9a6; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer p { color: #aab3c0; }
.copyright {
  border-top: 1px solid #2c3441; margin-top: 52px; padding-top: 22px;
  font-size: .88rem; color: #7d8794;
}

/* Mobile */
@media (max-width: 960px) {
  .nav-toggle { display: inline-block; }
  .main-nav {
    display: none; position: absolute; left: -24px; right: -24px; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); padding: 12px 24px 22px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a { padding: 14px 16px; font-size: 1rem; }
  .main-nav li:last-child a { margin-left: 0; text-align: center; }
  section.block { padding: 64px 0; }
  .hero { padding: 64px 0; }
  .page-hero { padding: 52px 0 46px; }
  form.contact-form { padding: 24px; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .btn { width: 100%; }
  .btn-row .btn { width: 100%; }
}
