/* ----- CSS RESET & BASE (Blue/Red/White theme) ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Roboto, system-ui, sans-serif;
}
body {
  background: #f0f4fa;
  color: #0b1e2e;
  line-height: 1.5;
  padding-bottom: 2rem;
}
a {
  text-decoration: none;
  color: inherit;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ----- HEADER ----- */
.header {
  background: #0a2a44;
  color: white;
  padding: 0.5rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid #dc2626;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
.logo {
  font-size: 1.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo img {
  height: 55px;
  width: auto;
  display: block;
  max-height: 55px;
  border-radius: 6px;
}
.logo span {
  color: #facc15;
}
.logo i {
  color: #dc2626;
}

/* ----- NAVIGATION ----- */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem 1.2rem;
  flex-wrap: wrap;
}
.nav-menu a {
  font-weight: 600;
  color: white;
  padding: 0.3rem 0.6rem;
  border-radius: 30px;
  transition: 0.1s;
  font-size: 0.9rem;
  border: 1px solid transparent;
}
.nav-menu a:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}
.nav-menu a i {
  color: #dc2626;
  margin-right: 0.3rem;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  transition: 0.2s;
}
.nav-toggle:hover {
  opacity: 0.8;
}

/* ----- HEADER ACTIONS ----- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: white;
  color: #0a2a44;
  border: none;
  border-radius: 40px;
  padding: 0.3rem 0.9rem;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: 0.15s;
}
.action-btn i {
  font-size: 1rem;
}
.action-btn.whatsapp {
  background: #25d366;
  color: white;
  border-color: #25d366;
}
.action-btn.call {
  background: #dc2626;
  color: white;
  border-color: #dc2626;
}
.action-btn.cart {
  background: #facc15;
  color: #0a2a44;
  border-color: #facc15;
}
.action-btn:hover {
  transform: scale(1.02);
  opacity: 0.9;
}
.cart-badge {
  background: #dc2626;
  color: white;
  font-size: 0.7rem;
  border-radius: 30px;
  padding: 0.1rem 0.6rem;
  margin-left: 0.1rem;
  font-weight: 700;
}

/* ----- HERO - FIXED BACKGROUND ----- */
.hero {
  background: linear-gradient(135deg, #0a2a44 0%, #1a4b6e 100%);
  background-image: url('../images/cover-photo.jpeg');
  background-size: cover;
  background-position: center;
  min-height: 260px;
  display: flex;
  align-items: center;
  border-radius: 0 0 2rem 2rem;
  margin: 0 0 1.5rem 0;
  padding: 2.5rem 1.5rem;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  position: relative;
  isolation: isolate;
}
/* Fallback if image doesn't load */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 42, 68, 0.7);
  border-radius: 0 0 2rem 2rem;
  z-index: -1;
}
.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 700;
}
.hero h1 .highlight {
  color: #facc15;
}
.hero .hero-statement {
  font-size: 1.1rem;
  margin-top: 0.8rem;
  opacity: 0.95;
  max-width: 700px;
  line-height: 1.6;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.8rem 1.2rem;
  border-radius: 1rem;
  border-left: 4px solid #dc2626;
}

/* ----- SECTION TITLE ----- */
.section-title {
  font-size: 1.9rem;
  font-weight: 700;
  margin: 2.8rem 0 1.2rem 0;
  padding-bottom: 0.4rem;
  border-bottom: 4px solid #dc2626;
  display: inline-block;
  letter-spacing: -0.3px;
}
.section-title i {
  color: #dc2626;
  margin-right: 0.5rem;
}

/* ----- PRODUCT GRID (2 cols mobile) ----- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-bottom: 0.5rem;
}
@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ----- PRODUCT CARD ----- */
.product-card {
  background: white;
  border-radius: 1.2rem;
  padding: 1rem 0.8rem 1.2rem;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.02);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: 0.15s;
}
.product-card:hover {
  box-shadow: 0 12px 24px rgba(10, 42, 68, 0.08);
  border-color: #b0c4de;
}
.product-img {
  width: 100%;
  aspect-ratio: 1/1;
  background: #f1f6fc;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  color: #0a2a44;
  margin-bottom: 0.5rem;
  overflow: hidden;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}
.product-name {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0.2rem 0 0.1rem;
}
.product-desc {
  font-size: 0.8rem;
  color: #3a4a5a;
  margin: 0.2rem 0 0.3rem;
  line-height: 1.3;
  max-width: 90%;
}
.product-price {
  font-weight: 600;
  color: #0a2a44;
  background: #e6eff9;
  padding: 0.1rem 1rem;
  border-radius: 30px;
  font-size: 0.9rem;
  margin: 0.2rem 0 0.6rem;
}
.card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
  margin-top: 0.2rem;
}
.btn-call-order,
.btn-add-cart {
  width: 100%;
  padding: 0.5rem 0.3rem;
  border: none;
  border-radius: 60px;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: 0.1s;
}
.btn-call-order {
  background: #dc2626;
  color: white;
  border: 1px solid #dc2626;
}
.btn-add-cart {
  background: #0a2a44;
  color: white;
  border: 1px solid #0a2a44;
}
.btn-add-cart i {
  color: #facc15;
}
.btn-call-order:hover,
.btn-add-cart:hover {
  opacity: 0.85;
  transform: scale(0.98);
}

/* ----- STATEMENT BANNER ----- */
.statement-banner {
  background: #0a2a44;
  color: white;
  padding: 1.5rem 2rem;
  border-radius: 1.5rem;
  margin: 2.5rem 0;
  border-left: 6px solid #dc2626;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.statement-banner p {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 900px;
}
.statement-banner i {
  color: #dc2626;
  margin-right: 0.5rem;
}

/* ----- INFO GRID ----- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.8rem;
  margin: 2rem 0;
}
.info-card {
  background: white;
  padding: 1.8rem 1.2rem;
  border-radius: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  border: 1px solid #e2e8f0;
  text-align: center;
}
.info-card i {
  font-size: 2.4rem;
  color: #dc2626;
  margin-bottom: 0.5rem;
}
.info-card h3 {
  color: #0a2a44;
  margin-bottom: 0.3rem;
  font-size: 1.2rem;
}
.info-card p {
  color: #2d4055;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ----- TESTIMONIALS ----- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.testimonial {
  background: white;
  padding: 1.2rem 1rem;
  border-radius: 1.2rem;
  border-left: 6px solid #dc2626;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}
.testimonial p {
  font-style: italic;
  color: #1e3a5f;
}
.testimonial cite {
  font-weight: 600;
  color: #0a2a44;
  display: block;
  margin-top: 0.3rem;
}

/* ----- CONTACT SECTION ----- */
.contact-section {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem 2.5rem;
  margin: 2.5rem 0;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
  margin-top: 1.5rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 1.2rem;
  background: #f8fafc;
  border-radius: 1rem;
  transition: 0.15s;
  min-width: 0;
}
.contact-item:hover {
  background: #e6eff9;
}
.contact-item i {
  font-size: 1.6rem;
  color: #dc2626;
  width: 36px;
  flex-shrink: 0;
  text-align: center;
}
.contact-item .contact-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.contact-item .contact-label {
  font-size: 0.7rem;
  color: #6b7a8a;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.contact-item .contact-value {
  font-size: 1rem;
  font-weight: 600;
  color: #0a2a44;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ----- QUOTE FORM ----- */
.quote-form-wrapper {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 1.2rem;
  border: 2px dashed #dc2626;
}
.quote-form-wrapper h3 {
  color: #0a2a44;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.quote-form-wrapper h3 i {
  color: #dc2626;
}
.quote-form-wrapper p {
  color: #4a5a6a;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.quote-form .full-width {
  grid-column: 1 / -1;
}
.quote-form label {
  font-weight: 600;
  font-size: 0.85rem;
  color: #0a2a44;
  display: block;
  margin-bottom: 0.2rem;
}
.quote-form input,
.quote-form textarea,
.quote-form select {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid #d0d8e0;
  border-radius: 0.6rem;
  font-size: 0.95rem;
  transition: 0.15s;
  background: white;
}
.quote-form input:focus,
.quote-form textarea:focus,
.quote-form select:focus {
  outline: none;
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}
.quote-form textarea {
  resize: vertical;
  min-height: 80px;
}
.btn-submit-quote {
  grid-column: 1 / -1;
  background: #25d366;
  color: white;
  border: none;
  padding: 0.8rem;
  border-radius: 60px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-submit-quote:hover {
  opacity: 0.85;
  transform: scale(0.98);
}
.btn-submit-quote i {
  font-size: 1.2rem;
}

/* ----- CART PANEL ----- */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2000;
  display: none;
  justify-content: flex-end;
}
.cart-overlay.active {
  display: flex;
}
.cart-panel {
  background: white;
  width: 100%;
  max-width: 400px;
  height: 100%;
  padding: 1.5rem;
  overflow-y: auto;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}
.cart-panel h2 {
  font-size: 1.5rem;
  color: #0a2a44;
  border-bottom: 3px solid #dc2626;
  padding-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-panel .close-cart {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #dc2626;
}
.cart-items-list {
  flex: 1;
  margin: 1rem 0;
  list-style: none;
  padding: 0;
}
.cart-items-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
}
.cart-items-list li span {
  font-weight: 500;
}
.cart-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.cart-actions button {
  flex: 1;
  padding: 0.7rem;
  border: none;
  border-radius: 60px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.1s;
  font-size: 0.9rem;
}
.btn-checkout-wa {
  background: #25d366;
  color: white;
}
.btn-clear-cart {
  background: #dc2626;
  color: white;
}
.cart-actions button:hover {
  opacity: 0.85;
}

/* ----- FOOTER ----- */
.footer {
  margin-top: 4rem;
  background: #0a2a44;
  color: #d0dce6;
  padding: 2.5rem 1rem 1.8rem;
  border-radius: 2rem 2rem 0 0;
  border-top: 4px solid #dc2626;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem 1rem;
}
.footer-col {
  flex: 1 1 180px;
}
.footer-col h4 {
  color: white;
  margin-bottom: 0.8rem;
  font-size: 1rem;
}
.footer-col a {
  display: block;
  margin: 0.2rem 0;
  opacity: 0.8;
  transition: 0.1s;
}
.footer-col a:hover {
  opacity: 1;
  color: #facc15;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
}
.footer-logo img {
  height: 42px;
  width: auto;
  border-radius: 4px;
}
.footer-logo span {
  color: #facc15;
}
.footer-phone {
  font-size: 1.1rem;
  font-weight: 500;
  color: white;
  display: block;
  margin: 0.25rem 0;
}
.footer-phone i {
  margin-right: 0.4rem;
  color: #dc2626;
}
.footer small {
  opacity: 0.7;
  display: block;
  margin-top: 0.8rem;
}
.footer .footer-statement {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.85;
  max-width: 300px;
}

/* ----- FLOATING BUTTONS ----- */
.floating-actions {
  position: fixed;
  bottom: 1.2rem;
  right: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  z-index: 999;
  pointer-events: none;
}
.floating-actions * {
  pointer-events: auto;
}
.floating-actions .action-btn {
  width: 54px;
  height: 54px;
  border-radius: 40px;
  padding: 0;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.floating-actions .action-btn.whatsapp {
  background: #25d366;
  color: white;
}
.floating-actions .action-btn.call {
  background: #dc2626;
  color: white;
}
.floating-actions .action-btn.cart {
  background: #facc15;
  color: #0a2a44;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .contact-section {
    padding: 1.5rem;
  }
  .quote-form {
    grid-template-columns: 1fr;
  }
  .quote-form .full-width {
    grid-column: 1;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav-menu {
    display: none;
    flex-direction: column;
    background: #0a2a44;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border-top: 2px solid #dc2626;
    gap: 0.8rem;
    align-items: stretch;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-menu a {
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 1rem;
  }
  .nav-menu a:hover {
    background: rgba(255, 255, 255, 0.08);
  }
  .header-inner {
    flex-wrap: wrap;
  }
  .header-actions .hide-mobile {
    display: none;
  }
  .card-actions {
    flex-direction: column;
  }
  .btn-call-order,
  .btn-add-cart {
    font-size: 0.75rem;
    padding: 0.5rem 0.2rem;
  }
  .hero {
    padding: 1.5rem 1rem;
    min-height: 200px;
  }
  .hero .hero-statement {
    font-size: 0.95rem;
    padding: 0.6rem 1rem;
  }
  .statement-banner {
    padding: 1rem 1.2rem;
  }
  .statement-banner p {
    font-size: 0.95rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .contact-section {
    padding: 1.2rem;
  }
  .contact-item {
    padding: 0.8rem 1rem;
  }
  .contact-item .contact-value {
    font-size: 0.95rem;
  }
  .logo img {
    height: 45px;
  }
  .footer-logo img {
    height: 35px;
  }
  .quote-form {
    grid-template-columns: 1fr;
  }
  .quote-form .full-width {
    grid-column: 1;
  }
}

@media (max-width: 480px) {
  .product-card {
    padding: 0.7rem 0.4rem;
  }
  .product-name {
    font-size: 0.9rem;
  }
  .product-desc {
    font-size: 0.7rem;
  }
  .logo img {
    height: 40px;
  }
  .contact-item {
    padding: 0.6rem 0.8rem;
    gap: 0.8rem;
  }
  .contact-item i {
    font-size: 1.2rem;
    width: 28px;
  }
  .contact-item .contact-value {
    font-size: 0.85rem;
  }
  .quote-form-wrapper {
    padding: 1rem;
  }
  .btn-submit-quote {
    font-size: 0.9rem;
    padding: 0.7rem;
  }
}