
:root {
  --navy: #071b35;
  --navy-2: #0b294d;
  --navy-soft: #12385f;
  --orange: #ff7a00;
  --orange-dark: #e86500;
  --steel: #6f7e8e;
  --gray: #f3f6f9;
  --gray-2: #e6ebf0;
  --white: #ffffff;
  --text: #172233;
  --muted: #687789;
  --shadow: 0 18px 45px rgba(7, 27, 53, 0.14);
  --radius: 18px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
}

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

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

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, .16);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

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

.btn-outline {
  border-color: rgba(255,255,255,.75);
  color: var(--white);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(8px);
}

.btn-outline-dark {
  border-color: var(--orange);
  color: var(--orange);
  background: transparent;
}

.section {
  padding: 76px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 36px;
}

.section-title h2 {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-title p {
  max-width: 680px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 17px;
}

.accent-line {
  width: 66px;
  height: 4px;
  margin: 14px auto 0;
  background: var(--orange);
  border-radius: 999px;
}

/* HEADER */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(7, 27, 53, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  min-width: max-content;
}

.logo-img {
  width: 190px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.18));
}

.footer .logo-img {
  filter: none;
  background: #ffffff;
  padding: 8px 12px;
  border-radius: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--white);
  font-weight: 800;
  font-size: 14px;
}

.main-nav a {
  position: relative;
  opacity: .92;
  transition: opacity .2s ease, color .2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -29px;
  height: 3px;
  border-radius: 999px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

.main-nav a:hover,
.main-nav a.active {
  opacity: 1;
  color: var(--white);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 10px;
  background: transparent;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
}

/* HERO */
.hero {
  position: relative;
  min-height: 790px;
  padding-top: 82px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7,27,53,.91), rgba(7,27,53,.42), rgba(7,27,53,.18)),
    url("../assets/hero-hala-metalica-apus.png");
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 55%, rgba(255,122,0,.18), transparent 34%),
    linear-gradient(180deg, rgba(7,27,53,.12), rgba(7,27,53,.7));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 100px 0 120px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(46px, 7vw, 78px);
  line-height: .96;
  letter-spacing: -0.06em;
  margin-bottom: 24px;
  max-width: 760px;
}

.hero p {
  font-size: clamp(18px, 2vw, 23px);
  max-width: 640px;
  color: rgba(255,255,255,.89);
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.slider-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 44px;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
}

.slider-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,.75);
}

.slider-dots span.active {
  background: var(--orange);
  width: 34px;
  border-radius: 999px;
}

.hero-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(7,27,53,.18);
  backdrop-filter: blur(8px);
  font-size: 34px;
}

.hero-arrow.left { left: 28px; }
.hero-arrow.right { right: 28px; }

/* BENEFITS */
.benefits {
  margin-top: -70px;
  position: relative;
  z-index: 5;
  padding-bottom: 18px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.benefit-card {
  background: var(--white);
  border: 1px solid rgba(7,27,53,.08);
  border-radius: var(--radius);
  padding: 34px 24px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.benefit-card::after {
  content: "";
  width: 42px;
  height: 4px;
  background: var(--orange);
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  border-radius: 999px;
}

.benefit-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy), var(--navy-soft));
  border: 4px solid rgba(255,122,0,.12);
  font-size: 34px;
}

.benefit-card h3 {
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 20px;
}

.benefit-card p {
  color: var(--muted);
  font-size: 15px;
  padding-bottom: 18px;
}

/* TYPES TABLE */
.types-section {
  background: linear-gradient(180deg, #fff, #f7f9fc);
}

.table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(7,27,53,.08);
  background: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

thead th {
  background: var(--navy);
  color: var(--white);
  padding: 20px 22px;
  text-align: left;
  font-size: 15px;
  letter-spacing: .02em;
}

tbody td {
  padding: 20px 22px;
  border-bottom: 1px solid var(--gray-2);
  color: var(--text);
  font-size: 16px;
  vertical-align: middle;
}

tbody tr:nth-child(even) {
  background: #fbfcfe;
}

tbody tr:last-child td {
  border-bottom: none;
}

.type-name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--navy);
}

.mini-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255,122,0,.1);
  color: var(--orange);
  font-size: 20px;
  flex: 0 0 auto;
}

/* DIMENSIONS */
.dimensions {
  background: var(--white);
}

.dimensions-grid {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 44px;
  align-items: center;
}

.dimensions-copy h2 {
  color: var(--navy);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.dimensions-copy .accent-line {
  margin-left: 0;
  margin-bottom: 25px;
}

.dimensions-copy p {
  color: var(--muted);
  font-size: 17px;
  margin-top: 20px;
  max-width: 620px;
}

.size-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.size-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 17px;
  border: 1px solid rgba(255,122,0,.55);
  color: var(--navy);
  border-radius: 12px;
  font-weight: 800;
  background: #fff8f1;
}

.size-tag::before {
  content: "⌂";
  color: var(--orange);
  font-weight: 900;
}

.frame-visual {
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(145deg, #fff, #f2f5f8);
  box-shadow: var(--shadow);
}

.frame-visual img {
  border-radius: 16px;
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center;
}

/* PROJECTS */
.projects {
  background: #f6f8fb;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: 210px;
  box-shadow: 0 14px 30px rgba(7,27,53,.12);
  background: var(--navy);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.project-card:hover img {
  transform: scale(1.08);
}

.project-card::after {
  content: attr(data-title);
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  color: var(--white);
  font-weight: 900;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(7,27,53,.72);
  backdrop-filter: blur(8px);
  font-size: 14px;
}

.projects-cta {
  text-align: center;
  margin-top: 34px;
}

/* CONTACT */
.contact {
  background:
    radial-gradient(circle at 12% 18%, rgba(255,122,0,.18), transparent 26%),
    linear-gradient(135deg, var(--navy), #020a16 72%);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 54px;
  align-items: start;
}

.contact h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.contact .accent-line {
  margin: 0 0 28px;
}

.form-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px;
  padding: 28px;
  backdrop-filter: blur(14px);
  box-shadow: 0 22px 55px rgba(0,0,0,.28);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 11px;
  padding: 15px 15px;
  font: inherit;
  color: var(--text);
  background: var(--white);
  outline: none;
}

textarea {
  grid-column: 1 / -1;
  min-height: 126px;
  resize: vertical;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 20px;
  color: rgba(255,255,255,.86);
  font-size: 14px;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--orange);
}

.form-card .btn {
  width: 100%;
}

.contact-info {
  border-left: 1px solid rgba(255,255,255,.16);
  padding-left: 40px;
  margin-top: 80px;
}

.info-item {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.info-item:last-child {
  border-bottom: none;
}

.info-icon {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--orange);
  background: rgba(255,122,0,.12);
  font-size: 31px;
}

.info-item strong {
  display: block;
  font-size: 15px;
  color: rgba(255,255,255,.75);
  margin-bottom: 3px;
}

.info-item span,
.info-item a {
  font-size: 21px;
  font-weight: 800;
  color: var(--white);
}

/* FOOTER */
.footer {
  background: #020a16;
  color: rgba(255,255,255,.76);
  padding: 48px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr .7fr .7fr .8fr;
  gap: 32px;
  align-items: start;
}

.footer .logo {
  margin-bottom: 16px;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 14px;
  font-size: 17px;
}

.footer ul {
  list-style: none;
}

.footer li {
  margin: 8px 0;
}

.footer a:hover {
  color: var(--orange);
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.09);
  color: var(--white);
  font-weight: 900;
}

.copyright {
  border-top: 1px solid rgba(255,255,255,.09);
  margin-top: 34px;
  padding-top: 20px;
  text-align: center;
  color: rgba(255,255,255,.58);
  font-size: 14px;
}

@media (max-width: 1050px) {
  .main-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .main-nav.open {
    display: grid;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 88px;
    background: var(--navy);
    padding: 20px;
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .main-nav.open a::after {
    display: none;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .contact-info {
    border-left: none;
    padding-left: 0;
    margin-top: 0;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .hero {
    min-height: 720px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-arrow {
    display: none;
  }

  .benefit-grid,
  .project-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  textarea {
    grid-column: auto;
  }

  .project-card {
    min-height: 260px;
  }

  .logo-img {
    width: 155px;
  }
}


/* ==========================================================
   MOBILE FIX PACK - incadrare corecta pe telefon
   ========================================================== */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  -webkit-text-size-adjust: 100%;
}

.site-header,
main,
section,
footer {
  max-width: 100%;
  overflow-x: clip;
}

@media (max-width: 1050px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .nav-wrap {
    min-height: 72px;
  }

  .main-nav.open {
    top: 78px;
    left: 14px;
    right: 14px;
    width: auto;
    max-width: calc(100vw - 28px);
  }

  .main-nav.open a {
    padding: 10px 4px;
  }
}

@media (max-width: 767px) {
  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .section {
    padding: 54px 0;
  }

  .site-header {
    background: rgba(7, 27, 53, 0.98);
  }

  .nav-wrap {
    min-height: 68px;
    gap: 12px;
  }

  .logo-img {
    width: 138px;
    max-height: 46px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }

  .hero {
    min-height: auto;
    padding-top: 0;
    background-position: center top;
  }

  .hero-content {
    padding: 84px 0 86px;
    max-width: 100%;
  }

  .eyebrow {
    font-size: 11px;
    padding: 8px 11px;
    margin-bottom: 16px;
  }

  .hero h1 {
    font-size: clamp(34px, 11vw, 44px);
    line-height: 1.02;
    letter-spacing: -0.045em;
    margin-bottom: 18px;
  }

  .hero p {
    font-size: 17px;
    line-height: 1.45;
    margin-bottom: 24px;
  }

  .hero-actions {
    width: 100%;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 50px;
  }

  .slider-dots {
    bottom: 24px;
  }

  .benefits {
    margin-top: 0;
    padding-top: 28px;
    padding-bottom: 8px;
    background: #ffffff;
  }

  .benefit-grid {
    gap: 16px;
  }

  .benefit-card {
    padding: 28px 20px 30px;
  }

  .section-title {
    margin-bottom: 28px;
  }

  .section-title h2,
  .dimensions-copy h2,
  .contact h2 {
    font-size: clamp(28px, 9vw, 36px);
    line-height: 1.12;
  }

  .section-title p,
  .dimensions-copy p {
    font-size: 16px;
  }

  .table-wrap {
    margin-left: -16px;
    margin-right: -16px;
    border-radius: 0;
    box-shadow: none;
    border-left: 0;
    border-right: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  table {
    min-width: 720px;
  }

  thead th,
  tbody td {
    padding: 16px 14px;
    font-size: 14px;
  }

  .mini-icon {
    width: 32px;
    height: 32px;
    font-size: 17px;
  }

  .dimensions-grid {
    gap: 28px;
  }

  .size-tags {
    gap: 10px;
  }

  .size-tag {
    width: calc(50% - 5px);
    justify-content: center;
    padding: 12px 10px;
    font-size: 14px;
  }

  .frame-visual {
    padding: 10px;
    border-radius: 18px;
  }

  .frame-visual img {
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .project-card {
    min-height: auto;
    border-radius: 16px;
  }

  .project-card img {
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .contact-grid {
    gap: 28px;
  }

  .form-card {
    padding: 20px;
    border-radius: 18px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  input,
  select,
  textarea {
    font-size: 16px;
    padding: 14px;
  }

  textarea {
    min-height: 120px;
  }

  .checkbox-row {
    align-items: flex-start;
    line-height: 1.35;
  }

  .contact-info {
    padding-left: 0;
    margin-top: 0;
  }

  .info-item {
    grid-template-columns: 48px 1fr;
    gap: 14px;
    padding: 18px 0;
  }

  .info-icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    font-size: 24px;
  }

  .info-item span,
  .info-item a {
    font-size: 18px;
    word-break: break-word;
  }

  .footer {
    padding: 38px 0 18px;
  }

  .footer-grid {
    gap: 26px;
  }

  .footer .logo-img {
    width: 170px;
  }
}

@media (max-width: 380px) {
  .container {
    padding-left: 13px;
    padding-right: 13px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .logo-img {
    width: 124px;
  }

  .size-tag {
    width: 100%;
  }
}
