/*
Theme Name: Laptop Clinic Child
Theme URI: https://laptopclinic.it
Description: Child theme for Laptop Clinic Milano based on Divi. Applies the full brand design system (colors, fonts, buttons, cards).
Author: Laptop Clinic
Template: divi
Version: 1.0.0
*/

/* =====================================================
   LAPTOP CLINIC — BRAND SYSTEM
   Palette:
   Primary #1b3f8d | Light #3d6cc9 | Soft #7aa2e8
   Dark #0f2a5e | Deep #0a1d42 | Accent #22d3ee
   Surface #f4f7fd | Text #33415c | Headings #16233b
   ===================================================== */

body {
  background: #fbfcff;
  color: #33415c;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.et_pb_module .et_pb_module_header,
.et_pb_blurb h4, .et_pb_widget_area h4 {
  font-family: "Manrope", "Inter", sans-serif;
  color: #16233b;
}

/* ---- Links & accent ---- */
a { color: #1b3f8d; }
a:hover { color: #0f2a5e; }

/* ---- Primary buttons ---- */
.et_pb_button,
.et_pb_button_module_wrapper .et_pb_button,
.et_pb_button.et_pb_bg_layout_dark {
  font-family: "Inter", sans-serif;
  background: #1b3f8d;
  color: #ffffff;
  border: 2px solid #1b3f8d;
  border-radius: 12px;
  padding: 0.6em 1.4em;
  font-size: 14px;
  transition: all 0.25s ease;
}
.et_pb_button:hover,
.et_pb_button_module_wrapper .et_pb_button:hover {
  background: #0f2a5e;
  border-color: #0f2a5e;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(27, 63, 141, 0.25);
}

/* ---- White / ghost buttons ---- */
.et_pb_button.et_pb_bg_layout_dark .et_pb_button__icon { color: #1b3f8d; }
.et_pb_button.btn-white,
a.btn-white {
  background: #ffffff;
  color: #1b3f8d !important;
  border: 2px solid #ffffff;
}
.et_pb_button.btn-white:hover { background: #f4f7fd; color: #0f2a5e !important; border-color: #f4f7fd; }

/* ---- Dark blue hero sections ---- */
.lc-hero {
  background: linear-gradient(135deg, #0a1d42 0%, #0f2a5e 45%, #1b3f8d 100%);
}
.lc-hero h1, .lc-hero h2, .lc-hero h3 { color: #ffffff; }
.lc-hero .et_pb_text, .lc-hero p { color: rgba(214, 227, 255, 0.85); }

/* Dotted grid overlay for dark sections */
.lc-hero-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.14) 1px, transparent 0);
  background-size: 36px 36px;
  pointer-events: none;
}

/* ---- Gradient text accent ---- */
.gradient-text {
  background: linear-gradient(135deg, #6ea8ff 0%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- Eyebrow labels ---- */
.eyebrow {
  color: #3d6cc9 !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 600;
}

/* ---- Cards (blurbs, blog, etc.) ---- */
.et_pb_blurb, .et_pb_blog_grid .et_pb_post,
.et_pb_team_member, .et_pb_promo, .et_pb_testimonial {
  background: #ffffff;
  border: 1px solid rgba(27, 63, 141, 0.10);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(27, 63, 141, 0.06);
  transition: all 0.3s ease;
}
.et_pb_blurb:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(27, 63, 141, 0.10); }

/* ---- Blurb icon boxes ---- */
.et_pb_blurb .et_pb_main_blurb_image .et-pb-icon {
  background: rgba(27, 63, 141, 0.06);
  color: #1b3f8d;
  border-radius: 12px;
  width: 64px;
  height: 64px;
  line-height: 64px;
  transition: all 0.3s ease;
}
.et_pb_blurb:hover .et_pb_main_blurb_image .et-pb-icon {
  background: #1b3f8d;
  color: #ffffff;
}

/* ---- Section eyebrows + soft backgrounds ---- */
.lc-surface { background: #f4f7fd; }
.lc-surface-dark { background: #e8eef9; }

/* ---- Trust bar style ---- */
.lc-trustbar { border-top: 1px solid rgba(27, 63, 141, 0.06); border-bottom: 1px solid rgba(27, 63, 141, 0.06); background: #ffffff; }
.lc-trustbar .et_pb_text { color: #33415c; font-weight: 500; }

/* ---- Big faint number (how-it-works) ---- */
.lc-step-number {
  position: absolute; top: 24px; right: 28px;
  font-size: 44px; font-weight: 700;
  color: rgba(27, 63, 141, 0.08);
  font-family: "Manrope", sans-serif;
}

/* ---- Image placeholder blocks (marketplace) ---- */
.lc-image-placeholder {
  background: linear-gradient(135deg, rgba(27,63,141,0.05) 0%, rgba(27,63,141,0.12) 100%);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  min-height: 176px;
}
.lc-image-placeholder i { color: #7aa2e8; font-size: 56px; }

/* ---- Category pills ---- */
.lc-pill {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: #f4f7fd;
  color: #33415c;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
}
.lc-pill:hover { background: #e8eef9; color: #1b3f8d; }
.lc-pill.active { background: #1b3f8d; color: #ffffff; }

/* ---- Status chips ---- */
.lc-chip {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.lc-chip-green { background: rgba(16, 185, 129, 0.10); color: #047857; }
.lc-chip-red { background: rgba(239, 68, 68, 0.10); color: #b91c1c; }
.lc-chip-gray { background: rgba(255,255,255,0.9); color: #33415c; }

/* ---- Footer ---- */
.lc-footer {
  background: #0f2a5e;
  color: rgba(214, 227, 255, 0.7);
}
.lc-footer h4 { color: #ffffff; }
.lc-footer a { color: rgba(214, 227, 255, 0.7); }
.lc-footer a:hover { color: #ffffff; }

/* ---- Form fields ---- */
.et_pb_contact_form_container input[type="text"],
.et_pb_contact_form_container input[type="email"],
.et_pb_contact_form_container input[type="tel"],
.et_pb_contact_form_container textarea,
.et_pb_contact_form_container .input {
  border: 1px solid rgba(27, 63, 141, 0.15);
  border-radius: 12px;
  padding: 12px 16px;
}
.et_pb_contact_form_container .input:focus {
  border-color: rgba(27, 63, 141, 0.4);
  outline: none;
}
.et_pb_contact_form_container .et_pb_contact_submit {
  background: #1b3f8d;
  border-radius: 12px;
}

/* ---- Selection ---- */
::selection { background: #cfe0ff; color: #1b3f8d; }
