/*
Theme Name: Asira
Theme URI: https://asira.ro
Author: George Boroda
Description: Temă custom pentru site-ul de asigurări Asira.ro
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: asira
*/

* { box-sizing:border-box; }
body {
  margin:0;
  font-family:Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background:#f5f7fa;
  color:#1a1a1a;
}
a { text-decoration:none; }

/* Header */
header {
  position:sticky;
  top:0;
  z-index:50;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:16px 48px;
  background:#ffffffcc;
  backdrop-filter:blur(10px);
  box-shadow:0 2px 8px rgba(0,0,0,0.08);
}
.logo {
  font-size:26px;
  font-weight:800;
  color:#0057B8;
  letter-spacing:0.02em;
}
nav a {
  margin:0 14px;
  color:#333;
  font-weight:500;
  font-size:15px;
}
nav a:hover { color:#0057B8; }
.cta {
  padding:10px 20px;
  background:#ff7a00;
  color:#fff;
  border-radius:999px;
  font-weight:600;
  font-size:15px;
}
.cta:hover { opacity:0.9; }

main { scroll-behavior:smooth; }

/* Hero */
.hero {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  padding:80px 48px 64px;
  background:#e8f1fb;
}
.hero-text { max-width:560px; }
.hero h1 {
  font-size:40px;
  line-height:1.2;
  margin-bottom:16px;
}
.hero p {
  font-size:18px;
  margin-bottom:20px;
  color:#333;
}
.hero-badges {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:24px;
}
.badge {
  padding:6px 12px;
  border-radius:999px;
  background:#fff;
  font-size:12px;
  font-weight:600;
  color:#0057B8;
  box-shadow:0 2px 6px rgba(0,0,0,0.06);
}
.hero-highlight {
  display:flex;
  gap:18px;
  align-items:center;
  font-size:14px;
  color:#333;
}
.hero-highlight span:first-child {
  font-size:32px;
  font-weight:700;
  color:#0057B8;
}

/* Formular hero */
.form-box {
  background:#fff;
  padding:24px;
  border-radius:16px;
  box-shadow:0 8px 28px rgba(0,0,0,0.15);
  width:340px;
  max-width:100%;
}
.form-box h3 {
  margin-top:0;
  margin-bottom:16px;
  font-size:18px;
}
.form-box label {
  display:block;
  margin-bottom:6px;
  font-size:13px;
  font-weight:600;
}
.form-box input,
.form-box select {
  width:100%;
  padding:11px 12px;
  margin-bottom:14px;
  border:1px solid #d0d7e2;
  border-radius:10px;
  font-size:14px;
}
.form-box button {
  width:100%;
  padding:11px;
  background:#0057B8;
  color:white;
  border:none;
  border-radius:999px;
  font-size:15px;
  font-weight:600;
  cursor:pointer;
}
.form-box button:hover { background:#004490; }
.form-note {
  font-size:11px;
  color:#777;
}

/* Secțiuni */
.section { padding:56px 48px; }
.section-header {
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:16px;
  margin-bottom:28px;
  flex-wrap:wrap;
}
.section-header h2 {
  font-size:28px;
  margin:0;
}
.section-header p {
  margin:0;
  max-width:420px;
  color:#555;
  font-size:14px;
}

.grid-3 {
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:24px;
}
.grid-2 {
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:24px;
}

/* Carduri */
.card {
  background:white;
  padding:20px 20px 18px;
  border-radius:16px;
  box-shadow:0 4px 16px rgba(0,0,0,0.06);
  display:flex;
  flex-direction:column;
  height:100%;
}
.card h3 {
  margin:0 0 8px;
  font-size:18px;
}
.card small {
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:0.06em;
  color:#777;
}
.card p {
  margin:8px 0 14px;
  font-size:14px;
  color:#555;
}
.card ul {
  margin:0 0 10px 18px;
  padding:0;
  font-size:13px;
  color:#555;
}
.card a.more {
  margin-top:auto;
  font-size:14px;
  font-weight:600;
  color:#0057B8;
}
.pill-row {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:8px;
}
.pill {
  font-size:11px;
  padding:4px 10px;
  border-radius:999px;
  background:#f0f3f8;
  color:#555;
}

/* RCA layout */
.rca-layout {
  display:grid;
  grid-template-columns:2.2fr 1.4fr;
  gap:28px;
  align-items:flex-start;
}
.rca-steps { font-size:14px; color:#444; }
.rca-steps ol { padding-left:20px; }
.info-box {
  background:#fff;
  border-radius:14px;
  padding:18px 18px 14px;
  border:1px dashed #c5d0e4;
  font-size:13px;
  color:#444;
}

/* Despăgubiri */
.claims-steps {
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:18px;
}
.step {
  background:#fff;
  border-radius:14px;
  padding:16px;
  font-size:13px;
  color:#444;
  box-shadow:0 2px 10px rgba(0,0,0,0.04);
}
.step strong {
  display:block;
  margin-bottom:4px;
  font-size:14px;
}
.upload-box {
  border:2px dashed #c5d0e4;
  border-radius:14px;
  padding:18px;
  text-align:center;
  font-size:13px;
  color:#555;
  background:#f9fbff;
}

/* Blog */
.blog-list {
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:24px;
}
.blog-card {
  background:#fff;
  border-radius:16px;
  padding:18px 18px 16px;
  box-shadow:0 4px 14px rgba(0,0,0,0.05);
  display:flex;
  flex-direction:column;
}
.blog-tag {
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:0.08em;
  color:#777;
  margin-bottom:6px;
}
.blog-card h3 {
  font-size:16px;
  margin:0 0 8px;
}
.blog-card p {
  font-size:13px;
  color:#555;
  margin:0 0 10px;
}
.blog-meta {
  font-size:11px;
  color:#999;
  margin-top:auto;
}

/* Contact */
.contact-layout {
  display:grid;
  grid-template-columns:1.3fr 1.4fr;
  gap:28px;
}
.contact-card {
  background:#fff;
  border-radius:16px;
  padding:22px;
  box-shadow:0 4px 18px rgba(0,0,0,0.06);
}
.contact-card h3 {
  margin-top:0;
  margin-bottom:12px;
}
.contact-row {
  font-size:14px;
  margin-bottom:6px;
}
.contact-form label {
  display:block;
  font-size:13px;
  font-weight:600;
  margin-bottom:4px;
}
.contact-form input,
.contact-form textarea {
  width:100%;
  padding:10px 11px;
  border-radius:10px;
  border:1px solid #d0d7e2;
  font-size:14px;
  margin-bottom:12px;
}
.contact-form textarea {
  min-height:96px;
  resize:vertical;
}
.btn-secondary {
  display:inline-block;
  padding:9px 18px;
  border-radius:999px;
  border:1px solid #c5d0e4;
  font-size:13px;
  color:#333;
  background:#fff;
}

/* Footer */
footer {
  margin-top:40px;
  padding:32px 48px 26px;
  background:#111827;
  color:#e5e7eb;
  font-size:13px;
}
.footer-grid {
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:24px;
  margin-bottom:18px;
}
.footer-logo {
  font-size:20px;
  font-weight:800;
  margin-bottom:8px;
}
footer a {
  color:#9ca3af;
  display:block;
  margin-bottom:6px;
}
.footer-bottom {
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  border-top:1px solid #1f2937;
  padding-top:10px;
  margin-top:10px;
  color:#6b7280;
}

/* Responsive */
@media (max-width:1024px) {
  header { padding:14px 18px; }
  .hero { padding:64px 18px 40px; }
  .section { padding:40px 18px; }
  .grid-3,
  .blog-list,
  .claims-steps { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .rca-layout,
  .contact-layout { grid-template-columns:1fr; }
}

@media (max-width:768px) {
  nav { display:none; }
  .hero { padding-top:72px; }
  .hero h1 { font-size:28px; }
  .grid-3,
  .blog-list,
  .claims-steps { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; }
  header { justify-content:space-between; }
}
