/* Flexora — shared styles */
:root {
  --gold: #e9b800;
  --gold-dark: #b38c00;
  --gold-soft: #fdf6d8;
  --ink: #1b1b1b;
  --muted: #666b72;
  --line: #ececec;
  --bg: #ffffff;
  --bg-alt: #fafaf7;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.4rem; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 0.98rem; }
.nav-links a:not(.btn):hover { color: var(--gold-dark); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px;
  font: 500 1rem "Roboto", sans-serif;
  text-decoration: none; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #1b1b1b; }
.btn-gold:hover { background: #f2c300; }
.btn-sm { padding: 9px 18px; font-size: 0.95rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* Hero */
.hero { padding: 80px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); line-height: 1.08; margin: 0 0 20px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 32px; max-width: 34em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-img { border-radius: 24px; box-shadow: var(--shadow); aspect-ratio: 1; object-fit: cover; width: 100%; }

/* Sections */
section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin: 0 0 12px; letter-spacing: -0.01em; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.08rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; text-align: center; box-shadow: var(--shadow-sm);
}
.card .icon {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 14px;
  background: var(--gold-soft); color: var(--gold-dark);
  display: grid; place-items: center;
}
.card h3 { margin: 0 0 10px; font-size: 1.18rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-grid h2 { font-size: clamp(1.8rem, 3.5vw, 2.3rem); margin: 0 0 18px; }
.about-grid p { color: var(--muted); margin: 0 0 16px; }
.about-img { border-radius: 24px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 1; object-fit: cover; }

.cta { text-align: center; }
.cta h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 0 0 12px; }
.cta p { color: var(--muted); font-size: 1.1rem; margin: 0 auto 32px; max-width: 36em; }
.cta .hero-actions { justify-content: center; }

/* Page header */
.page-head { text-align: center; padding: 72px 0 40px; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin: 0 0 14px; letter-spacing: -0.02em; }
.page-head p { color: var(--muted); font-size: 1.12rem; max-width: 40em; margin: 0 auto; }

/* Forms */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 18px; }
.field label, .label { display: block; font-size: 0.92rem; font-weight: 500; margin-bottom: 6px; }
.req { color: var(--gold-dark); }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea {
  width: 100%; padding: 12px 14px; font: 400 1rem "Roboto", sans-serif;
  border: 1px solid #d6d6d6; border-radius: 10px; background: #fff; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(233, 184, 0, .2); }
textarea { min-height: 130px; resize: vertical; }
.hidden-field { display: none; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 12px; }
.form-msg { display: none; padding: 14px 16px; border-radius: 10px; margin-top: 16px; font-size: 0.95rem; }
.form-msg.ok { display: block; background: #eef9ee; color: #1f6b2a; }
.form-msg.err { display: block; background: #fdeeee; color: #9b1c1c; }

.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.contact-grid h2 { margin: 0 0 20px; font-size: 1.7rem; }
.info-card {
  display: flex; gap: 16px; align-items: flex-start;
  border: 1px solid var(--line); border-radius: 14px; padding: 22px; margin-bottom: 16px; background: #fff;
}
.info-card svg { color: var(--gold-dark); flex: none; margin-top: 2px; }
.info-card strong { display: block; margin-bottom: 2px; }
.info-card a { color: var(--gold-dark); text-decoration: none; }
.info-card span { color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h4 { margin: 0 0 14px; font-size: 1rem; }
.site-footer p, .site-footer li { color: var(--muted); font-size: 0.95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold-dark); }
.copyright { text-align: center; color: var(--muted); font-size: 0.88rem; border-top: 1px solid var(--line); margin-top: 36px; padding-top: 22px; }

/* Responsive */
@media (max-width: 860px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 48px 0 60px; }
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .form-card { padding: 24px; }
}
@media (max-width: 560px) {
  .nav-links { gap: 14px; }
  .nav-links .hide-sm { display: none; }
  .brand span { font-size: 1.2rem; }
}
