/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

html, body {
  overflow-x: hidden;  /* solo horizontal, no general */
}

/* --------- Menu ------------ */
.c-header--navbar {
  transition: padding-top 0.3s ease-in-out !important;
}

.c-header--navbar.is-scrolled {
  padding-top: var(--space-m) !important; 
}

/* --------- Logo Animación ------------ */
/* 1. Altura inicial (Pon aquí el número que tenías en el panel, ej: 186px) */
.c-logo--sticky img {
  height: 186px !important; /* El !important vence a Bricks */
  transition: height 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

/* 2. Tamaño encogido (Ej: que baje a 120px al hacer scroll) */
.c-header--navbar.is-scrolled .c-logo--sticky img {
  height: 120px !important;
}

/* Cuando hay scroll, ajustamos el 'top' de todo el bloque del logo */
.c-header--navbar.is-scrolled .c-logo--sticky {
  top: -10px !important; /* Pon aquí el número que lo deje centrado visualmente en la barra encogida */
}

/* --------- Logo ------------ */
/* Logo */
.c-logo--sticky {
  height: 186px !important;
  transition: height 0.3s ease !important;
}

.c-logo--sticky.logo-scrolled {
  top: 0 !important;
}

/* --------- Button Action Skew ------------ */
.brxe-button.c-btn-action--skew {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transform: skewX(-7deg) !important;
  background: none !important;
  padding: 12px 40px !important;
  border: none !important;
  border-radius: 0 !important;
  clip-path: none !important;
  transition: transform 0.2s, filter 0.2s !important;
  color: #ffffff !important;
  font-family: 'Arial Black', Arial, sans-serif !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

/* Borde: gradiente azul claro → azul oscuro */
.brxe-button.c-btn-action--skew::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #a8e4f8 0%, #004f7a 100%);
  clip-path: polygon(3% 0%, 100% 0%, 97% 100%, 0% 100%);
  z-index: -2;
}

/* Fondo azul interior */
.brxe-button.c-btn-action--skew::after {
  content: '';
  position: absolute;
  inset: 3px 4px;
  background: linear-gradient(160deg, #3cc5f0 0%, #0fa8dc 40%, #0087be 100%);
  clip-path: polygon(3% 0%, 100% 0%, 97% 100%, 0% 100%);
  z-index: -1;
}

.brxe-button.c-btn-action--skew:hover {
  filter: brightness(1.1);
}

/* --------- Button Action Orange ------------ */
.brxe-button.c-btn-action--orange {
  position: relative !important;
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  transform: skewX(-7deg) !important;
  background: linear-gradient(160deg, #f07848 0%, #e85520 50%, #d04010 100%) !important;
  padding: 14px 48px !important;
  border: none !important;
  border-radius: 10px !important;
  clip-path: none !important;
  transition: transform 0.2s, filter 0.2s !important;
  gap: 2px !important;
  line-height: 1 !important;
  color: #ffffff !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  letter-spacing: 0.5px !important;
  /* Sombra sólida con box-shadow */
  box-shadow: -8px 8px 0px 0px #AF3C15 !important;
}

/* Borde gradiente: claro arriba, oscuro abajo */
.brxe-button.c-btn-action--orange::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(180deg, #FF8961 0%, #AF3C15 100%);
  border-radius: 10px;
  z-index: -1;
}

/* Fondo naranja interior */
.brxe-button.c-btn-action--orange::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #f07848 0%, #e85520 50%, #d04010 100%);
  border-radius: 10px;
  z-index: -1;
}

/* Texto recto (contra-skew) */
.brxe-button.c-btn-action--orange * {
  position: relative !important;
  z-index: 1 !important;
  transform: skewX(7deg) !important;
}

/* Subtexto */
.brxe-button.c-btn-action--orange small {
  display: block !important;
  font-family: Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0.3px !important;
  color: rgba(255,255,255,0.92) !important;
  margin-top: 3px !important;
}

.brxe-button.c-btn-action--orange:hover {
  transform: skewX(-7deg) translateY(-2px) !important;
  filter: brightness(1.08);
}

.brxe-button.c-btn-action--orange:active {
  transform: skewX(-7deg) translate(-5px, 5px) !important;
  box-shadow: 0px 0px 0px 0px #AF3C15 !important;
}

/* Links blue */
.c-links--blue a {
  color: #09A3D8;
}
.c-links--blue a:hover {
  color: #077aa2;
}

/* Links orange */
.c-links--orange a {
  color: #F26636 !important;
}
.c-links--orange a:hover {
  color: #b64d29;
}

/* Links white */
.c-links--white a {
  color: #ffffff !important;
}
.c-links--white a:hover {
  color: #000;
}

/* Links black */
.c-links--black a {
  color: #000 !important;
}
.c-links--black a:hover {
  color: #fff !important;
}

/* --------- Button Action Blue ------------ */
.brxe-button.c-btn-action--blue {
  position: relative !important;
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  transform: skewX(-7deg) !important;
  background: linear-gradient(160deg, #3cc5f0 0%, #0fa8dc 50%, #0087be 100%) !important;
  padding: 14px 44px !important;
  border: none !important;
  border-radius: 10px !important;
  clip-path: none !important;
  transition: transform 0.2s, filter 0.2s !important;
  gap: 2px !important;
  line-height: 1 !important;
  color: #ffffff !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  letter-spacing: 0.5px !important;
  /* Sombra sólida — mismo color que borde inferior */
  box-shadow: -8px 8px 0px 0px #00527a !important;
}

/* Borde gradiente: azul claro arriba, se mezcla con sombra abajo */
.brxe-button.c-btn-action--blue::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: #fff;
  border-radius: 13px;
  z-index: -1;
}

/* Fondo azul interior */
.brxe-button.c-btn-action--blue::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #3cc5f0 0%, #0fa8dc 50%, #0087be 100%);
  border-radius: 10px;
  z-index: -1;
}

/* Texto recto (contra-skew) */
.brxe-button.c-btn-action--blue * {
  position: relative !important;
  z-index: 1 !important;
  transform: skewX(6deg) !important;
}

/* Subtexto */
.brxe-button.c-btn-action--blue small {
  display: block !important;
  font-family: Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0.3px !important;
  color: rgba(255,255,255,0.92) !important;
  margin-top: 3px !important;
}

.brxe-button.c-btn-action--blue:hover {
  transform: skewX(-7deg) translateY(-2px) !important;
  filter: brightness(1.08);
}

.brxe-button.c-btn-action--blue:active {
  transform: skewX(-7deg) translate(-5px, 5px) !important;
  box-shadow: 0px 0px 0px 0px #00527a !important;
}

/* --------- Text Shadow ------------ */
.c-text-shadow--orange {
  text-shadow: -1.23px 4.92px 0px #F26636 !important;
}

.c-text--skew-stroke {
  display: inline-block !important;
  -webkit-text-stroke: 6px #09A3D8 !important;
  paint-order: stroke fill !important;
}

.c-text--stroke-blue {
  display: inline-block !important;
  -webkit-text-stroke: 6px #09A3D8 !important;
  paint-order: stroke fill !important;
}

.c-text--stroke-black {
  display: inline-block !important;
  -webkit-text-stroke: 6px #000000 !important;
  paint-order: stroke fill !important;
}

.c-text--arrow-banner-orange {
  position: relative;
  display: inline-flex;
  align-items: center;
  background-color: #F15A22; /* naranja */
  color: #ffffff;
  font-weight: 700;
  clip-path: polygon(0% 0%, calc(100% - 20px) 0%, 100% 50%, calc(100% - 20px) 100%, 0% 100%);
  border-radius: 3px;
}

.c-text--arrow-banner-blue{
  position: relative;
  display: inline-flex;
  align-items: center;
  background-color: #09A3D8; /* naranja */
  color: #ffffff;
  font-weight: 700;
  clip-path: polygon(0% 0%, calc(100% - 20px) 0%, 100% 50%, calc(100% - 20px) 100%, 0% 100%);
  border-radius: 3px;
}

.c-text--arrow-banner-white{
  position: relative;
  display: inline-flex;
  align-items: center;
  background-color: #fff; /* naranja */
  color: #000;
  font-weight: 700;
  border-radius: 3px;
}

/* --------- List ------------ */
.c-list--columns {
  width: 100%;
}
.c-list--columns ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.c-list--columns ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid #e5e7eb;
  border-right: 1px solid #e5e7eb;
  margin: 0;
}

/* Quitar borde derecho en la última columna */
.c-list--columns ul li:nth-child(4n) {
  border-right: none;
}

/* Bullet personalizado naranja */
.c-list--columns ul li::before {
  content: "";
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background-color: #F26636;
}

.c-list--columns ul li a {
  color: #F26636;
  text-decoration: none;
}

.c-list--columns ul li a:hover {
  text-decoration: underline;
}

/* --------- List: cards (Accepted Items) ------------ */
.c-list--cards {
  width: 100%;
}
.c-list--cards ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.c-list--cards ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border: 2px solid #22c55e;
  border-radius: 10px;
  margin: 0;
  font-weight: 700;
}
/* Bullet = check verde con círculo */
.c-list--cards ul li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background-color: #22c55e;
  color: #fff;
  font-weight: 700;
}
.c-list--cards ul li a {
  color: inherit;
  text-decoration: none;
}
.c-list--cards ul li a:hover {
  text-decoration: underline;
}

/* --------- List: cards rejected (rojo con X) ------------ */
.c-list--cards-rejected ul li {
  border-color: #ef4444;
}
.c-list--cards-rejected ul li::before {
  content: "✕";
  background-color: #ef4444;
}

/* ═══════════════════════════════════════════════
   WE LOVE JUNK — Gravity Forms Custom Styles
   Tokens: --orange: #F05A28 | --blue: #29ABE2
   Font: Oswald (headings) + Open Sans (body)
═══════════════════════════════════════════════ */

/* ── WRAPPER ─────────────────────────────────── */
.gform_wrapper.gravity-theme {
  font-family: 'Open Sans', sans-serif;
}

/* ── FORM TITLE & DESCRIPTION ────────────────── */
.gform_wrapper .gform_heading .gform_title {
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
  color: #1A1A1A;
  margin-bottom: 8px;
}
.gform_wrapper .gform_heading .gform_description {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* ── FIELD LABELS ────────────────────────────── */
.gform_wrapper .gfield_label {
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #1A1A1A !important;
  margin-bottom: 7px !important;
}

/* required asterisk */
.gform_wrapper .gfield_required {
  color: #F05A28 !important;
  font-weight: 700;
}

/* ── INPUTS, SELECTS, TEXTAREA ───────────────── */
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="number"],
.gform_wrapper input[type="url"],
.gform_wrapper select,
.gform_wrapper textarea {
  width: 100% !important;
  padding: 13px 16px !important;
  border: 2px solid #e8e8e8 !important;
  border-radius: 0 !important;
  font-size: 15px !important;
  color: #333 !important;
  background: #fff !important;
  box-shadow: none !important;
  outline: none;
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.gform_wrapper input[type="text"]:focus,
.gform_wrapper input[type="email"]:focus,
.gform_wrapper input[type="tel"]:focus,
.gform_wrapper input[type="number"]:focus,
.gform_wrapper input[type="url"]:focus,
.gform_wrapper select:focus,
.gform_wrapper textarea:focus {
  border-color: #F05A28 !important;
  box-shadow: none !important;
  outline: none !important;
}

/* placeholder color */
.gform_wrapper input::placeholder,
.gform_wrapper textarea::placeholder {
  color: #aaa;
  font-size: 14px;
}

/* select arrow */
.gform_wrapper .ginput_container_select::after,
.gform_wrapper select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23F05A28' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px !important;
  cursor: pointer;
}

/* textarea height */
.gform_wrapper textarea.medium {
  height: 140px !important;
}

/* ── FIELD SPACING ───────────────────────────── */
.gform_wrapper .gfield {
  margin-bottom: 18px !important;
  padding: 0 !important;
}

/* ── TWO-COLUMN LAYOUT ───────────────────────── */
/* Use CSS Grid for inline fields (Half) */
.gform_wrapper .gform_fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

/* Fields tagged with GF CSS class "gf_left_half" / "gf_right_half" */
.gform_wrapper .gf_left_half,
.gform_wrapper .gf_right_half {
  display: inline-block;
  width: 49% !important;
  vertical-align: top;
}
.gform_wrapper .gf_left_half { margin-right: 2% !important; }

@media (max-width: 600px) {
  .gform_wrapper .gf_left_half,
  .gform_wrapper .gf_right_half {
    width: 100% !important;
    margin-right: 0 !important;
  }
}

/* ── SUBMIT BUTTON ───────────────────────────── */
.gform_wrapper .gform_footer,
.gform_wrapper .gform_page_footer {
  padding: 0 !important;
  margin-top: 8px !important;
}

.gform_wrapper input[type="submit"],
.gform_wrapper .gform_button {
  width: 100% !important;
  background: #F05A28 !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 17px !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  padding: 18px 36px !important;
  border: none !important;
  border-radius: 0 !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: background 0.2s ease !important;
}

.gform_wrapper input[type="submit"]:hover,
.gform_wrapper .gform_button:hover {
  background: #D44A1A !important;
}

/* ── ERROR STATES ────────────────────────────── */
.gform_wrapper .gfield_error input,
.gform_wrapper .gfield_error select,
.gform_wrapper .gfield_error textarea {
  border-color: #e53935 !important;
  background: #fff8f8 !important;
}

.gform_wrapper .gfield_error .gfield_label {
  color: #e53935 !important;
}

.gform_wrapper .validation_message {
  font-size: 12px !important;
  color: #e53935 !important;
  margin-top: 5px !important;
  font-weight: 600;
}

/* top validation error box */
.gform_wrapper .gform_validation_errors,
.gform_wrapper .validation_error {
  background: #fff3f3 !important;
  border: 2px solid #e53935 !important;
  border-radius: 0 !important;
  color: #e53935 !important;
  font-size: 14px !important;
  padding: 14px 18px !important;
  margin-bottom: 24px !important;
  box-shadow: none !important;
}

/* ── SUCCESS / CONFIRMATION ──────────────────── */
.gform_confirmation_wrapper .gform_confirmation_message {
  background: #f0fdf4;
  border-left: 4px solid #F05A28;
  padding: 24px 28px;
  font-size: 16px;
  color: #1A1A1A;
  line-height: 1.6;
}

/* ── CHECKBOX & RADIO ────────────────────────── */
.gform_wrapper .gfield_checkbox input[type="checkbox"],
.gform_wrapper .gfield_radio input[type="radio"] {
  width: 18px !important;
  height: 18px !important;
  accent-color: #F05A28;
  cursor: pointer;
  border: 2px solid #e8e8e8 !important;
  padding: 0 !important;
}

.gform_wrapper .gfield_checkbox label,
.gform_wrapper .gfield_radio label {
  font-size: 14px !important;
  color: #333 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 400 !important;
  cursor: pointer;
}

/* ── FORM NOTE (below submit) ────────────────── */
.gform_wrapper .gform_description,
.gform_wrapper .gfield_description {
  font-size: 13px;
  color: #888;
  line-height: 1.5;
}

/* Tablet: 2 columnas */
@media (max-width: 768px) {
  .c-list--columns ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .c-list--columns ul li:nth-child(4n) {
    border-right: 1px solid #e5e7eb;
  }

  .c-list--columns ul li:nth-child(2n) {
    border-right: none;
  }
}

/* Mobile: 1 columna */
@media (max-width: 480px) {
  .c-list--columns ul {
    grid-template-columns: 1fr;
  }

  .c-list--columns ul li {
    border-right: none;
  }
}

/* --------- Responsive ------------ */
/* Tablet */
@media (max-width: 1024px) {
  .brxe-button.c-btn-action--orange,
  .brxe-button.c-btn-action--blue {
    font-size: 20px !important;
    padding: 14px 24px !important;
  }

  .brxe-button.c-btn-action--orange small,
  .brxe-button.c-btn-action--blue small {
    font-size: 12px !important;
  }
	
  .c-text--skew-stroke {
    -webkit-text-stroke: 4px #09A3D8 !important;
  }
	
  .c-text--stroke-blue {
    -webkit-text-stroke: 3px #09A3D8 !important;
  }

  .c-text--stroke-black {
    -webkit-text-stroke: 3px #000000 !important;
  }
}

@media (max-width: 900px) {
  .c-list--cards ul { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 768px){
	/* --------- Logo Animación ------------ */
  .brxe-button.c-btn-action--orange,
  .brxe-button.c-btn-action--blue {
    font-size: 18px !important;
    padding: 14px !important;
  }

  .c-logo--sticky img {
  	height: 126px !important; /* El !important vence a Bricks */
  }
	
@media (max-width: 600px) {
  .c-list--cards ul { grid-template-columns: 1fr; }
}
	
  .c-header--navbar.is-scrolled .c-logo--sticky img {
    height: 90px !important; /* O la altura que prefieras en móvil */
  }
}