/*
Theme Name: Silicon Rubber Landing
Theme URI: https://siliconerubber.ir
Author: Silicon Rubber
Author URI: https://siliconerubber.ir
Description: قالب تک‌صفحه‌ای راست‌چین برای فروش سیلیکون جامد، کامپاند سیلیکونی و مواد پخت سیلیکون.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: silicon-rubber
Tags: one-page, rtl-language-support, custom-logo, landing-page, responsive
*/

/* DanaFaNum font
   Put the font file here:
   assets/fonts/DanaFaNum-Regular.woff2
*/
@font-face {
  font-family: 'DanaFaNum';
  src: url('assets/fonts/DanaFaNum-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


:root {
  --navy: #061c33;
  --navy-2: #0b2a48;
  --orange: #ff4a16;
  --orange-dark: #df3708;
  --text: #0b1f36;
  --muted: #5f7082;
  --line: #dfe7ef;
  --soft: #f3f6f9;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(6, 28, 51, 0.12);
  --radius: 22px;
  --font-main: 'DanaFaNum', Tahoma, Arial, sans-serif;
}


* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  direction: rtl;
  line-height: 1.8;
}


body,
button,
input,
textarea,
select,
a,
summary,
.btn,
.brand,
.navlinks,
.product-card,
.step-card,
.mini-card,
.info-row,
.quote-form {
  font-family: var(--font-main);
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section-pad {
  padding: 72px 0;
}

.section--white {
  background: #fff;
}

.section--soft {
  background: linear-gradient(180deg, #f7f9fc 0%, #eef4f8 100%);
}

.section--dark,
.contact-section {
  background: radial-gradient(circle at 15% 20%, rgba(255, 74, 22, 0.18), transparent 30%), linear-gradient(135deg, #061c33 0%, #0a2b4c 100%);
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 25px rgba(6, 28, 51, 0.08);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px max(24px, calc((100% - 1180px) / 2));
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
}

.topbar__contact {
  direction: ltr;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  direction: ltr;
  text-align: left;
}

.brand__mark {
  width: 54px;
  height: 42px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange) 0 45%, var(--navy) 45% 100%);
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: -2px;
  font-size: 21px;
}

.brand__text strong {
  display: block;
  font-size: 17px;
  line-height: 1.05;
  letter-spacing: -0.2px;
}

.brand__text em {
  color: var(--orange);
  font-style: normal;
}

.brand__text small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  direction: rtl;
  text-align: right;
}

.navlinks {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  font-size: 14px;
  color: #21364c;
}

.navlinks a {
  position: relative;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.navlinks a:hover {
  color: var(--orange);
}

.navlinks a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--orange);
  transition: width 0.2s ease;
}

.navlinks a:hover::after {
  width: 100%;
}

.nav-toggle,
.hamburger {
  display: none;
}

.btn {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--orange), #ff6a22);
  color: #fff;
  box-shadow: 0 12px 25px rgba(255, 74, 22, 0.25);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--orange-dark), var(--orange));
}

.btn--outline {
  background: rgba(255, 255, 255, 0.7);
  color: var(--navy);
  border: 1px solid var(--navy);
  box-shadow: none;
}

.btn--full {
  width: 100%;
}

.hero {
  min-height: 680px;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 15% 20%, rgba(255, 74, 22, 0.12), transparent 24%), linear-gradient(135deg, #ffffff 0%, #f3f6fa 58%, #e6eef5 100%);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--orange);
  font-weight: 900;
  font-size: 14px;
}

.eyebrow--light {
  color: #ffb399;
}

.hero h1,
.section h2 {
  margin: 0;
  color: var(--navy);
  line-height: 1.45;
  letter-spacing: -0.8px;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 62px);
  max-width: 680px;
}

.hero p,
.lead {
  color: #40546a;
  font-size: 18px;
  max-width: 680px;
  margin: 18px 0 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 26px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 690px;
}

.trust-item {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 10px;
  font-weight: 800;
  font-size: 13px;
  text-align: center;
  color: #253b52;
  box-shadow: 0 8px 22px rgba(6, 28, 51, 0.05);
}

.trust-item span {
  display: block;
  color: var(--orange);
  font-size: 22px;
  margin-bottom: 3px;
}

.hero__visual {
  position: relative;
}

.visual-card {
  height: 450px;
  border: 1px solid #d9e2eb;
  border-radius: 34px;
  background: linear-gradient(145deg, #e2e8ef, #ffffff 55%, #d5dee8);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.visual-card::before {
  content: "";
  position: absolute;
  inset: 32px;
  border-radius: 28px;
  border: 1px solid rgba(6, 28, 51, 0.06);
}

.solid-block {
  position: absolute;
  width: 240px;
  height: 92px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff, #dfe7ee);
  box-shadow: 0 20px 35px rgba(6, 28, 51, 0.18);
  transform: skew(-10deg) rotate(-2deg);
}

.solid-block--one {
  top: 78px;
  right: 80px;
}

.solid-block--two {
  top: 155px;
  right: 130px;
}

.roll {
  position: absolute;
  left: 105px;
  top: 126px;
  width: 190px;
  height: 74px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 50%, #fff9de 0 18%, #c8ab6e 19% 31%, transparent 32%), linear-gradient(90deg, #ceb06f, #fff1c9, #be9b58);
  box-shadow: 0 18px 28px rgba(6, 28, 51, 0.22);
}

.pellets {
  position: absolute;
  bottom: 70px;
  right: 150px;
  display: flex;
  flex-wrap: wrap;
  width: 210px;
  gap: 7px;
  transform: rotate(-5deg);
}

.pellets i {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 5px 10px rgba(6, 28, 51, 0.22);
}

.bottle {
  position: absolute;
  background: #f7f8fa;
  border: 1px solid #bbc7d2;
  border-radius: 10px 10px 16px 16px;
  box-shadow: 0 16px 28px rgba(6, 28, 51, 0.16);
}

.bottle::before {
  content: "";
  position: absolute;
  top: -18px;
  right: 30%;
  width: 40%;
  height: 20px;
  border-radius: 8px 8px 0 0;
  background: #15181d;
}

.bottle span {
  position: absolute;
  top: 38%;
  right: 8px;
  left: 8px;
  padding: 6px 0;
  text-align: center;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  direction: ltr;
  line-height: 1.2;
}

.bottle--large {
  left: 88px;
  bottom: 64px;
  width: 72px;
  height: 122px;
}

.bottle--small {
  left: 28px;
  bottom: 60px;
  width: 52px;
  height: 92px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading--right {
  text-align: right;
  margin: 0;
}

.section h2 {
  font-size: clamp(28px, 3.4vw, 42px);
}

.section-heading p,
.section--dark p,
.contact-section p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.section--dark h2,
.contact-section h2,
.section--dark p,
.contact-section p {
  color: #fff;
}

.section--dark p,
.contact-section p {
  color: rgba(255, 255, 255, 0.78);
}

.cards-grid {
  display: grid;
  gap: 20px;
}

.cards-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.product-card {
  position: relative;
  padding: 30px 26px;
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 30px rgba(6, 28, 51, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.product-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--navy);
  color: #fff;
  font-size: 22px;
  margin-bottom: 18px;
}

.product-card h3,
.step-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 20px;
}

.product-card p,
.step-card p,
.mini-card span,
.info-row span,
.faq-list p {
  color: var(--muted);
  margin: 0;
  font-size: 15px;
}

.split-grid,
.curing-grid,
.why-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.info-list {
  display: grid;
  gap: 14px;
}

.info-row {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(6, 28, 51, 0.05);
}

.info-row strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
  color: var(--navy);
}

.curing-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.curing-points div {
  min-height: 130px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.curing-points span {
  display: block;
  color: #ffb399;
  font-weight: 900;
  margin-bottom: 20px;
}

.curing-points strong {
  display: block;
  font-size: 19px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step-card {
  padding: 26px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(6, 28, 51, 0.06);
}

.step-card span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--orange);
  font-weight: 900;
  margin-bottom: 18px;
}

.mini-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.mini-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.mini-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 18px;
}

.faq-wrap {
  max-width: 920px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 18px 22px;
  box-shadow: 0 8px 20px rgba(6, 28, 51, 0.04);
}

summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 900;
  font-size: 17px;
}

summary::marker {
  color: var(--orange);
}

.faq-list p {
  padding-top: 10px;
}

.contact-grid {
  grid-template-columns: 0.85fr 1.15fr;
}

.contact-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.5;
}

.contact-lines {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-lines a {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  direction: ltr;
  text-align: left;
}

.quote-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow);
}

.quote-form label {
  display: grid;
  gap: 6px;
  color: var(--navy);
  font-weight: 800;
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  outline: none;
  background: #f8fafc;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 74, 22, 0.1);
}

.footer {
  padding: 28px 0;
  background: #031423;
  color: #fff;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand--footer .brand__text small {
  color: rgba(255, 255, 255, 0.65);
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.mobile-sticky {
  display: none;
}

@media (max-width: 1024px) {
  .navbar {
    grid-template-columns: auto auto;
  }

  .navbar__cta,
  .navlinks {
    display: none;
  }

  .hamburger {
    justify-self: end;
    width: 42px;
    height: 42px;
    display: grid;
    place-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
  }

  .hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--navy);
    border-radius: 999px;
  }

  .nav-toggle:checked ~ .navlinks {
    position: absolute;
    top: 100%;
    right: 20px;
    left: 20px;
    display: grid;
    gap: 0;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .nav-toggle:checked ~ .navlinks a {
    padding: 13px 10px;
    border-bottom: 1px solid #eef2f6;
  }

  .hero__grid,
  .split-grid,
  .curing-grid,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .visual-card {
    height: 390px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .topbar {
    display: none;
  }

  .navbar {
    min-height: 72px;
    width: min(100% - 28px, 1180px);
  }

  .brand__mark {
    width: 48px;
    height: 38px;
  }

  .brand__text strong {
    font-size: 15px;
  }

  .hero {
    min-height: auto;
    padding: 42px 0 28px;
    text-align: right;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p,
  .lead,
  .section-heading p,
  .section--dark p,
  .contact-section p {
    font-size: 15px;
  }

  .hero__actions {
    display: grid;
  }

  .trust-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__grid {
    gap: 28px;
  }

  .visual-card {
    height: 300px;
    border-radius: 24px;
  }

  .solid-block {
    width: 155px;
    height: 62px;
  }

  .solid-block--one {
    top: 50px;
    right: 40px;
  }

  .solid-block--two {
    top: 100px;
    right: 70px;
  }

  .roll {
    left: 38px;
    top: 88px;
    width: 120px;
    height: 50px;
  }

  .pellets {
    right: 70px;
    bottom: 42px;
    width: 150px;
    gap: 5px;
  }

  .pellets i {
    width: 12px;
    height: 12px;
  }

  .bottle--large {
    left: 50px;
    bottom: 35px;
    width: 54px;
    height: 90px;
  }

  .bottle--small {
    left: 12px;
    bottom: 34px;
    width: 42px;
    height: 70px;
  }

  .section {
    padding: 58px 0;
  }

  .cards-grid--3,
  .steps,
  .mini-cards,
  .curing-points {
    grid-template-columns: 1fr;
  }

  .product-card,
  .step-card,
  .mini-card,
  .info-row {
    padding: 22px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .quote-form {
    padding: 20px;
  }

  .footer {
    padding-bottom: 92px;
  }

  .footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-sticky {
    position: fixed;
    right: 12px;
    left: 12px;
    bottom: 12px;
    z-index: 200;
    display: grid;
    grid-template-columns: 1fr 1fr 1.25fr;
    gap: 8px;
    padding: 8px;
    background: rgba(6, 28, 51, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(14px);
  }

  .mobile-sticky a {
    min-height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    font-weight: 800;
    font-size: 13px;
  }

  .mobile-sticky__main {
    background: var(--orange);
  }
}

/* WordPress helpers */
.admin-bar .site-header { top: 32px; }
.screen-reader-text { border:0; clip:rect(1px,1px,1px,1px); clip-path:inset(50%); height:1px; margin:-1px; overflow:hidden; padding:0; position:absolute; width:1px; word-wrap:normal!important; }
.wp-caption, .wp-caption-text, .gallery-caption, .bypostauthor { max-width: 100%; }
.form-notice { margin-top: 16px; padding: 12px 16px; border-radius: 14px; font-weight: 700; }
.form-notice--success { background: rgba(22, 163, 74, .12); color: #15803d; border: 1px solid rgba(22, 163, 74, .25); }
.form-notice--error { background: rgba(220, 38, 38, .12); color: #b91c1c; border: 1px solid rgba(220, 38, 38, .25); }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.visual-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  pointer-events: none;
  z-index: 2;
}

.visual-card__image {
  position: relative;
  z-index: 1;
}

.grades-intro__image {
  width: min(100%, 360px);
  height: 225px;
  margin: 0 0 24px auto;
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(12, 35, 64, 0.08);
  box-shadow:
          0 22px 55px rgba(12, 35, 64, 0.12),
          0 8px 22px rgba(255, 78, 20, 0.06);
}

.grades-intro__image::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  z-index: 2;
  pointer-events: none;
}

.grades-intro__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 30px;
  filter: contrast(1.02) saturate(1.03);
}